aboutsummaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2008-04-20 17:27:10 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2008-04-20 17:27:10 +0000
commitddfd9a7a564112e0fc1095b3b1b544e352294edb (patch)
treeb0b0cc1994dbddacfe5c2b353ad5b6cee332db09 /emulators
parent2066612ac72227369a38bc44da787488791ceb5a (diff)
downloadports-ddfd9a7a564112e0fc1095b3b1b544e352294edb.tar.gz
ports-ddfd9a7a564112e0fc1095b3b1b544e352294edb.zip
1. Create a hard link since a soft link happened to be insufficient [1]
(got deleted at the next ldconfig call). 2. Now it may be placed at the Makefile. 3. Bump PORTREVISION. Reported by: netchild [1] Suggested by: netchild [1]
Notes
Notes: svn path=/head/; revision=211667
Diffstat (limited to 'emulators')
-rw-r--r--emulators/linux_base-fc4/Makefile7
-rw-r--r--emulators/linux_base-fc4/pkg-install5
2 files changed, 6 insertions, 6 deletions
diff --git a/emulators/linux_base-fc4/Makefile b/emulators/linux_base-fc4/Makefile
index e5c8619ba74a..7eb3304eed54 100644
--- a/emulators/linux_base-fc4/Makefile
+++ b/emulators/linux_base-fc4/Makefile
@@ -8,7 +8,7 @@
PORTNAME= fc
PORTVERSION= 4
-PORTREVISION= 12
+PORTREVISION= 13
CATEGORIES= emulators linux
MASTER_SITES= ${MASTER_SITE_FEDORA_LINUX}
MASTER_SITE_SUBDIR= ${PORTVERSION}/${LINUX_RPM_ARCH}/os/Fedora/RPMS \
@@ -197,6 +197,11 @@ do-install:
# Let some linux applications (e.g. print/acroread7) print with default settings
#
@${INSTALL_SCRIPT} ${FILESDIR}/lp ${PREFIX}/usr/bin
+#
+# Create a hard link to disallow using a FreeBSD native library, but find a
+# linux one at /lib/obsolete/linuxthreads; soft link happened to be insufficient
+#
+ @${LN} ${PREFIX}/lib/librt-2.3.6.so ${PREFIX}/usr/lib/librt.so.1
post-install:
#
diff --git a/emulators/linux_base-fc4/pkg-install b/emulators/linux_base-fc4/pkg-install
index d98be7c05604..5a429d6996b7 100644
--- a/emulators/linux_base-fc4/pkg-install
+++ b/emulators/linux_base-fc4/pkg-install
@@ -48,11 +48,6 @@ POST-INSTALL)
echo 'Running linux ldconfig...'
${PKG_PREFIX}/sbin/ldconfig -r ${PKG_PREFIX}
#
-# Create a symlink to disallow using a FreeBSD native library, but find
-# linux one at /lib/obsolete/linuxthreads
-#
- ln -s ${PKG_PREFIX}/lib/ld-2.3.6.so ${PKG_PREFIX}/usr/lib/librt.so.1
-#
# Create linux mtree
#
mkdir -p ${PKG_PREFIX}/var/yp