aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache2/Makefile')
-rw-r--r--www/apache2/Makefile2
1 files changed, 1 insertions, 1 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"