summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2005-08-19 13:47:26 +0000
committerschmonz <schmonz@pkgsrc.org>2005-08-19 13:47:26 +0000
commita527ce3465f58bb14790fb0ffd5d0f0f28a3fce2 (patch)
tree691dfaf79ca034c5991a8284b4120a02f9abeb5c /mk
parent4dd45c8301cb6c962f25d49fdca87917c4b3bb1b (diff)
downloadpkgsrc-a527ce3465f58bb14790fb0ffd5d0f0f28a3fce2.tar.gz
Skip the configure stage if NO_CONFIGURE is defined (useful for
djbware without conf-* files).
Diffstat (limited to 'mk')
-rw-r--r--mk/djbware.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/djbware.mk b/mk/djbware.mk
index 91219a9fabf..8597b8d367c 100644
--- a/mk/djbware.mk
+++ b/mk/djbware.mk
@@ -1,4 +1,4 @@
-# $NetBSD: djbware.mk,v 1.7 2005/08/19 04:44:09 schmonz Exp $
+# $NetBSD: djbware.mk,v 1.8 2005/08/19 13:47:26 schmonz Exp $
#
# Makefile fragment for packages with djb-style build machinery
#
@@ -44,7 +44,7 @@ NO_BIN_ON_FTP= ${RESTRICTED}
BUILD_TARGET?= it ${DJB_BUILD_TARGETS}
INSTALL_TARGET?= setup check ${DJB_INSTALL_TARGETS}
-.if !target(do-configure)
+.if !defined(NO_CONFIGURE) && !target(do-configure)
do-configure:
${_PKG_SILENT}${_PKG_DEBUG}cd ${WRKSRC}; \
for i in conf-*; do ${CP} $${i} $${i}.orig_dist; done; \