diff options
author | tron <tron@pkgsrc.org> | 2000-08-23 14:43:26 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2000-08-23 14:43:26 +0000 |
commit | 8ddefde501ddfd7eee455991d997dd54318aa78e (patch) | |
tree | 4ddd1fe1bf9832fbe746ba41bfdd9a12f8ce13f0 /x11 | |
parent | aeb5bf7bcebcdaa00b289b08d1702c8e2921f248 (diff) | |
download | pkgsrc-8ddefde501ddfd7eee455991d997dd54318aa78e.tar.gz |
Use "#!${LOCALBASE}/bin/perl" instead of "#!/usr/bin/perl" in perl scripts.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/gnome-core/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/x11/gnome-core/Makefile b/x11/gnome-core/Makefile index f9635dafcf0..ade0c30084c 100644 --- a/x11/gnome-core/Makefile +++ b/x11/gnome-core/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.47 2000/07/31 10:41:55 jlam Exp $ +# $NetBSD: Makefile,v 1.48 2000/08/23 14:43:26 tron Exp $ DISTNAME= gnome-core-1.2.1 CATEGORIES= x11 gnome @@ -32,6 +32,16 @@ CONFIGURE_ENV+= ESD_CFLAGS="${ESD_CFLAGS}" \ LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} \ CPPFLAGS="${CPPFLAGS}" +PERL_SCRIPTS= help-browser/gnome-convert help-browser/gnome-download + +post-patch: + cd ${WRKSRC}; \ + for FILE in ${PERL_SCRIPTS}; do \ + ${CP} $$FILE $${FILE}.orig; \ + ${SED} -e 's#/usr/bin/perl#${LOCALBASE}/bin/perl#g' \ + <$${FILE}.orig >$$FILE; \ + done + post-install: for lang in C da es it no; do \ ${RMDIR} ${PREFIX}/share/gnome/help/gnome-terminal/$${lang}/figures; \ |