diff options
author | Tor Egge <tegge@FreeBSD.org> | 2003-06-09 00:25:05 +0000 |
---|---|---|
committer | Tor Egge <tegge@FreeBSD.org> | 2003-06-09 00:25:05 +0000 |
commit | 87937c3ca20f5ec92dc137a5cd9bc7137f6a9ef1 (patch) | |
tree | d64c9c40391b3b55f57ff4787e12d3fd0fb38e7f /devel/linuxthreads | |
parent | c46b168b49055b05be34025d373f643f0e69d446 (diff) | |
download | ports-87937c3ca20f5ec92dc137a5cd9bc7137f6a9ef1.tar.gz ports-87937c3ca20f5ec92dc137a5cd9bc7137f6a9ef1.zip |
Adjust to changed compilation environment (Makefiles setup) in 5.1-CURRENT.
Link with liblgcc_r when creating linuxthreads versions of shared
libraries.
Notes
Notes:
svn path=/head/; revision=82555
Diffstat (limited to 'devel/linuxthreads')
-rw-r--r-- | devel/linuxthreads/files/Makefile.libgcc_r | 4 | ||||
-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: |