summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>1998-10-03 03:14:23 +0000
committertv <tv@pkgsrc.org>1998-10-03 03:14:23 +0000
commitada1e56cbff76c8cd88ff02d9f5300289fb85b17 (patch)
treef80a8aa5c7d033ad4afa40ee8540d58ac3090d6d /mk
parent4dbb0a649aa7112b6f27138e5ce5882e01c833a3 (diff)
downloadpkgsrc-ada1e56cbff76c8cd88ff02d9f5300289fb85b17.tar.gz
Use PLIST-md.shared on alpha and place an exception into perl's Makefile,
not into the generic bsd.pkg.mk.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk8
1 files changed, 3 insertions, 5 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index fd5313dc890..244401fd032 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.168 1998/10/02 14:49:33 tv Exp $
+# $NetBSD: bsd.pkg.mk,v 1.169 1998/10/03 03:14:23 tv Exp $
#
# This file is in the public domain.
#
@@ -1017,13 +1017,11 @@ PLIST_SRC= ${PKGDIR}/PLIST
exists(${PKGDIR}/PLIST-md.shared) && \
exists(${PKGDIR}/PLIST-md.static)
PLIST_SRC= ${PKGDIR}/PLIST-mi
-.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "mips" || ${MACHINE_ARCH} == "alpha"
-# XXX this is mostly for perl; alpha can be removed once perl knows
-# how to do dynamic loading - hubertf
+.if defined(NOPIC)
PLIST_SRC+= ${PKGDIR}/PLIST-md.static
.else
PLIST_SRC+= ${PKGDIR}/PLIST-md.shared
-.endif # powerpc || mips || alpha
+.endif # NOPIC
.else # no PLIST at all
PLIST_SRC=
.endif # ${PKGDIR}/PLIST