summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorskrll <skrll>2000-12-31 12:21:07 +0000
committerskrll <skrll>2000-12-31 12:21:07 +0000
commit0d35ed5b13bbd9e9943c1d917c3347d7f809baaf (patch)
tree084755e4f979f5e2ed9ec860510ca0307adf1f03 /mk
parent43548086241e35d3e93ad250030c484b4bc61c83 (diff)
downloadpkgsrc-0d35ed5b13bbd9e9943c1d917c3347d7f809baaf.tar.gz
Fix handling of SHLIB_HANDLING=NO. That is neither stage of do-shlib-
handling should be performed. This fixes the build problems for emulators/compat1[23].
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 3f4125183f2..31b38748b76 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.631 2000/12/30 11:19:04 hubertf Exp $
+# $NetBSD: bsd.pkg.mk,v 1.632 2000/12/31 12:21:07 skrll Exp $
#
# This file is in the public domain.
#
@@ -1728,10 +1728,8 @@ real-su-install:
done; \
fi
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
-.if ${SHLIB_HANDLING} == "YES"
${_PKG_SILENT}${_PKG_DEBUG}\
${MAKE} ${MAKEFLAGS} do-shlib-handling SHLIB_PLIST_MODE=0
-.endif # SHLIB_HANDLING == "YES"
.endif # OPSYS == "NetBSD" || OPSYS == "SunOS"
.ifdef MESSAGE_FILE
@${ECHO_MSG} "${_PKGSRC_IN}> Please note the following:"
@@ -1763,6 +1761,7 @@ real-su-install:
# real-su-install
#
do-shlib-handling:
+.if ${SHLIB_HANDLING} == "YES"
${_PKG_SILENT}${_PKG_DEBUG} \
sos=`${EGREP} -h -x '.*/lib[^/]+\.so\.[0-9]+(\.[0-9]+)+' ${PLIST} || ${TRUE}`; \
if [ "$$sos" != "" ]; then \
@@ -1862,6 +1861,7 @@ do-shlib-handling:
;; \
esac; \
fi
+.endif # SHLIB_HANDLING == "YES"
# Check if all binaries and shlibs find their needed libs