aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorclement <clement@FreeBSD.org>2004-10-10 16:17:59 +0800
committerclement <clement@FreeBSD.org>2004-10-10 16:17:59 +0800
commit3c2365df004c162eab3d5d89cdce0f51ec577131 (patch)
treeb50e901d5b896c37bb5f1d3558e4e922d892d1af /www
parent8f233a2dcd3036b8bba7856c68c56ba64de31d92 (diff)
downloadfreebsd-ports-gnome-3c2365df004c162eab3d5d89cdce0f51ec577131.tar.gz
freebsd-ports-gnome-3c2365df004c162eab3d5d89cdce0f51ec577131.tar.zst
freebsd-ports-gnome-3c2365df004c162eab3d5d89cdce0f51ec577131.zip
- Fix compilation with threads enabled on 5.x (due to PTHREAD_LIBS changes)
Approved by: portmgr (krion)
Diffstat (limited to 'www')
-rw-r--r--www/apache2/Makefile2
-rw-r--r--www/apache20/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/www/apache2/Makefile b/www/apache2/Makefile
index 0322398b7a7b..47e5e969711f 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 0322398b7a7b..47e5e969711f 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"