summaryrefslogtreecommitdiff
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2000-06-16 21:52:40 +0000
committerSatoshi Asami <asami@FreeBSD.org>2000-06-16 21:52:40 +0000
commitffb21b5654e56c5c34ac39799d4746eb84c17ecc (patch)
treeb1e4b6e4fe103d42cf22f4306aad320232380044 /Mk/bsd.port.mk
parentFix typo (database -> databases) that killed INDEX build. (diff)
Rename INSTALLS_SHLIBS to INSTALLS_SHLIB. (There was a typo in the
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS. Boo.) Line up the rhs of variable assignments nicely. Remove a couple of extra whitespaces while I'm here. Suggested by: sobomax
Notes
Notes: svn path=/head/; revision=29651
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index b3b4f0a41328..32d19624dc45 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -412,11 +412,11 @@ FreeBSD_MAINTAINER= asami@FreeBSD.org
# (default: ${WRKDIR}/.PLIST.mktmp).
# PLIST_SUB - List of "variable=value" pair for substitution in ${PLIST}
# (default: see below).
-# INSTALLS_SHLIBS - If set, bsd.port.mk will automatically run ldconfig commands
+# INSTALLS_SHLIB - If set, bsd.port.mk will automatically run ldconfig commands
# from post-install and also add appropriate @exec/@unexec
# directives to directories listed in LDCONFIG_DIRS.
# LDCONFIG_DIRS - List of directories to run ldconfig if
-# INSTALLS_SHLIBS is set (default: %%PREFIX%%/lib).
+# INSTALLS_SHLIB is set (default: %%PREFIX%%/lib).
# Note that this is passed through sed just like the
# rest of PLIST, so ${PLIST_SUB} substitutions also
# apply here. It is recommended that you use
@@ -1247,7 +1247,7 @@ _MANPAGES:= ${_MANPAGES:S/$/.gz/}
# Put this for down as possible so it will catch all PLIST_SUB definitions.
-.if defined(INSTALLS_SHLIBS)
+.if defined(INSTALLS_SHLIB)
LDCONFIG_DIRS?= %%PREFIX%%/lib
LDCONFIG_PLIST!= ${ECHO} ${LDCONFIG_DIRS} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/}
LDCONFIG_RUNLIST!= ${ECHO} ${LDCONFIG_PLIST} | ${SED} -e "s!%D!${PREFIX}!"
@@ -1875,7 +1875,7 @@ _PORT_USE: .USE
.if make(real-install) && (defined(_MANPAGES) || defined(_MLINKS))
@cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} compress-man
.endif
-.if make(real-install) && defined(INSTALLS_SHLIBS)
+.if make(real-install) && defined(INSTALLS_SHLIB)
@${ECHO_MSG} "===> Running ldconfig"
${LDCONFIG} -m ${LDCONFIG_RUNLIST}
.endif
@@ -2662,7 +2662,7 @@ generate-plist:
.endfor
@${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${PLIST} >> ${TMPPLIST}
@${ECHO} "@unexec if [ -f %D/info/dir ]; then if sed -e '1,/Menu:/d' %D/info/dir | grep -q '^[*] '; then true; else rm %D/info/dir; fi; fi" >> ${TMPPLIST}
-.if defined(INSTALLS_SHLIBS)
+.if defined(INSTALLS_SHLIB)
@${ECHO} "@exec ${LDCONFIG} -m ${LDCONFIG_PLIST}" >> ${TMPPLIST}
@${ECHO} "@unexec ${LDCONFIG} -R" >> ${TMPPLIST}
.endif