summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>2005-07-25 14:58:02 +0000
committertegge <tegge@FreeBSD.org>2005-07-25 14:58:02 +0000
commit9d705b318b766b92b470daa2f2f6fb071f408bc9 (patch)
tree9a4ee1a9a08d39fd9d2483024996b46b422b3417
parent5a89a9cc42cbbed3d9d898d5946761d2eb3dadb5 (diff)
downloadFreeBSD-ports-9d705b318b766b92b470daa2f2f6fb071f408bc9.zip
FreeBSD-ports-9d705b318b766b92b470daa2f2f6fb071f408bc9.tar.gz
Catch up with shared library version bump in FreeBSD >= 6.0.
-rw-r--r--devel/linuxthreads/Makefile7
-rw-r--r--devel/linuxthreads/pkg-plist2
2 files changed, 7 insertions, 2 deletions
diff --git a/devel/linuxthreads/Makefile b/devel/linuxthreads/Makefile
index d9938fb..dee42a2 100644
--- a/devel/linuxthreads/Makefile
+++ b/devel/linuxthreads/Makefile
@@ -7,7 +7,7 @@
PORTNAME= linuxthreads
PORTVERSION= 2.2.3
-PORTREVISION= 18
+PORTREVISION= 19
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= glibc
@@ -269,5 +269,10 @@ PLIST_SUB+= LTHREADSHMAJOR:="4"
PLIST_SUB+= LTHREADSHMAJOR:="2"
.endif
.endif
+.if ${OSVERSION} >= 600033
+PLIST_SUB+= LIBSTDCPPMAJOR:="5"
+.else
+PLIST_SUB+= LIBSTDCPPMAJOR:="4"
+.endif
.include <bsd.port.post.mk>
diff --git a/devel/linuxthreads/pkg-plist b/devel/linuxthreads/pkg-plist
index 9cf633a..ea09c3b 100644
--- a/devel/linuxthreads/pkg-plist
+++ b/devel/linuxthreads/pkg-plist
@@ -10,7 +10,7 @@ lib/liblgcc_r.a
%%GCC3ONLY:%%%%PROFILE:%%lib/liblstdc++_p.a
%%GCC3ONLY:%%%%PICARCHIVE:%%lib/liblstdc++_pic.a
%%GCC3ONLY:%%%%PIC:%%lib/liblstdc++.so
-%%GCC3ONLY:%%%%PIC:%%lib/liblstdc++.so.4
+%%GCC3ONLY:%%%%PIC:%%lib/liblstdc++.so.%%LIBSTDCPPMAJOR:%%
%%GCC3ONLY:%%lib/liblsupc++.a
%%GCC3ONLY:%%%%PROFILE:%%lib/liblsupc++_p.a
%%GCC3ONLY:%%%%PICARCHIVE:%%lib/liblsupc++_pic.a
OpenPOWER on IntegriCloud