diff options
Diffstat (limited to 'lang/perl5/Makefile')
-rw-r--r-- | lang/perl5/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index 2f0bc80a5e3..582c75c4504 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.25 2000/01/17 03:07:09 christos Exp $ +# $NetBSD: Makefile,v 1.26 2000/01/18 17:11:50 jlam Exp $ # FreeBSD Id: Makefile,v 1.20 1997/07/18 06:16:44 markm Exp # @@ -21,6 +21,16 @@ MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC} .include "../../mk/bsd.prefs.mk" +PLIST_SOURCES= ${PKGDIR}/PLIST-mi +.if defined(NOPIC) +PLIST_SOURCES+= ${PKGDIR}/PLIST-md.static +.else +PLIST_SOURCES+= ${PKGDIR}/PLIST-md.shared \ + ${PKGDIR}/PLIST-md-${OBJECT_FMT}.shared +.endif +PLIST_SOURCES+= ${PKGDIR}/PLIST.dirrm +PLIST_SRC= ${PLIST_SOURCES} + .if ${OPSYS} == "SunOS" PLIST_SRC= ${WRKDIR}/.PLIST_SRC MAKE_ENV+= CFLAGS= @@ -33,8 +43,7 @@ post-install: @strip ${PREFIX}/bin/a2p @strip ${PREFIX}/bin/perl .if ${OPSYS} == "SunOS" - ${CAT} ${PKGDIR}/PLIST-mi ${PKGDIR}/PLIST-md.shared | \ - ${EGREP} -v 'DB_File' > ${PLIST_SRC} + ${CAT} ${PLIST_SOURCES} | ${EGREP} -v 'DB_File' > ${PLIST_SRC} .endif .include "../../mk/bsd.pkg.mk" |