aboutsummaryrefslogtreecommitdiff
path: root/print/psutils-letter
diff options
context:
space:
mode:
Diffstat (limited to 'print/psutils-letter')
-rw-r--r--print/psutils-letter/Makefile4
-rw-r--r--print/psutils-letter/scripts/configure2
2 files changed, 4 insertions, 2 deletions
diff --git a/print/psutils-letter/Makefile b/print/psutils-letter/Makefile
index 5198954fd0f9..294900a2a074 100644
--- a/print/psutils-letter/Makefile
+++ b/print/psutils-letter/Makefile
@@ -7,7 +7,7 @@
PORTNAME= psutils-${PAPERSIZE}
PORTVERSION= 1.17
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= print
MASTER_SITES= ftp://ftp.dcs.ed.ac.uk/pub/ajcd/ \
ftp://ftp.knackered.org/pub/psutils/
@@ -24,6 +24,8 @@ MAN1= psbook.1 psselect.1 pstops.1 epsffit.1 psnup.1 psresize.1 \
fixpspps.1 fixtpps.1 fixwfwps.1 fixwpps.1 fixwwps.1 \
extractres.1 includeres.1 fixscribeps.1 psmerge.1
+SCRIPTS_ENV+= PERL=${PERL}
+
.if !defined(PAPERSIZE)
PAPERSIZE=letter
PAPERSIZE_UNSPECIFIED= yes
diff --git a/print/psutils-letter/scripts/configure b/print/psutils-letter/scripts/configure
index c3293ce93704..18327c3d4415 100644
--- a/print/psutils-letter/scripts/configure
+++ b/print/psutils-letter/scripts/configure
@@ -5,7 +5,7 @@ cat >>Makefile<<END
BINDIR = $PREFIX/bin
INCLUDEDIR = $PREFIX/share/psutils
MANDIR =$PREFIX/man/man1
-PERL = /usr/bin/perl
+PERL = $PERL
CC=cc
END
exit 0