summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/perl5/module.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/lang/perl5/module.mk b/lang/perl5/module.mk
index 08e00bd3c6f..8751c7c2383 100644
--- a/lang/perl5/module.mk
+++ b/lang/perl5/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.10 2003/07/30 15:12:28 jmmv Exp $
+# $NetBSD: module.mk,v 1.11 2003/08/03 11:47:01 jmmv Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install perl5 modules.
@@ -46,11 +46,12 @@ perl5-configure:
done
.if defined(PERL5_CONFIGURE) && !empty(PERL5_CONFIGURE:M[yY][eE][sS])
+.if target(do-configure)
+do-configure: perl5-configure
+.else
do-configure: perl5-configure
-.if !commands(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.