aboutsummaryrefslogtreecommitdiff
path: root/graphics/cimg/files
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2015-04-23 19:28:33 +0000
committerThierry Thomas <thierry@FreeBSD.org>2015-04-23 19:28:33 +0000
commit418401ebb3cf80a8dc92dc4bd5d9a52560e7ddab (patch)
treec718105dd063e006c3643abe80914fcb0b685c94 /graphics/cimg/files
parentc85313c20424a9ede69f0483c0be0a4aece202e8 (diff)
downloadports-418401ebb3cf80a8dc92dc4bd5d9a52560e7ddab.tar.gz
ports-418401ebb3cf80a8dc92dc4bd5d9a52560e7ddab.zip
At some point, LDFLAGS got lost; reintroduce it, because it is required
when libgfortran is linked with Gcc.
Notes
Notes: svn path=/head/; revision=384603
Diffstat (limited to 'graphics/cimg/files')
-rw-r--r--graphics/cimg/files/patch-examples__Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/graphics/cimg/files/patch-examples__Makefile b/graphics/cimg/files/patch-examples__Makefile
index 837244a58f4c..d5a7c020aba5 100644
--- a/graphics/cimg/files/patch-examples__Makefile
+++ b/graphics/cimg/files/patch-examples__Makefile
@@ -107,7 +107,7 @@
CIMG_BOARD_LIBS = -lboard
+# Flags to compile on FreeBSD
-+CIMG_FREEBSD_LDFLAGS = -ansi -ffast-math -I$(X11PATH)/include $(EXTRA_FLAGS) -lX11 -L$(X11PATH)/lib
++CIMG_FREEBSD_LDFLAGS = $(LDFLAGS) -ansi -ffast-math -I$(X11PATH)/include $(EXTRA_FLAGS) -lX11 -L$(X11PATH)/lib
+
# Flags to compile on Sun Solaris
CIMG_SOLARIS_LIBS = -R$(X11PATH)/lib -lrt -lnsl -lsocket
@@ -122,15 +122,18 @@
all
olinux:
-@@ -378,6 +382,7 @@ $(CIMG_ZLIB_CFLAGS) \
+@@ -378,8 +382,10 @@ $(CIMG_ZLIB_CFLAGS) \
$(CIMG_CURL_CFLAGS) \
$(CIMG_OPENCV_CFLAGS) \
$(CIMG_MAGICK_CFLAGS) \
+$(CIMG_LAPACK_CFLAGS) \
$(CIMG_FFTW3_CFLAGS)" \
"CONF_LIBS = \
++$(CIMG_FREEBSD_LDFLAGS) \
$(CIMG_X11_LIBS) \
-@@ -389,6 +394,7 @@ $(CIMG_PNG_LIBS) \
+ $(CIMG_XSHM_LIBS) \
+ $(CIMG_XRANDR_LIBS) \
+@@ -389,6 +395,7 @@ $(CIMG_PNG_LIBS) \
$(CIMG_JPEG_LIBS) \
$(CIMG_ZLIB_LIBS) \
$(CIMG_CURL_LIBS) \