summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>2001-08-24 14:55:36 +0000
committerSatoshi Asami <asami@FreeBSD.org>2001-08-24 14:55:36 +0000
commiteab7ae49bfb4ebf04569476bb4b9234499678d5e (patch)
treec8a8005c003d8e8b5bf73c46c6612224c1cf00e2 /misc
parentAdd initial diskcheckd skeleton while waiting for repo copy. (diff)
Create target directories before installation.
Submitted by: bento
Notes
Notes: svn path=/head/; revision=46794
Diffstat (limited to 'misc')
-rw-r--r--misc/compat22/Makefile2
-rw-r--r--misc/compat3x/Makefile2
-rw-r--r--misc/compat4x/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/misc/compat22/Makefile b/misc/compat22/Makefile
index 4b6b5d14134a..02f4fa74aa52 100644
--- a/misc/compat22/Makefile
+++ b/misc/compat22/Makefile
@@ -44,7 +44,7 @@ do-build:
) > ${WRKDIR}/000.${PORTNAME}.sh
do-install:
- ${MKDIR} ${TARGET_DIR}
+ ${MKDIR} ${TARGET_DIR} ${PREFIX}/libexec ${PREFIX}/etc/rc.d
${INSTALL_DATA} ${WRKSRC}/* ${TARGET_DIR}/
${INSTALL_DATA} ${WRKDIR}/usr/libexec/ld.so ${PREFIX}/libexec/
${INSTALL_SCRIPT} ${WRKDIR}/000.${PORTNAME}.sh ${PREFIX}/etc/rc.d/
diff --git a/misc/compat3x/Makefile b/misc/compat3x/Makefile
index c72c5a5f482b..fdf9d5fcfe9a 100644
--- a/misc/compat3x/Makefile
+++ b/misc/compat3x/Makefile
@@ -44,7 +44,7 @@ do-build:
) > ${WRKDIR}/000.${PORTNAME}.sh
do-install:
- ${MKDIR} ${TARGET_DIR}
+ ${MKDIR} ${TARGET_DIR} ${PREFIX}/etc/rc.d
${INSTALL_DATA} ${WRKSRC}/* ${TARGET_DIR}/
if [ ! -e ${TARGET_DIR}/libc_r.so.4.compat4x ]; then \
${LN} -sf ${TARGET_DIR}/libc_r.so.4.compat3x ${TARGET_DIR}/libc_r.so.4; \
diff --git a/misc/compat4x/Makefile b/misc/compat4x/Makefile
index e5ab458ba8ac..1b688dec5072 100644
--- a/misc/compat4x/Makefile
+++ b/misc/compat4x/Makefile
@@ -65,7 +65,7 @@ do-build:
) > ${WRKDIR}/000.${PORTNAME}.sh
do-install:
- ${MKDIR} ${TARGET_DIR}
+ ${MKDIR} ${TARGET_DIR} ${PREFIX}/etc/rc.d
${INSTALL_DATA} ${WRKSRC}/* ${TARGET_DIR}/
.if ${OSVERSION} >= 500000
${LN} -sf ${TARGET_DIR}/libc_r.so.4.compat4x ${TARGET_DIR}/libc_r.so.4