aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2012-02-06 19:44:40 +0800
committergahr <gahr@FreeBSD.org>2012-02-06 19:44:40 +0800
commit19cd3bdc42e7ff6913cca4d2fd3d896140f6e7ef (patch)
tree1c40eef39a043fbbd34cc96a7a954a7f85a3911f
parentdf04b2c69b1e11310cb5b3ecb3fb21ebc8df68aa (diff)
downloadfreebsd-ports-graphics-19cd3bdc42e7ff6913cca4d2fd3d896140f6e7ef.tar.gz
freebsd-ports-graphics-19cd3bdc42e7ff6913cca4d2fd3d896140f6e7ef.tar.zst
freebsd-ports-graphics-19cd3bdc42e7ff6913cca4d2fd3d896140f6e7ef.zip
- restore original CFLAGS to avoid symbols clash
PR: 164285 Submitted by: Lee Thomas <lee_thomas@lthomas.net>
-rw-r--r--graphics/freeimage/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/graphics/freeimage/Makefile b/graphics/freeimage/Makefile
index befed4496a7..6b74e6b52f3 100644
--- a/graphics/freeimage/Makefile
+++ b/graphics/freeimage/Makefile
@@ -20,6 +20,8 @@ USE_GMAKE= yes
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/FreeImage
+CFLAGS+= -fexceptions -fvisibility=hidden
+
PLIST_FILES= include/FreeImage.h \
lib/libfreeimage.a \
lib/libfreeimage-${PORTVERSION}.so \