diff options
author | jlam <jlam@pkgsrc.org> | 2000-10-13 23:18:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2000-10-13 23:18:00 +0000 |
commit | 57b1b712782bc62aa380fbd1aec59d1ba33ac83a (patch) | |
tree | b1bc2c33e4ae53b110636a633c22151c22899e39 | |
parent | 7a975f91b373db4c52388786746efdf5ac05b3d5 (diff) | |
download | pkgsrc-57b1b712782bc62aa380fbd1aec59d1ba33ac83a.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.
-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} "" |