pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/erlang Replace "/usr/bin/env" interpreter to comp...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c787437ef830
branches: trunk
changeset: 588027:c787437ef830
user: asau <asau%pkgsrc.org@localhost>
date: Mon Apr 25 20:58:24 2011 +0000
description:
Replace "/usr/bin/env" interpreter to comply with stricter rules.
diffstat:
lang/erlang/Makefile | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diffs (31 lines):
diff -r 4de72356aeba -r c787437ef830 lang/erlang/Makefile
--- a/lang/erlang/Makefile Mon Apr 25 14:48:28 2011 +0000
+++ b/lang/erlang/Makefile Mon Apr 25 20:58:24 2011 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.46 2011/04/14 19:34:07 asau Exp $
+# $NetBSD: Makefile,v 1.47 2011/04/25 20:58:24 asau Exp $
DISTNAME= otp_src_${DIST_VERSION_MAJOR}${DIST_VERSION_MINOR:D-${DIST_VERSION_MINOR}}
PKGNAME= erlang-${ERLANG_VERSION}
+PKGREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://www.erlang.org/download/
@@ -27,6 +28,17 @@
MAKE_ENV+= DESTDIR=${DESTDIR}
+REPLACE_INTERPRETER+= escript
+REPLACE.escript.old= .*escript
+REPLACE.escript.new= ${LOCALBASE}/bin/escript
+REPLACE_FILES.escript= \
+ lib/reltool/examples/display_args \
+ lib/reltool/examples/mnesia_core_dump_viewer \
+ lib/snmp/src/compile/snmpc.src \
+ lib/erl_docgen/priv/bin/codeline_preprocessing.escript \
+ lib/erl_docgen/priv/bin/xml_from_edoc.escript \
+ lib/snmp/bin/snmpc
+
SUBST_CLASSES+= target
SUBST_STAGE.target= post-patch
SUBST_FILES.target= make/target.mk
Home |
Main Index |
Thread Index |
Old Index