diff options
author | jlam <jlam> | 2000-10-13 23:18:00 +0000 |
---|---|---|
committer | jlam <jlam> | 2000-10-13 23:18:00 +0000 |
commit | 0fcde44ab1856e337b8bdfc0d1e2359725f3d40b (patch) | |
tree | b1bc2c33e4ae53b110636a633c22151c22899e39 /mk/bsd.pkg.mk | |
parent | 2ec613e43946717370bb9a3eba1b7a4021f87e73 (diff) | |
download | pkgsrc-0fcde44ab1856e337b8bdfc0d1e2359725f3d40b.tar.gz |
Add knob (SHLIB_HANDLING=YES/NO) for packages to specify if they want
the automatic shared library handling performed during a "make install".
Defaults to "YES".
This is part of a fix for PR#9011.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 8222af5a7f3..68eee410c55 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.584 2000/10/12 19:05:02 skrll Exp $ +# $NetBSD: bsd.pkg.mk,v 1.585 2000/10/13 23:18:00 jlam Exp $ # # This file is in the public domain. # @@ -39,6 +39,7 @@ CLEANDEPENDS?= NO DEINSTALLDEPENDS?= NO # add -R to pkg_delete REINSTALL?= NO # reinstall upon update CHECK_SHLIBS?= YES # run check-shlibs after install +SHLIB_HANDLING?= YES # do automatic ELF shared lib handling NOCLEAN?= NO # don't clean up after update LOCALBASE?= ${DESTDIR}/usr/local @@ -1698,6 +1699,7 @@ root-install: done; \ fi .if ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS" +.if ${SHLIB_HANDLING} == "YES" ${_PKG_SILENT}${_PKG_DEBUG} \ sos=`${EGREP} -h -x '.*/lib[^/]+\.so\.[0-9]+(\.[0-9]+)+' ${PLIST} || ${TRUE}`; \ if [ "X$$sos" != "X" ]; then \ @@ -1763,6 +1765,7 @@ root-install: esac; \ fi .endif +.endif .ifdef MESSAGE_FILE @${ECHO_MSG} "${_PKGSRC_IN}> Please note the following:" @${ECHO_MSG} "" |