aboutsummaryrefslogtreecommitdiffstats
path: root/misc/compat5x
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2009-09-03 21:13:39 +0800
committergarga <garga@FreeBSD.org>2009-09-03 21:13:39 +0800
commitf57c4dff493950e9f3361a1908f1a274519897bf (patch)
treefa63b514ed05ebfaed879995e45dd29243fc592e /misc/compat5x
parent510bbda57a9aa06018876e9d2a75c01653c1cc51 (diff)
downloadfreebsd-ports-gnome-f57c4dff493950e9f3361a1908f1a274519897bf.tar.gz
freebsd-ports-gnome-f57c4dff493950e9f3361a1908f1a274519897bf.tar.zst
freebsd-ports-gnome-f57c4dff493950e9f3361a1908f1a274519897bf.zip
After discuss with jhb@ and kib@, here are fixed version of compat[567]x ports
working fine when installed on 8.0. compat5x: Installed under a FreeBSD 6.x or 7.x: /usr/local/lib/compat/libpthread.so.1 (file) on amd64: /usr/local/lib32/compat/libpthread.so.1 (fine) Installed under a FreeBSD 8.x: /usr/local/lib/compat/libpthread.so.1 -> ./libthr.so.1 (symlink) on amd64: /usr/local/lib32/compat/libpthread.so.1 -> ./libthr.so.1 (symlink) compat6x: Installed under a FreeBSD 7.x: /usr/local/lib/compat/libpthread.so.2 (file) on amd64: /usr/local/lib32/compat/libpthread.so.2 (fine) Installed under a FreeBSD 8.x: /usr/local/lib/compat/libpthread.so.2 -> ./libthr.so.2 (symlink) on amd64: /usr/local/lib32/compat/libpthread.so.2 -> ./libthr.so.2 (symlink) compat7x: Installed under a FreeBSD 8.x: /usr/local/lib/compat/libkse.so.3 -> /lib/libthr.so.3 (symlink) on amd64: /usr/local/lib32/compat/libkse.so.3 -> /usr/lib32/libthr.so.3 (symlink) Reported by: kib Thanks to: jhb and kib
Diffstat (limited to 'misc/compat5x')
-rw-r--r--misc/compat5x/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/compat5x/Makefile b/misc/compat5x/Makefile
index 335d7f37a363..9c20b0ca6bca 100644
--- a/misc/compat5x/Makefile
+++ b/misc/compat5x/Makefile
@@ -11,7 +11,7 @@
PORTNAME= compat5x
PORTVERSION= 5.4.0.8
-PORTREVISION= 10
+PORTREVISION= 11
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=lesi/compat5x
@@ -69,14 +69,14 @@ do-install:
@${MKDIR} ${TARGET_DIR}
.if ${OSVERSION} >= 800105
${RM} -f ${WRKSRC}/libpthread.so.1
- (cd ${TARGET_DIR} && ${LN} -s /usr/lib/libpthr.so ./libpthread.so.1)
+ (cd ${TARGET_DIR} && ${LN} -sf libthr.so.1 libpthread.so.1)
.endif
(cd ${WRKSRC} && ${INSTALL_DATA} *.so.* ${TARGET_DIR})
.if ${ARCH} == amd64
@${MKDIR} ${TARGET32_DIR}
. if ${OSVERSION} >= 800105
${RM} -f ${WRKSRC}/lib32/libpthread.so.1
- (cd ${TARGET32_DIR} && ${LN} -s /usr/lib32/libpthr.so ./libpthread.so.1)
+ (cd ${TARGET32_DIR} && ${LN} -sf libthr.so.1 libpthread.so.1)
. endif
(cd ${WRKSRC}/lib32 && ${INSTALL_DATA} *.so.* ${TARGET32_DIR})
.endif