diff options
author | agc <agc> | 1999-04-06 15:42:55 +0000 |
---|---|---|
committer | agc <agc> | 1999-04-06 15:42:55 +0000 |
commit | 8adbf01a08ae06e4398747eb2931b353ab17ee48 (patch) | |
tree | e8254e0a9c5454cda8dd0d5e0c8473c9ffcd2eff /devel/gettext | |
parent | fae3eb418f0fffde7a89d1f6b5c511ab32866fa9 (diff) | |
download | pkgsrc-8adbf01a08ae06e4398747eb2931b353ab17ee48.tar.gz |
Make this work on Solaris.
Diffstat (limited to 'devel/gettext')
-rw-r--r-- | devel/gettext/Makefile | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile index 9ec4233fb3b..0b9dc680416 100644 --- a/devel/gettext/Makefile +++ b/devel/gettext/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 1999/03/12 21:05:56 tron Exp $ +# $NetBSD: Makefile,v 1.9 1999/04/06 15:42:55 agc Exp $ # FreeBSD Id: Makefile,v 1.1.1.1 1998/08/09 15:13:33 kuriyama Exp # @@ -14,4 +14,18 @@ CONFIGURE_ENV+= INSTALL_SCRIPT="${INSTALL_SCRIPT}" INFO_FILES= gettext.info +.include "../../mk/bsd.prefs.mk" + +# The install target in intl/Makefile has a comment whereby libintl.a +# and libintl.h should not be installed on systems which have gettext() +# function in their libc + +.if ${OPSYS} == "SunOS" +PLIST_SRC= ${WRKDIR}/PLIST-src + +post-install: + ${SED} -e '/^include\/libintl\.h$$/d' -e '/^lib\/libintl\.a$$/d' \ + ${PKGDIR}/PLIST > ${PLIST_SRC} +.endif # SunOS + .include "../../mk/bsd.pkg.mk" |