summaryrefslogtreecommitdiff
path: root/biology
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2019-12-21 23:28:02 +0000
committerjoerg <joerg@pkgsrc.org>2019-12-21 23:28:02 +0000
commit6c468b7d396d8bd38779760f6e20cce7a937ab54 (patch)
tree95f90e339f0eb6af144d1b90c81b6a91d97194f1 /biology
parent0d944e94980bde30c290e9993350bce2ca75f88a (diff)
downloadpkgsrc-6c468b7d396d8bd38779760f6e20cce7a937ab54.tar.gz
Don't hardcode libgomp, but use -fopenmp for linking. Fixes clang with
libomp.
Diffstat (limited to 'biology')
-rw-r--r--biology/gabedit/distinfo3
-rw-r--r--biology/gabedit/patches/patch-platforms_CONFIG.unix13
2 files changed, 15 insertions, 1 deletions
diff --git a/biology/gabedit/distinfo b/biology/gabedit/distinfo
index 8f664265932..9e437ca8b36 100644
--- a/biology/gabedit/distinfo
+++ b/biology/gabedit/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2015/11/02 18:42:21 agc Exp $
+$NetBSD: distinfo,v 1.3 2019/12/21 23:28:02 joerg Exp $
SHA1 (GabeditSrc248.tar.gz) = 7a48f42c39258471faa0a3942890c16b6290de41
RMD160 (GabeditSrc248.tar.gz) = 8dec36e32d493c8e024b7a5bdc386da48ad79675
SHA512 (GabeditSrc248.tar.gz) = d06b54693c4887e3cecb6bb20b98307db8aeb7f32ff87b85af536a4034f2d6af04f30809c04e29ed6fb4744e6290dcd276c9f85b2940daa71a595f6bd5f154da
Size (GabeditSrc248.tar.gz) = 1992373 bytes
+SHA1 (patch-platforms_CONFIG.unix) = c8116441875b943ac25e9ff41d7942d19f391038
SHA1 (patch-src_Common_Gabedit.c) = 44d14190db24e88c20618a0167b2699e234288e8
diff --git a/biology/gabedit/patches/patch-platforms_CONFIG.unix b/biology/gabedit/patches/patch-platforms_CONFIG.unix
new file mode 100644
index 00000000000..ca6d008e027
--- /dev/null
+++ b/biology/gabedit/patches/patch-platforms_CONFIG.unix
@@ -0,0 +1,13 @@
+$NetBSD: patch-platforms_CONFIG.unix,v 1.1 2019/12/21 23:28:02 joerg Exp $
+
+--- platforms/CONFIG.unix.orig 2019-12-20 02:12:57.631729445 +0000
++++ platforms/CONFIG.unix
+@@ -19,7 +19,7 @@ X11LIB = -lX11
+ CC = gcc
+ enable_omp = 1
+ ifeq ($(enable_omp),1)
+-OMPLIB=-L/usr/lib -lgomp
++OMPLIB=-fopenmp
+ OMPCFLAGS=-DENABLE_OMP -fopenmp
+ endif
+ #DRAWGEOMGL=