ports/84814: Fix ports/print/psutils tu use the correct PERL interpreter
Carlos A M dos Santos
casantos at urisan.tche.br
Thu Aug 11 18:50:09 UTC 2005
>Number: 84814
>Category: ports
>Synopsis: Fix ports/print/psutils tu use the correct PERL interpreter
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Aug 11 18:50:05 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Carlos A M dos Santos
>Release: FreeBSD 5.4-RELEASE i386
>Organization:
Universidade Regional Integrada
>Environment:
System: FreeBSD sophia.inf.urisan 5.4-RELEASE FreeBSD 5.4-RELEASE #1: Mon May 16 01:34:41 BRT 2005 root at avatar.casantos.org:/share/FreeBSD/5.4-RELEASE/src/sys/i386/compile/A7N266-VM i386
>Description:
The "configure" script of the print/psutils-letter port assumes that
the PERL interpreter is /usr/bin/perl. That is true for FreeBSD 4.X
but not for 5.X. The attached patch modifies the script to find the
interpreter at build time.
>How-To-Repeat:
Try to build ports/print/psutils-letter or ports/print/psutils-a4 in
FreeBSD 5.4.
>Fix:
Apply the attached patch.
--- ports::print::psutils-letter.patch begins here ---
diff -durP ports.orig/print/psutils-letter/scripts/configure ports/print/psutils-letter/scripts/configure
--- ports.orig/print/psutils-letter/scripts/configure Thu Aug 1 21:13:49 1996
+++ ports/print/psutils-letter/scripts/configure Thu Aug 11 15:26:04 2005
@@ -5,7 +5,7 @@
BINDIR = $PREFIX/bin
INCLUDEDIR = $PREFIX/share/psutils
MANDIR =$PREFIX/man/man1
-PERL = /usr/bin/perl
+PERL = `which perl`
CC=cc
END
exit 0
--- ports::print::psutils-letter.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list