summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-07-22 23:44:46 +0000
committerjmmv <jmmv@pkgsrc.org>2003-07-22 23:44:46 +0000
commit3cd568e4b73e2ec89310d95cb183c830be148ca9 (patch)
tree57a61a8fc91e3180f89d0c2bd72a2c6ac092bfc8 /lang
parent3ae209b0ffe21dd1e3a39689f3e8801f85980c7c (diff)
downloadpkgsrc-3cd568e4b73e2ec89310d95cb183c830be148ca9.tar.gz
Let a package override the contents of the do-configure target, if needed.
Closes PR pkg/21111 by Todd Vierling.
Diffstat (limited to 'lang')
-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.