diff options
author | thierry <thierry@FreeBSD.org> | 2015-04-24 03:28:33 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2015-04-24 03:28:33 +0800 |
commit | c2fe4824533c2fbb90cccf0a310ca303a6a4e7b9 (patch) | |
tree | c718105dd063e006c3643abe80914fcb0b685c94 /graphics/cimg | |
parent | a0e794e23b913ecc33f5f877b3a6888b268f1e39 (diff) | |
download | freebsd-ports-gnome-c2fe4824533c2fbb90cccf0a310ca303a6a4e7b9.tar.gz freebsd-ports-gnome-c2fe4824533c2fbb90cccf0a310ca303a6a4e7b9.tar.zst freebsd-ports-gnome-c2fe4824533c2fbb90cccf0a310ca303a6a4e7b9.zip |
At some point, LDFLAGS got lost; reintroduce it, because it is required
when libgfortran is linked with Gcc.
Diffstat (limited to 'graphics/cimg')
-rw-r--r-- | graphics/cimg/files/patch-examples__Makefile | 9 |
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) \ |