summaryrefslogtreecommitdiff
path: root/devel/teem/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-09 16:32:11 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-09 16:32:11 +0000
commit580fc0a48ea2106ced0e3f269e70243e15fe68ce (patch)
tree5619cb3c5665291b68a1c95db40aabe3f995e96a /devel/teem/patches
parent82939c98f590637c0f4b0d0d533da2e95887ed0d (diff)
downloadpkgsrc-580fc0a48ea2106ced0e3f269e70243e15fe68ce.tar.gz
Use NetBSD rules for DragonFly as well. Don't hard-code -lpthread.
Diffstat (limited to 'devel/teem/patches')
-rw-r--r--devel/teem/patches/patch-ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/teem/patches/patch-ac b/devel/teem/patches/patch-ac
new file mode 100644
index 00000000000..2e6561846f1
--- /dev/null
+++ b/devel/teem/patches/patch-ac
@@ -0,0 +1,11 @@
+$NetBSD: patch-ac,v 1.1 2006/01/09 16:32:11 joerg Exp $
+
+--- src/make/externals.mk.orig 2006-01-09 16:02:05.000000000 +0000
++++ src/make/externals.mk
+@@ -69,5 +69,5 @@ nrrd.XTERN += PNG
+ ## Arch-specific .mk files may need to set TEEM_PTHREAD_IPATH and
+ ## TEEM_PTHREAD_LPATH to "-I<path>" and "-L<path>" for the compile and
+ ## link lines, respectively.
+-PTHREAD.LINK = -lpthread
++PTHREAD.LINK = ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+ air.XTERN += PTHREAD