diff options
author | agc <agc@pkgsrc.org> | 1999-04-06 15:42:55 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-04-06 15:42:55 +0000 |
commit | 1bd56846b5e5abe4c220827f7a17d66179fde81d (patch) | |
tree | e8254e0a9c5454cda8dd0d5e0c8473c9ffcd2eff | |
parent | 66552ba6d8470f131b6a143449d14fd10292412b (diff) | |
download | pkgsrc-1bd56846b5e5abe4c220827f7a17d66179fde81d.tar.gz |
Make this work on Solaris.
-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" |