summaryrefslogtreecommitdiff
path: root/lang/perl5-current/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/perl5-current/Makefile')
-rw-r--r--lang/perl5-current/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/lang/perl5-current/Makefile b/lang/perl5-current/Makefile
index f43db416308..fa25c8916c1 100644
--- a/lang/perl5-current/Makefile
+++ b/lang/perl5-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2000/01/18 22:15:51 tron Exp $
+# $NetBSD: Makefile,v 1.2 2000/01/18 22:27:17 tron 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"