summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2013-04-16 20:38:06 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2013-04-16 20:38:06 +0000
commitdb5a49f61906a7f19e98834e9dbd014d16e1c9ec (patch)
tree2c45f9961e24e8efb11dbd64540078715e7b06f6 /emulators
parentUpdate to 5.8.2 (diff)
Add some symlinks to linux_base-f10 for executables that exist in /usr/bin
on Linux but /bin on FreeBSD. This guarantees that Linux shell scripts run the Linux executables and not the FreeBSD ones. No objection from: -emulation PR: ports/176819 Feature safe: yes
Notes
Notes: svn path=/head/; revision=315899
Diffstat (limited to 'emulators')
-rw-r--r--emulators/linux_base-f10/Makefile6
-rw-r--r--emulators/linux_base-f10/pkg-plist4
2 files changed, 9 insertions, 1 deletions
diff --git a/emulators/linux_base-f10/Makefile b/emulators/linux_base-f10/Makefile
index a61a8d70a33b..10c4207f3b7a 100644
--- a/emulators/linux_base-f10/Makefile
+++ b/emulators/linux_base-f10/Makefile
@@ -3,7 +3,7 @@
PORTNAME= f10
PORTVERSION= 10
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= emulators linux
MASTER_SITES= CRITICAL/rpm/${LINUX_RPM_ARCH}/fedora/${PORTVERSION}
PKGNAMEPREFIX= linux_base-
@@ -210,6 +210,10 @@ do-install:
| ${CPIO} -pm -R root:wheel ${PREFIX}
@${LN} -sf /var/tmp ${PREFIX}/usr/tmp
+ @${LN} -sf ../usr/bin/[ ${PREFIX}/bin/[
+ @${LN} -sf ../usr/bin/expr ${PREFIX}/bin/expr
+ @${LN} -sf ../usr/bin/test ${PREFIX}/bin/test
+ @${LN} -sf ../usr/bin/uuidgen ${PREFIX}/bin/uuidgen
@${CHOWN} root:wheel ${PREFIX}/var/lock ${PREFIX}/var/spool/mail
@${CHMOD} 755 ${PREFIX}/var/lock ${PREFIX}/var/spool/mail
#
diff --git a/emulators/linux_base-f10/pkg-plist b/emulators/linux_base-f10/pkg-plist
index 2cd007f348fe..aa7ebec67690 100644
--- a/emulators/linux_base-f10/pkg-plist
+++ b/emulators/linux_base-f10/pkg-plist
@@ -1,4 +1,5 @@
@comment file listing
+bin/[
bin/arch
bin/basename
bin/bash
@@ -13,6 +14,7 @@ bin/dd
bin/echo
bin/egrep
bin/env
+bin/expr
bin/false
bin/fgrep
bin/grep
@@ -33,10 +35,12 @@ bin/sleep
bin/sort
bin/stty
bin/sync
+bin/test
bin/touch
bin/true
bin/uname
bin/unlink
+bin/uuidgen
etc/DIR_COLORS
etc/DIR_COLORS.256color
etc/DIR_COLORS.xterm