summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorreed <reed@pkgsrc.org>2004-05-08 16:14:55 +0000
committerreed <reed@pkgsrc.org>2004-05-08 16:14:55 +0000
commit91e9b985e1768eddfbcf1cca3bafe92d66fb53d9 (patch)
tree7ebdb4744dc613cfca0c95a7f2fd96626a43a3d7 /mk
parent311a30823878b9bfa175c718f561bc982b12b93d (diff)
downloadpkgsrc-91e9b985e1768eddfbcf1cca3bafe92d66fb53d9.tar.gz
Rename NO_CONFIGURE_INFODIR to CONFIGURE_HAS_INFODIR (which defaults to
"yes"). So any packages that have old GNU configure script that does not support --infodir option (while using INFO_FILES) can set CONFIGURE_HAS_INFODIR=NO. This was suggested by agc@ as a clearer definition.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 3fbc13a36a5..b36db844761 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.1455 2004/05/08 02:13:00 reed Exp $
+# $NetBSD: bsd.pkg.mk,v 1.1456 2004/05/08 16:14:55 reed Exp $
#
# This file is in the public domain.
#
@@ -1305,7 +1305,8 @@ HAS_CONFIGURE= yes
CONFIGURE_ARGS+= --x-includes=${X11BASE}/include
CONFIGURE_ARGS+= --x-libraries=${X11BASE}/lib
. endif
-. if !empty(INFO_FILES) && !defined(NO_CONFIGURE_INFODIR)
+CONFIGURE_HAS_INFODIR?= yes
+. if !empty(INFO_FILES) && !empty(CONFIGURE_HAS_INFODIR:M[yY][eE][sS])
CONFIGURE_ARGS+= --infodir=${PREFIX}/${INFO_DIR}
. endif
#