diff options
author | bsam <bsam@FreeBSD.org> | 2008-04-21 01:27:10 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2008-04-21 01:27:10 +0800 |
commit | d11c5efc01f02a567b5e563c60174cf7da6cb755 (patch) | |
tree | 550c528e659bd8dbf581ed868865ba25af52d6e8 | |
parent | 825e83df2e3f4949fcfcebc5d63f0dd3afc9d5c2 (diff) | |
download | freebsd-ports-gnome-d11c5efc01f02a567b5e563c60174cf7da6cb755.tar.gz freebsd-ports-gnome-d11c5efc01f02a567b5e563c60174cf7da6cb755.tar.zst freebsd-ports-gnome-d11c5efc01f02a567b5e563c60174cf7da6cb755.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]
-rw-r--r-- | emulators/linux_base-fc4/Makefile | 7 | ||||
-rw-r--r-- | emulators/linux_base-fc4/pkg-install | 5 |
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 |