aboutsummaryrefslogtreecommitdiff
path: root/emulators/linux_base-fc6
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2006-06-23 17:07:39 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2006-06-23 17:07:39 +0000
commit28a999f1bc570ddfdc37907fa4e9c860c12916ad (patch)
tree667696ba64471d9a1692cc386af8923a70a5d941 /emulators/linux_base-fc6
parentdbdf24d9a33602dfec88d2b3eef8906003feffe4 (diff)
downloadports-28a999f1bc570ddfdc37907fa4e9c860c12916ad.tar.gz
ports-28a999f1bc570ddfdc37907fa4e9c860c12916ad.zip
Notes
Diffstat (limited to 'emulators/linux_base-fc6')
-rw-r--r--emulators/linux_base-fc6/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/emulators/linux_base-fc6/Makefile b/emulators/linux_base-fc6/Makefile
index 05e228822016..dc791aeb6691 100644
--- a/emulators/linux_base-fc6/Makefile
+++ b/emulators/linux_base-fc6/Makefile
@@ -172,6 +172,11 @@ do-build:
#
@${MV} ${WRKSRC}/etc/nsswitch.conf ${WRKSRC}/etc/nsswitch.conf.dist
+ @${FIND} ${WRKSRC}/bin ${WRKSRC}/sbin/ ${WRKSRC}/usr/bin \
+ ${WRKSRC}/usr/sbin -type f -print0 | ${XARGS} -0 ${FILE} \
+ | ${GREP} ELF | ${CUT} -d : -f 1 \
+ | ${XARGS} ${BRANDELF} -t Linux
+
do-install:
#
# Handle the loading of the linux loadable kernel module if required.
@@ -184,10 +189,6 @@ do-install:
@cd ${WRKSRC} && ${FIND} * ! -type d \
| ${CPIO} -pm -R root:wheel ${PREFIX}
- @${FIND} ${PREFIX}/bin ${PREFIX}/sbin/ ${PREFIX}/usr/bin \
- ${PREFIX}/usr/sbin -type f -print0 | ${XARGS} -0 ${FILE} \
- | ${GREP} ELF | ${CUT} -d : -f 1 \
- | ${XARGS} ${BRANDELF} -t Linux
@${LN} -sf /var/tmp ${PREFIX}/usr/tmp
@${CHOWN} root:wheel ${PREFIX}/var/lock ${PREFIX}/var/spool/mail
@${CHMOD} 755 ${PREFIX}/var/lock ${PREFIX}/var/spool/mail