diff options
author | skrll <skrll> | 2000-12-31 12:21:07 +0000 |
---|---|---|
committer | skrll <skrll> | 2000-12-31 12:21:07 +0000 |
commit | dbb6ebce8baa895fe54beb62c3a0e60be525e8fd (patch) | |
tree | 084755e4f979f5e2ed9ec860510ca0307adf1f03 | |
parent | 8a240e9ddf2cf1d17fbbbb690d18e9e409b5e082 (diff) | |
download | pkgsrc-dbb6ebce8baa895fe54beb62c3a0e60be525e8fd.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].
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
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 |