diff options
author | agc <agc> | 2001-11-21 12:58:15 +0000 |
---|---|---|
committer | agc <agc> | 2001-11-21 12:58:15 +0000 |
commit | 52e0854f72ec180ccc263b995540fcce7d763b3f (patch) | |
tree | 87844797464099244a6acea3276765b1b963a5bb /mk | |
parent | a7ef36e0c70f7744ac6a1449b14bf1eea82453c0 (diff) | |
download | pkgsrc-52e0854f72ec180ccc263b995540fcce7d763b3f.tar.gz |
Add a _DO_LIBINTL_CHECKS definition to the individual defs,${OPSYS}.mk
files, and use it in bsd.pkg.mk. If set to "yes", checks that a valid
libintl library and header file should be performed.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 | ||||
-rw-r--r-- | mk/defs.Darwin.mk | 3 | ||||
-rw-r--r-- | mk/defs.Linux.mk | 3 | ||||
-rw-r--r-- | mk/defs.NetBSD.mk | 3 | ||||
-rw-r--r-- | mk/defs.SunOS.mk | 3 |
5 files changed, 10 insertions, 6 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 94e56fbf2b7..a29571ff14b 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.853 2001/11/21 12:53:04 agc Exp $ +# $NetBSD: bsd.pkg.mk,v 1.854 2001/11/21 12:58:15 agc Exp $ # # This file is in the public domain. # @@ -243,7 +243,7 @@ DEPENDS+= gtexinfo-3.12:../../devel/gtexinfo # -lintl in CONFIGURE_ENV is to workaround broken gettext.m4 # (gettext.m4 does not add -lintl where it should, and fails to detect # if libintl.a is genuine GNU gettext or not). -.if ${OPSYS} != "Linux" +.if ${_DO_LIBINTL_CHECKS} == "yes" . if defined(USE_LIBINTL) . if exists(/usr/include/libintl.h) . if defined(GNU_CONFIGURE) diff --git a/mk/defs.Darwin.mk b/mk/defs.Darwin.mk index 21e96eea8f8..686b95ec3af 100644 --- a/mk/defs.Darwin.mk +++ b/mk/defs.Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Darwin.mk,v 1.6 2001/11/21 12:53:05 agc Exp $ +# $NetBSD: defs.Darwin.mk,v 1.7 2001/11/21 12:58:16 agc Exp $ # # Variable definitions for the Darwin operating system. @@ -59,4 +59,5 @@ USERADD?= ${FALSE} # XXX - Fix me! ROOT_USER?= root ROOT_GROUP?= wheel +_DO_LIBINTL_CHECKS= yes # perform checks for valid libintl _IMAKE_MAKE= ${MAKE} # program which gets invoked by imake diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk index 70ffc693a20..94ef470fe87 100644 --- a/mk/defs.Linux.mk +++ b/mk/defs.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Linux.mk,v 1.12 2001/11/21 12:53:05 agc Exp $ +# $NetBSD: defs.Linux.mk,v 1.13 2001/11/21 12:58:16 agc Exp $ # # Variable definitions for the Linux operating system. @@ -63,4 +63,5 @@ USERADD?= /usr/sbin/useradd ROOT_USER?= root ROOT_GROUP?= wheel +_DO_LIBINTL_CHECKS= no # perform checks for valid libintl _IMAKE_MAKE= ${MAKE} # program which gets invoked by imake diff --git a/mk/defs.NetBSD.mk b/mk/defs.NetBSD.mk index 81dfefdcd6b..cadb1b6d489 100644 --- a/mk/defs.NetBSD.mk +++ b/mk/defs.NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.NetBSD.mk,v 1.10 2001/11/21 12:53:05 agc Exp $ +# $NetBSD: defs.NetBSD.mk,v 1.11 2001/11/21 12:58:16 agc Exp $ # # Variable definitions for the NetBSD operating system. @@ -68,4 +68,5 @@ NOLOGIN?= /sbin/nologin ROOT_USER?= root ROOT_GROUP?= wheel +_DO_LIBINTL_CHECKS= yes # perform checks for valid libintl _IMAKE_MAKE= ${MAKE} # program which gets invoked by imake diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk index 7a5c3f147a7..94c95087859 100644 --- a/mk/defs.SunOS.mk +++ b/mk/defs.SunOS.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.SunOS.mk,v 1.9 2001/11/21 12:53:05 agc Exp $ +# $NetBSD: defs.SunOS.mk,v 1.10 2001/11/21 12:58:16 agc Exp $ # # Variable definitions for the SunOS/Solaris operating system. @@ -70,4 +70,5 @@ USERADD?= /usr/sbin/useradd ROOT_USER?= root ROOT_GROUP?= root +_DO_LIBINTL_CHECKS= yes # perform checks for valid libintl _IMAKE_MAKE= /usr/ccs/bin/make # program which gets invoked by imake |