diff options
author | deischen <deischen@FreeBSD.org> | 2004-01-23 22:31:36 +0000 |
---|---|---|
committer | deischen <deischen@FreeBSD.org> | 2004-01-23 22:31:36 +0000 |
commit | 5793cbdc0797d235492a9a0c35ba6665cf3dd7de (patch) | |
tree | d3bd21d17bc00f3eff568b198ba59881fa5c89b8 /Mk | |
parent | 3b0d78580f59d927a0fd17cf57ccf6576826ee11 (diff) | |
download | FreeBSD-ports-5793cbdc0797d235492a9a0c35ba6665cf3dd7de.zip FreeBSD-ports-5793cbdc0797d235492a9a0c35ba6665cf3dd7de.tar.gz |
Make PTHREAD_LIBS and PTHREAD_CFLAGS conditional. Also remove
-D_THREAD_SAFE from PTHREAD_CFLAGS when it isn't needed.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 1e272d1..d0a3283 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -1848,8 +1848,8 @@ MAKE_ENV+= PREFIX=${PREFIX} LOCALBASE=${LOCALBASE} X11BASE=${X11BASE} MOTIFLIB= PTHREAD_CFLAGS= -D_THREAD_SAFE PTHREAD_LIBS= -pthread .else -PTHREAD_CFLAGS= -D_THREAD_SAFE -PTHREAD_LIBS= -lc_r +PTHREAD_CFLAGS?= +PTHREAD_LIBS?= -lc_r .endif .if exists(/usr/bin/fetch) |