ports/63394: USE_PERL{,-BUILD} prevents perl usage in patching
Adam Weinberger
adamw at FreeBSD.org
Thu Feb 26 15:20:21 UTC 2004
>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 at 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:
More information about the freebsd-ports-bugs
mailing list