Date: Thu, 11 Aug 2005 15:42:30 -0300 From: Carlos A M dos Santos <casantos@urisan.tche.br> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/84814: Fix ports/print/psutils tu use the correct PERL interpreter Message-ID: <200508111824.j7BIO6328082@gama-rt.urisan.tche.br> Resent-Message-ID: <200508111850.j7BIo6U6056786@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200508111824.j7BIO6328082>