freebsd-ports/science/cgnslib/files/patch-src_make.defs.in
Joseph Mingrone 6a752510b9 science/cgnslib: Update to 3.3.1 and modernize
- Obtain sources from GitHub
- Use option helpers
- Remove SZIP option, since HDF5 always wants to link to it

Approved by:	thierry (maintainer)
Differential Revision:	https://reviews.freebsd.org/D17432
2018-10-18 00:27:01 +00:00

20 lines
670 B
Text

--- src/make.defs.in.orig 2017-07-17 21:51:06 UTC
+++ src/make.defs.in
@@ -16,7 +16,7 @@ CFLAGS = @CFLAGS@ @SYSCFLAGS@
COOUT = @COOUT@
CEOUT = @CEOUT@
LDFLAGS = @LDFLAGS@
-CLIBS = @LIBS@
+CLIBS = @LIBS@ -lpthread
#------------------------------------------------------------------------
# SPACE - used to force a space in the compiler executable output flag
@@ -68,7 +68,7 @@ BUILDFORTRAN = @BUILDFORTRAN@
F77 = @F77@
FFLAGS = @FFLAGS@ @SYSFFLAGS@
FEOUT = @FEOUT@
-FLIBS = @FLIBS@
+FLIBS = @FLIBS@ -lpthread
#------------------------------------------------------------------------
# strip command for executables - set to true if not used