aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortegge <tegge@FreeBSD.org>2003-06-09 08:25:05 +0800
committertegge <tegge@FreeBSD.org>2003-06-09 08:25:05 +0800
commit83dd5db962c7f31422c2adac6fa6c0664ad8c993 (patch)
treec607561450cc3f6fa61bbb72bf27e491ae4a41a7 /devel
parent3017bcb8bc8c2355bf541319ec0a1e84717ca00f (diff)
downloadfreebsd-ports-gnome-83dd5db962c7f31422c2adac6fa6c0664ad8c993.tar.gz
freebsd-ports-gnome-83dd5db962c7f31422c2adac6fa6c0664ad8c993.tar.zst
freebsd-ports-gnome-83dd5db962c7f31422c2adac6fa6c0664ad8c993.zip
Adjust to changed compilation environment (Makefiles setup) in 5.1-CURRENT.
Link with liblgcc_r when creating linuxthreads versions of shared libraries.
Diffstat (limited to 'devel')
-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: