aboutsummaryrefslogtreecommitdiff
path: root/misc/compat5x
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2009-09-03 13:13:39 +0000
committerRenato Botelho <garga@FreeBSD.org>2009-09-03 13:13:39 +0000
commit5dbe6d76b507823ec3964df05ad5270f1e8f95bf (patch)
treefce97f50f0d8b8d5a1a31d479982701a19b4d3e3 /misc/compat5x
parent34608257c5daaf01a14516ebf5a4727d5bbf9c57 (diff)
downloadports-5dbe6d76b507823ec3964df05ad5270f1e8f95bf.tar.gz
ports-5dbe6d76b507823ec3964df05ad5270f1e8f95bf.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
Notes
Notes: svn path=/head/; revision=240783
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