summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-07-22 23:44:46 +0000
committerjmmv <jmmv>2003-07-22 23:44:46 +0000
commit85b867fa15e2ea03a322b0487a88d32817d66dab (patch)
tree57a61a8fc91e3180f89d0c2bd72a2c6ac092bfc8
parentfd5db873ff4198e7e76c49624d8781bbe7badaea (diff)
downloadpkgsrc-85b867fa15e2ea03a322b0487a88d32817d66dab.tar.gz
Let a package override the contents of the do-configure target, if needed.
Closes PR pkg/21111 by Todd Vierling.
-rw-r--r--lang/perl5/module.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/perl5/module.mk b/lang/perl5/module.mk
index 39070fc6a32..79b4d4de727 100644
--- a/lang/perl5/module.mk
+++ b/lang/perl5/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.8 2003/03/14 19:37:43 jlam Exp $
+# $NetBSD: module.mk,v 1.9 2003/07/22 23:44:46 jmmv Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install perl5 modules.
@@ -47,8 +47,10 @@ perl5-configure:
.if defined(PERL5_CONFIGURE) && !empty(PERL5_CONFIGURE:M[yY][eE][sS])
do-configure: perl5-configure
+.if !target(do-configure)
${_PKG_SILENT}${_PKG_DEBUG}${DO_NADA}
.endif
+.endif
# OTHERLDFLAGS is the hook provided by the perl5 MakeMaker module to allow
# customizing the LDFLAGS passed to the compiler/linker.