PTHREAD_LIBS in bsd.port.mk

Morten Rodal morten at rodal.no
Sun Sep 7 02:07:33 PDT 2003


Is there a reason this is not defined with ?=  (see attached patch if
you dont understand what I mean).  Wouldn't this prevent me from
passing on PTHREAD_LIBS=-lkse or -lthr?

-- 
Morten Rodal

-------------- next part --------------
--- /tmp/bsd.port.mk	Sun Sep  7 11:00:18 2003
+++ bsd.port.mk	Sun Sep  7 11:00:44 2003
@@ -1634,8 +1634,8 @@
 PTHREAD_CFLAGS=	-D_THREAD_SAFE
 PTHREAD_LIBS=		-pthread
 .else
-PTHREAD_CFLAGS=	-D_THREAD_SAFE
-PTHREAD_LIBS=		-lc_r
+PTHREAD_CFLAGS?=	-D_THREAD_SAFE
+PTHREAD_LIBS?=		-lc_r
 .endif
 
 .if exists(/usr/bin/fetch)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20030907/c8c73a66/attachment.bin


More information about the freebsd-ports mailing list