pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Rename NO_CONFIGURE_INFODIR to CONFIGURE_HAS_INFODIR (...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f905b5e03764
branches:  trunk
changeset: 474994:f905b5e03764
user:      reed <reed%pkgsrc.org@localhost>
date:      Sat May 08 16:14:55 2004 +0000

description:
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:

 devel/m4/Makefile           |  4 ++--
 editors/ed/Makefile         |  4 ++--
 mk/bsd.pkg.mk               |  5 +++--
 sysutils/findutils/Makefile |  4 ++--
 4 files changed, 9 insertions(+), 8 deletions(-)

diffs (73 lines):

diff -r 81c4006a756a -r f905b5e03764 devel/m4/Makefile
--- a/devel/m4/Makefile Sat May 08 15:41:51 2004 +0000
+++ b/devel/m4/Makefile Sat May 08 16:14:55 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2004/05/08 02:08:38 reed Exp $
+# $NetBSD: Makefile,v 1.28 2004/05/08 16:14:55 reed Exp $
 #
 
 DISTNAME=      m4-1.4
@@ -14,7 +14,7 @@
 
 USE_BUILDLINK3=                yes
 GNU_CONFIGURE=         yes
-NO_CONFIGURE_INFODIR=  yes
+CONFIGURE_HAS_INFODIR= no
 MAKE_ENV+=             INFO_DIR=${INFO_DIR}
 INFO_FILES=            m4.info
 USE_MAKEINFO=          yes
diff -r 81c4006a756a -r f905b5e03764 editors/ed/Makefile
--- a/editors/ed/Makefile       Sat May 08 15:41:51 2004 +0000
+++ b/editors/ed/Makefile       Sat May 08 16:14:55 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/05/08 02:08:38 reed Exp $
+# $NetBSD: Makefile,v 1.5 2004/05/08 16:14:55 reed Exp $
 
 DISTNAME=              ed-0.2
 PKGREVISION=           1
@@ -10,7 +10,7 @@
 COMMENT=               GNU version of line-oriented text editor
 
 GNU_CONFIGURE=         YES
-NO_CONFIGURE_INFODIR=  YES
+CONFIGURE_HAS_INFODIR= NO
 MAKE_ENV+=             INFO_DIR=${INFO_DIR}
 
 .include "../../mk/bsd.prefs.mk"
diff -r 81c4006a756a -r f905b5e03764 mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Sat May 08 15:41:51 2004 +0000
+++ b/mk/bsd.pkg.mk     Sat May 08 16:14:55 2004 +0000
@@ -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 @@
 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
 #
diff -r 81c4006a756a -r f905b5e03764 sysutils/findutils/Makefile
--- a/sysutils/findutils/Makefile       Sat May 08 15:41:51 2004 +0000
+++ b/sysutils/findutils/Makefile       Sat May 08 16:14:55 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2004/05/08 02:08:38 reed Exp $
+# $NetBSD: Makefile,v 1.15 2004/05/08 16:14:55 reed Exp $
 
 DISTNAME=      findutils-4.1
 PKGREVISION=   3
@@ -11,7 +11,7 @@
 
 USE_BUILDLINK3=                YES
 GNU_CONFIGURE=         YES
-NO_CONFIGURE_INFODIR=  YES
+CONFIGURE_HAS_INFODIR= NO
 MAKE_ENV+=             INFO_DIR=${INFO_DIR}
 
 INFO_FILES=            find.info



Home | Main Index | Thread Index | Old Index