diff options
author | asau <asau@pkgsrc.org> | 2011-04-25 20:58:24 +0000 |
---|---|---|
committer | asau <asau@pkgsrc.org> | 2011-04-25 20:58:24 +0000 |
commit | da4c2a8e7b3c83eecab9b7f01bfafc5a0e487e38 (patch) | |
tree | 472edd2ec749f012988d04cd57e76099116e1356 /lang/erlang | |
parent | d43072bcdc292b10cba8e5c9aaa2f818fe92275f (diff) | |
download | pkgsrc-da4c2a8e7b3c83eecab9b7f01bfafc5a0e487e38.tar.gz |
Replace "/usr/bin/env" interpreter to comply with stricter rules.
Diffstat (limited to 'lang/erlang')
-rw-r--r-- | lang/erlang/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 4e7ae8c6741..257fc09f47e 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -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 @@ CONFIGURE_ARGS+= --enable-threads 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 |