Date: Thu, 26 Feb 2004 07:19:22 -0800 (PST) From: Adam Weinberger <adamw@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/63394: USE_PERL{,-BUILD} prevents perl usage in patching Message-ID: <200402261519.i1QFJM4Y034390@freefall.freebsd.org> Resent-Message-ID: <200402261520.i1QFKK0V034534@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63394 >Category: ports >Synopsis: USE_PERL{,-BUILD} prevents perl usage in patching >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Feb 26 07:20:20 PST 2004 >Closed-Date: >Last-Modified: >Originator: Adam Weinberger >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD freefall.freebsd.org 4.9-STABLE FreeBSD 4.9-STABLE #11: Thu Feb 5 19:43:44 PST 2004 kensmith@freefall.freebsd.org:/c/src/sys/compile/FREEFALL i386 >Description: USE_PERL5_BUILD (and therefore USE_PERL5) add perl as a BUILD_DEPENDS. However, ports using perl in patch/configure is common and, in some cases, necessary for situations where sed just won't cut it. USE_PERL5_BUILD's dependency should be a PATCH_DEPENDS, not a BUILD_DEPENDS. For example, devel/doxygen will fail to build if installed from a completely clean (i.e. ports-less) -current system. doxygen is a requirement of m4, which is a requirement of many other ports. >How-To-Repeat: >Fix: --- perl_port.mk.diff begins here --- Index: bsd.port.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v retrieving revision 1.484 diff -u -r1.484 bsd.port.mk --- bsd.port.mk 4 Feb 2004 04:27:04 -0000 1.484 +++ bsd.port.mk 26 Feb 2004 15:12:39 -0000 @@ -1759,7 +1759,7 @@ .endif .else .if defined(USE_PERL5) || defined(USE_PERL5_BUILD) -BUILD_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT} +PATCH_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT} .endif .if defined(USE_PERL5) || defined(USE_PERL5_RUN) RUN_DEPENDS+= ${PERL5}:${PORTSDIR}/lang/${PERL_PORT} --- perl_port.mk.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402261519.i1QFJM4Y034390>