aboutsummaryrefslogtreecommitdiff
path: root/misc/ldconfig_compat
diff options
context:
space:
mode:
authorMarcus Alves Grando <mnag@FreeBSD.org>2006-01-19 11:24:37 +0000
committerMarcus Alves Grando <mnag@FreeBSD.org>2006-01-19 11:24:37 +0000
commit4168213a05995b551781e255525c31150977307d (patch)
tree4a0fa09310cf9c648db4cbe5455e5dba311ff88b /misc/ldconfig_compat
parentb9390391903bb6dbf0c89fd5115a02de34d27f7e (diff)
downloadports-4168213a05995b551781e255525c31150977307d.tar.gz
ports-4168213a05995b551781e255525c31150977307d.zip
Notes
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}