pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/biology/gabedit Don't hardcode libgomp, but use -fopen...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bf1e29c4e4fd
branches:  trunk
changeset: 406425:bf1e29c4e4fd
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Dec 21 23:28:02 2019 +0000

description:
Don't hardcode libgomp, but use -fopenmp for linking. Fixes clang with
libomp.

diffstat:

 biology/gabedit/distinfo                            |   3 ++-
 biology/gabedit/patches/patch-platforms_CONFIG.unix |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 94750d5a557a -r bf1e29c4e4fd biology/gabedit/distinfo
--- a/biology/gabedit/distinfo  Sat Dec 21 23:27:03 2019 +0000
+++ b/biology/gabedit/distinfo  Sat Dec 21 23:28:02 2019 +0000
@@ -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 -r 94750d5a557a -r bf1e29c4e4fd biology/gabedit/patches/patch-platforms_CONFIG.unix
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/biology/gabedit/patches/patch-platforms_CONFIG.unix       Sat Dec 21 23:28:02 2019 +0000
@@ -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= 



Home | Main Index | Thread Index | Old Index