Make this work on Solaris.
This commit is contained in:
parent
66552ba6d8
commit
1bd56846b5
1 changed files with 15 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue