aboutsummaryrefslogtreecommitdiff
path: root/devel/linuxthreads
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>2005-07-25 14:58:02 +0000
committerTor Egge <tegge@FreeBSD.org>2005-07-25 14:58:02 +0000
commitf41797d3ca9a14e3c3d387ddaacee7d64589fa3b (patch)
treef595a162a3378f259f886baa6aa6d0ec97efb712 /devel/linuxthreads
parentd55f15a07ae5671483155edd29b27ac35f712629 (diff)
downloadports-f41797d3ca9a14e3c3d387ddaacee7d64589fa3b.tar.gz
ports-f41797d3ca9a14e3c3d387ddaacee7d64589fa3b.zip
Notes
Diffstat (limited to 'devel/linuxthreads')
-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 d9938fbfca21..dee42a273cee 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 9cf633ab2ad1..ea09c3bd85e5 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