summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2003-08-03 11:47:01 +0000
committerjmmv <jmmv@pkgsrc.org>2003-08-03 11:47:01 +0000
commit9561b342dd349838b94abc257cf5fd7d1ae8c6eb (patch)
tree4f3b96276c916ebe1076f4cec1267f8a043d896e /lang
parent3e036f5a5348ad5d09cfb281b26422e1fa8c75b6 (diff)
downloadpkgsrc-9561b342dd349838b94abc257cf5fd7d1ae8c6eb.tar.gz
Go back to the 'target' conditional. 'commands' fails on the 1.5 branch,
according to private mail by Thorsten Frueauf.
Diffstat (limited to 'lang')
-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.