svn commit: r279672 - projects/release-pkg/share/mk
Baptiste Daroussin
bapt at FreeBSD.org
Thu Mar 5 20:22:29 UTC 2015
Author: bapt
Date: Thu Mar 5 20:22:28 2015
New Revision: 279672
URL: https://svnweb.freebsd.org/changeset/base/279672
Log:
Do not flag .so symlinks not starting with lib as development, they are most of
the modules to be dlopened
Modified:
projects/release-pkg/share/mk/bsd.lib.mk
Modified: projects/release-pkg/share/mk/bsd.lib.mk
==============================================================================
--- projects/release-pkg/share/mk/bsd.lib.mk Thu Mar 5 19:51:37 2015 (r279671)
+++ projects/release-pkg/share/mk/bsd.lib.mk Thu Mar 5 20:22:28 2015 (r279672)
@@ -368,10 +368,19 @@ _libinstall:
.else
.if ${_SHLIBDIR} == ${_LIBDIR}
+.if ${SHLIB_LINK:Mlib*}
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},development} ${SHLIB_NAME} ${DESTDIR}${_LIBDIR}/${SHLIB_LINK}
.else
+ ${INSTALL_SYMLINK} ${TAG_ARGS} ${SHLIB_NAME} ${DESTDIR}${_LIBDIR}/${SHLIB_LINK}
+.endif
+.else
+.if ${SHLIB_LINK:Mlib*}
${INSTALL_SYMLINK} ${TAG_ARGS:D${TAG_ARGS},development} ${_SHLIBDIRPREFIX}${_SHLIBDIR}/${SHLIB_NAME} \
${DESTDIR}${_LIBDIR}/${SHLIB_LINK}
+.else
+ ${INSTALL_SYMLINK} ${TAG_ARGS} ${_SHLIBDIRPREFIX}${_SHLIBDIR}/${SHLIB_NAME} \
+ ${DESTDIR}${_LIBDIR}/${SHLIB_LINK}
+.endif
.if exists(${DESTDIR}${_LIBDIR}/${SHLIB_NAME})
-chflags noschg ${DESTDIR}${_LIBDIR}/${SHLIB_NAME}
rm -f ${DESTDIR}${_LIBDIR}/${SHLIB_NAME}
More information about the svn-src-projects
mailing list