diff options
author | sada <sada@FreeBSD.org> | 1998-11-23 06:45:16 +0800 |
---|---|---|
committer | sada <sada@FreeBSD.org> | 1998-11-23 06:45:16 +0800 |
commit | 7aa506a97541dc24286af86e5c9bd6ae025c2dd3 (patch) | |
tree | c74b7738cc3dd3e16662d0e2e32788066fadbf23 /print | |
parent | 3a93aa1cd72392a879be39fdcfb9e3b2c23aae3d (diff) | |
download | freebsd-ports-gnome-7aa506a97541dc24286af86e5c9bd6ae025c2dd3.tar.gz freebsd-ports-gnome-7aa506a97541dc24286af86e5c9bd6ae025c2dd3.tar.zst freebsd-ports-gnome-7aa506a97541dc24286af86e5c9bd6ae025c2dd3.zip |
Make port's Makefile to pass $PERL5 to the scripts/pre-configure,
that installed `html2ps' script would execute true path of Perl5,
even on the FreeBSD-CUREENT system.
Diffstat (limited to 'print')
-rw-r--r-- | print/html2ps-a4/Makefile | 3 | ||||
-rw-r--r-- | print/html2ps-letter/Makefile | 3 | ||||
-rw-r--r-- | print/html2ps-letter/scripts/pre-configure | 4 |
3 files changed, 6 insertions, 4 deletions
diff --git a/print/html2ps-a4/Makefile b/print/html2ps-a4/Makefile index bbe1f5e29a5a..e74815e8aa53 100644 --- a/print/html2ps-a4/Makefile +++ b/print/html2ps-a4/Makefile @@ -3,7 +3,7 @@ # Date created: Sat Nov 22 12:54:50 CET 1997 # Whom: andreas # -# $Id: Makefile,v 1.3 1998/09/15 21:31:51 asami Exp $ +# $Id: Makefile,v 1.4 1998/10/20 01:45:48 steve Exp $ # DISTNAME= html2ps-1.0b1 @@ -28,6 +28,7 @@ IS_INTERACTIVE= YES MAN1= html2ps.1 MAN5= html2psrc.5 +SCRIPTS_ENV+= PERL5=${PERL5} do-install: @cd ${WRKSRC}; ${PERL5} install diff --git a/print/html2ps-letter/Makefile b/print/html2ps-letter/Makefile index bbe1f5e29a5a..e74815e8aa53 100644 --- a/print/html2ps-letter/Makefile +++ b/print/html2ps-letter/Makefile @@ -3,7 +3,7 @@ # Date created: Sat Nov 22 12:54:50 CET 1997 # Whom: andreas # -# $Id: Makefile,v 1.3 1998/09/15 21:31:51 asami Exp $ +# $Id: Makefile,v 1.4 1998/10/20 01:45:48 steve Exp $ # DISTNAME= html2ps-1.0b1 @@ -28,6 +28,7 @@ IS_INTERACTIVE= YES MAN1= html2ps.1 MAN5= html2psrc.5 +SCRIPTS_ENV+= PERL5=${PERL5} do-install: @cd ${WRKSRC}; ${PERL5} install diff --git a/print/html2ps-letter/scripts/pre-configure b/print/html2ps-letter/scripts/pre-configure index 8bf76ba2a7e0..d4c30205fbec 100644 --- a/print/html2ps-letter/scripts/pre-configure +++ b/print/html2ps-letter/scripts/pre-configure @@ -1,7 +1,7 @@ #! /bin/sh perl -pi -e "s=!!PREFIX!!=$PREFIX=" ${WRKSRC}/install -perl -pi -e "s=!!PERL5!!=/usr/local/bin/perl=" ${WRKSRC}/install -perl -pi -e "s=!!PERL5!!=/usr/local/bin/perl=" ${WRKSRC}/html2ps +perl -pi -e "s=!!PERL5!!=$PERL5=" ${WRKSRC}/install +perl -pi -e "s=!!PERL5!!=$PERL5=" ${WRKSRC}/html2ps exit 0 |