openbsd-ports/www/retawq/patches/patch-Makefile
ajacoutot 7e552a9924 - compile and link with -pthread, not -lpthread
spotted by naddy@ who gave me lots of inputs over this

maintainer is ok
ok naddy@
2009-03-25 18:09:12 +00:00

13 lines
295 B
Plaintext

$OpenBSD: patch-Makefile,v 1.1 2009/03/25 18:09:12 ajacoutot Exp $
--- Makefile.orig Tue Mar 24 18:17:34 2009
+++ Makefile Tue Mar 24 18:17:50 2009
@@ -135,7 +135,7 @@ LCLM =
endif
ifeq ($(OPTION_THREADING), 1)
-PTHREAD_LIBS = -lpthread
+PTHREAD_LIBS = -pthread
else
PTHREAD_LIBS =
endif