svn commit: r275013 - projects/building-blocks/etc
Garrett Cooper
ngie at FreeBSD.org
Tue Nov 25 07:12:33 UTC 2014
Author: ngie
Date: Tue Nov 25 07:12:32 2014
New Revision: 275013
URL: https://svnweb.freebsd.org/changeset/base/275013
Log:
Don't create symlinks for nls/openssl unless the respective options are set
Modified:
projects/building-blocks/etc/Makefile
Modified: projects/building-blocks/etc/Makefile
==============================================================================
--- projects/building-blocks/etc/Makefile Tue Nov 25 07:01:38 2014 (r275012)
+++ projects/building-blocks/etc/Makefile Tue Nov 25 07:12:32 2014 (r275013)
@@ -376,23 +376,29 @@ distrib-dirs: ${MTREES:N/*}
${INSTALL_SYMLINK} ../$$mandir \
${DESTDIR}/usr/share/man/en.UTF-8/; \
done
+.if ${MK_OPENSSL} != "no"
cd ${DESTDIR}/usr/share/openssl/man; \
for mandir in man*; do \
${INSTALL_SYMLINK} ../$$mandir \
${DESTDIR}/usr/share/openssl/man/en.ISO8859-1/; \
done
+.endif
set - `grep "^[a-zA-Z]" ${.CURDIR}/man.alias`; \
while [ $$# -gt 0 ] ; do \
${INSTALL_SYMLINK} "$$2" "${DESTDIR}/usr/share/man/$$1"; \
- ${INSTALL_SYMLINK} "$$2" \
- "${DESTDIR}/usr/share/openssl/man/$$1"; \
- shift; shift; \
+ if [ "${MK_OPENSSL}" != "no" ]; then \
+ ${INSTALL_SYMLINK} "$$2" \
+ "${DESTDIR}/usr/share/openssl/man/$$1"; \
+ shift; shift; \
+ fi; \
done
+.if ${MK_NLS} != "no"
set - `grep "^[a-zA-Z]" ${.CURDIR}/nls.alias`; \
while [ $$# -gt 0 ] ; do \
${INSTALL_SYMLINK} "$$2" "${DESTDIR}/usr/share/nls/$$1"; \
shift; shift; \
done
+.endif
etc-examples:
cd ${.CURDIR}; ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m 444 \
More information about the svn-src-projects
mailing list