diff options
author | Daniel Eischen <deischen@FreeBSD.org> | 2004-01-23 22:31:36 +0000 |
---|---|---|
committer | Daniel Eischen <deischen@FreeBSD.org> | 2004-01-23 22:31:36 +0000 |
commit | 497c0097b468f22ad1c150c0c0356f0c3236f521 (patch) | |
tree | 7c24442ed69305a5bc1771c16451631ffed2d3bf /Mk/bsd.port.mk | |
parent | - Update to 1.2.8 (diff) |
Make PTHREAD_LIBS and PTHREAD_CFLAGS conditional. Also remove
-D_THREAD_SAFE from PTHREAD_CFLAGS when it isn't needed.
Notes
Notes:
svn path=/head/; revision=98925
Diffstat (limited to 'Mk/bsd.port.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 1e272d1fa806..d0a32839e04e 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) |