ports/62422: devel/p5-Module-Build should use PERL_MODBUILD but can't
Mathieu Arnold
mat at FreeBSD.org
Fri Feb 6 12:30:15 UTC 2004
>Number: 62422
>Category: ports
>Synopsis: devel/p5-Module-Build should use PERL_MODBUILD but can't
>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: Fri Feb 06 04:30:10 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: Mathieu Arnold
>Release: FreeBSD 4.8-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.reaumur.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Sep 3 12:54:37 CEST 2003 root at aragorn.reaumur.absolight.net:/usr/src/sys/compile/ARAGORN i386
>Description:
devel/p5-Module-Build use itself to build, and needs to use PERL_MODBUILD to
build, but it can't because using PERL_MODBUILD always adds
devel/p5-Module-Build to the dependency list.
The other way is to dupplicate the code enabled by PERL_MODBUILD in
devel/p5-Module-Build Makefile
>How-To-Repeat:
>Fix:
This tests if it's building devel/p5-Module-Build, and if it is, does not add
the dependency.
--- m-b.diff begins here ---
Index: bsd.port.mk
===================================================================
RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v
retrieving revision 1.484
diff -u -u -r1.484 bsd.port.mk
--- bsd.port.mk 4 Feb 2004 04:27:04 -0000 1.484
+++ bsd.port.mk 6 Feb 2004 12:21:53 -0000
@@ -1733,7 +1733,9 @@
.if defined(PERL_MODBUILD)
PERL_CONFIGURE= yes
CONFIGURE_SCRIPT?= Build.PL
+.if ${PORTNAME} != Module-Build
BUILD_DEPENDS+= ${SITE_PERL}/Module/Build.pm:${PORTSDIR}/devel/p5-Module-Build
+.endif
ALL_TARGET?=
PL_BUILD?= Build
CONFIGURE_ARGS+= \
--- m-b.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list