diff options
author | reed <reed@pkgsrc.org> | 2004-05-08 16:14:55 +0000 |
---|---|---|
committer | reed <reed@pkgsrc.org> | 2004-05-08 16:14:55 +0000 |
commit | ce652f5295bc58ddcf07a614b7f81dbcd5c0d0b7 (patch) | |
tree | 7ebdb4744dc613cfca0c95a7f2fd96626a43a3d7 /mk | |
parent | fb3e81bd83633b6a3cfeac72b5ad2c90d2f366a8 (diff) | |
download | pkgsrc-ce652f5295bc58ddcf07a614b7f81dbcd5c0d0b7.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.mk | 5 |
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 # |