1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

- Fix compilation with threads enabled on 5.x (due to PTHREAD_LIBS changes)

Approved by:	portmgr (krion)
This commit is contained in:
Clement Laforet 2004-10-10 08:17:59 +00:00
parent 97854827a7
commit 8ffe568cee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118596
2 changed files with 2 additions and 2 deletions

View File

@ -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"

View File

@ -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"