diff options
author | mbr <mbr@FreeBSD.org> | 2002-06-07 09:31:19 +0000 |
---|---|---|
committer | mbr <mbr@FreeBSD.org> | 2002-06-07 09:31:19 +0000 |
commit | bb7a9a0ac5a984641b41b8aa3c987d059c4c2a69 (patch) | |
tree | c847013dfb503aeab8a010fb30d3d59151731382 /devel/stlport/Makefile | |
parent | 393f19368d2603a55c4dc059e038caa379792c7f (diff) | |
download | FreeBSD-ports-bb7a9a0ac5a984641b41b8aa3c987d059c4c2a69.zip FreeBSD-ports-bb7a9a0ac5a984641b41b8aa3c987d059c4c2a69.tar.gz |
- Respect USE_GCC=
- Make the library really threadsafe. This has been broken in CURRENT
since the port exists.
- Add a gcc31 workaround
Diffstat (limited to 'devel/stlport/Makefile')
-rw-r--r-- | devel/stlport/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/devel/stlport/Makefile b/devel/stlport/Makefile index 29d0af1..f88222e 100644 --- a/devel/stlport/Makefile +++ b/devel/stlport/Makefile @@ -24,7 +24,9 @@ WRKSRC= ${WRKDIR}/STLport-${PORTVERSION:S/.b/b/}/src PATCH_WRKSRC= ${WRKDIR}/STLport-${PORTVERSION:S/.b/b/} USE_GMAKE= yes MAKEFILE= gcc-freebsd.mak -MAKE_ARGS= INSTALLDIR=${PREFIX} +MAKE_ARGS+= INSTALLDIR=${PREFIX} PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \ + PTHREAD_LIBS=${PTHREAD_LIBS} + INSTALL_TARGET= install_unix INSTALLS_SHLIB= yes @@ -41,6 +43,9 @@ post-install: .endif post-build test: - cd ${WRKSRC}/../test/eh && ${GMAKE} -f ${MAKEFILE} + cd ${WRKSRC}/../test/eh && ${SETENV} CC=${CC} CXX=${CXX} \ + ${GMAKE} -f ${MAKEFILE} PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \ + PTHREAD_LIBS=${PTHREAD_LIBS} PTHREAD_CFLAGS=${PTHREAD_CFLAGS} \ + PTHREAD_LIBS=${PTHREAD_LIBS} CC=${CC} CXX=${CXX} .include <bsd.port.post.mk> |