diff options
Diffstat (limited to 'textproc/xerces-c/Makefile')
-rw-r--r-- | textproc/xerces-c/Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/textproc/xerces-c/Makefile b/textproc/xerces-c/Makefile index da51dcd189b8..d1920698f646 100644 --- a/textproc/xerces-c/Makefile +++ b/textproc/xerces-c/Makefile @@ -30,7 +30,9 @@ MAKE_ENV+= XERCESCROOT=${WRKSRC} HAS_CONFIGURE= yes CONFIGURE_SCRIPT= runConfigure -CONFIGURE_ENV+= XERCESCROOT=${WRKSRC} TRANSCODER="IconvFBSD" +CONFIGURE_ENV+= XERCESCROOT=${WRKSRC} TRANSCODER="IconvFBSD" \ + PTHREAD_LIBS="${PTHREAD_LIBS}" \ + PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" CONFIGURE_ARGS= -p freebsd -n socket -P ${PREFIX} .if defined(NO_THREADS) CONFIGURE_ARGS+= -r none @@ -40,10 +42,6 @@ PLIST_SUB+= XERCESC_VER=${PORTVERSION:S/./_/g} \ .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 502102 -FORBIDDEN= "Does not respect PTHREAD_{CFLAGS,LIBS}" -.endif - pre-configure: ${CHMOD} 700 ${CONFIGURE_WRKSRC}/runConfigure ${CHMOD} 700 ${CONFIGURE_WRKSRC}/configure |