diff options
author | clement <clement@FreeBSD.org> | 2004-10-10 08:17:59 +0000 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2004-10-10 08:17:59 +0000 |
commit | 3c2365df004c162eab3d5d89cdce0f51ec577131 (patch) | |
tree | b50e901d5b896c37bb5f1d3558e4e922d892d1af | |
parent | 8f233a2dcd3036b8bba7856c68c56ba64de31d92 (diff) | |
download | FreeBSD-ports-3c2365df004c162eab3d5d89cdce0f51ec577131.zip FreeBSD-ports-3c2365df004c162eab3d5d89cdce0f51ec577131.tar.gz |
- Fix compilation with threads enabled on 5.x (due to PTHREAD_LIBS changes)
Approved by: portmgr (krion)
-rw-r--r-- | www/apache2/Makefile | 2 | ||||
-rw-r--r-- | www/apache20/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile index 0322398..47e5e96 100644 --- a/www/apache2/Makefile +++ b/www/apache2/Makefile @@ -148,7 +148,7 @@ INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/lib/apache2 .endif -WITH_PTHREAD_LIBS?= ${PTHREAD_LIBS:S/-l//} +WITH_PTHREAD_LIBS?= ${PTHREAD_LIBS:S/-l//:S/-//} WITH_PTHREAD_CFLAGS?= ${PTHREAD_CFLAGS} .include "${APACHEDIR}/Makefile.doc" diff --git a/www/apache20/Makefile b/www/apache20/Makefile index 0322398..47e5e96 100644 --- a/www/apache20/Makefile +++ b/www/apache20/Makefile @@ -148,7 +148,7 @@ INSTALLS_SHLIB= yes LDCONFIG_DIRS= %%PREFIX%%/lib/apache2 .endif -WITH_PTHREAD_LIBS?= ${PTHREAD_LIBS:S/-l//} +WITH_PTHREAD_LIBS?= ${PTHREAD_LIBS:S/-l//:S/-//} WITH_PTHREAD_CFLAGS?= ${PTHREAD_CFLAGS} .include "${APACHEDIR}/Makefile.doc" |