summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Egge <tegge@FreeBSD.org>2003-06-09 00:25:05 +0000
committerTor Egge <tegge@FreeBSD.org>2003-06-09 00:25:05 +0000
commit87937c3ca20f5ec92dc137a5cd9bc7137f6a9ef1 (patch)
treed64c9c40391b3b55f57ff4787e12d3fd0fb38e7f
parentProject page moved to savannah.nongnu.org and the release file was (diff)
Adjust to changed compilation environment (Makefiles setup) in 5.1-CURRENT.
Link with liblgcc_r when creating linuxthreads versions of shared libraries.
-rw-r--r--devel/linuxthreads/files/Makefile.libgcc_r4
-rw-r--r--devel/linuxthreads/files/Makefile.libstdc++5
-rw-r--r--devel/linuxthreads/files/Makefile.libsupc++5
3 files changed, 8 insertions, 6 deletions
diff --git a/devel/linuxthreads/files/Makefile.libgcc_r b/devel/linuxthreads/files/Makefile.libgcc_r
index 1f6f7f3c9f61..19bafdd4cb46 100644
--- a/devel/linuxthreads/files/Makefile.libgcc_r
+++ b/devel/linuxthreads/files/Makefile.libgcc_r
@@ -1,11 +1,11 @@
-# $FreeBSD: /tmp/pcvs/ports/devel/linuxthreads/files/Makefile.libgcc_r,v 1.4 2002-06-08 18:27:19 tegge Exp $
+# $FreeBSD: /tmp/pcvs/ports/devel/linuxthreads/files/Makefile.libgcc_r,v 1.5 2003-06-09 00:25:04 tegge Exp $
PREFIX?= ${DESTDIR}/usr/local
LIBDIR= ${PREFIX:S,^${DESTDIR},,}/lib
CFLAGS+=-D_PTHREADS -I../
CFLAGS+=-I../sysdeps/i386 -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux
-CXXFLAGS= ${CXXINCLUDES} ${CFLAGS}
+CXXFLAGS= ${CXXINCLUDES} ${CFLAGS:C/-std=[a-z:0-9]+//}
installincludes:
diff --git a/devel/linuxthreads/files/Makefile.libstdc++ b/devel/linuxthreads/files/Makefile.libstdc++
index 80f0276aea05..c5ab439f7263 100644
--- a/devel/linuxthreads/files/Makefile.libstdc++
+++ b/devel/linuxthreads/files/Makefile.libstdc++
@@ -1,11 +1,12 @@
-# $FreeBSD: /tmp/pcvs/ports/devel/linuxthreads/files/Makefile.libstdc++,v 1.1 2002-06-08 18:27:19 tegge Exp $
+# $FreeBSD: /tmp/pcvs/ports/devel/linuxthreads/files/Makefile.libstdc++,v 1.2 2003-06-09 00:25:05 tegge Exp $
PREFIX?= ${DESTDIR}/usr/local
LIBDIR= ${PREFIX:S,^${DESTDIR},,}/lib
CFLAGS+=-D_PTHREADS -I../
CFLAGS+=-I../sysdeps/i386 -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux
-CXXFLAGS= ${CXXINCLUDES} ${CFLAGS}
+CXXFLAGS= ${CXXINCLUDES} ${CFLAGS:C/-std=[a-z:0-9]+//}
+LDADD=../libgcc_r/liblgcc_r.a
installincludes:
diff --git a/devel/linuxthreads/files/Makefile.libsupc++ b/devel/linuxthreads/files/Makefile.libsupc++
index ac4ed4aec107..5e811457ee37 100644
--- a/devel/linuxthreads/files/Makefile.libsupc++
+++ b/devel/linuxthreads/files/Makefile.libsupc++
@@ -1,11 +1,12 @@
-# $FreeBSD: /tmp/pcvs/ports/devel/linuxthreads/files/Makefile.libsupc++,v 1.1 2002-06-08 18:27:19 tegge Exp $
+# $FreeBSD: /tmp/pcvs/ports/devel/linuxthreads/files/Makefile.libsupc++,v 1.2 2003-06-09 00:25:05 tegge Exp $
PREFIX?= ${DESTDIR}/usr/local
LIBDIR= ${PREFIX:S,^${DESTDIR},,}/lib
CFLAGS+=-D_PTHREADS -I../
CFLAGS+=-I../sysdeps/i386 -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux
-CXXFLAGS= ${CXXINCLUDES} ${CFLAGS}
+CXXFLAGS= ${CXXINCLUDES} ${CFLAGS:C/-std=[a-z:0-9]+//}
+LDADD=../libgcc_r/liblgcc_r.a
installincludes: