aboutsummaryrefslogtreecommitdiffstats
path: root/misc/ldconfig_compat
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2006-01-19 19:24:37 +0800
committermnag <mnag@FreeBSD.org>2006-01-19 19:24:37 +0800
commit63a1dd8bb91187abd8f1395668205449a63cd4ce (patch)
tree431f1a9eb44767a9a2dce28bdb5178966e4777ba /misc/ldconfig_compat
parent4666e73bed752868b548f782f8219ebe59ccd7bf (diff)
downloadfreebsd-ports-gnome-63a1dd8bb91187abd8f1395668205449a63cd4ce.tar.gz
freebsd-ports-gnome-63a1dd8bb91187abd8f1395668205449a63cd4ce.tar.zst
freebsd-ports-gnome-63a1dd8bb91187abd8f1395668205449a63cd4ce.zip
Guarantee of ${PREFIX}/${LDCONFIG{,32}_DIR} are created.
Approved by: flz
Diffstat (limited to 'misc/ldconfig_compat')
-rw-r--r--misc/ldconfig_compat/bsd.ldconfig.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/ldconfig_compat/bsd.ldconfig.mk b/misc/ldconfig_compat/bsd.ldconfig.mk
index eac7cc9d4999..4813920d6076 100644
--- a/misc/ldconfig_compat/bsd.ldconfig.mk
+++ b/misc/ldconfig_compat/bsd.ldconfig.mk
@@ -15,12 +15,14 @@ install-ldconfig-file:
@${ECHO_CMD} "@cwd ${PREFIX}" >> ${TMPPLIST}
.if defined(USE_LDCONFIG)
@${ECHO_MSG} "===> Installing ldconfig configuration file"
+ @${MKDIR} ${PREFIX}/${LDCONFIG_DIR}
@${ECHO_CMD} ${USE_LDCONFIG} | ${TR} ' ' '\n' \
> ${PREFIX}/${LDCONFIG_DIR}/${UNIQUENAME}
@${ECHO_CMD} ${LDCONFIG_DIR}/${UNIQUENAME} >> ${TMPPLIST}
.endif
.if defined(USE_LDCONFIG32)
@${ECHO_MSG} "===> Installing 32-bit ldconfig configuration file"
+ @${MKDIR} ${PREFIX}/${LDCONFIG32_DIR}
@${ECHO_CMD} ${USE_LDCONFIG32} | ${TR} ' ' '\n' \
> ${PREFIX}/${LDCONFIG32_DIR}/${UNIQUENAME}
@${ECHO_CMD} ${LDCONFIG32_DIR}/${UNIQUENAME} >> ${TMPPLIST}