aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornork <nork@FreeBSD.org>2003-02-25 15:36:42 +0800
committernork <nork@FreeBSD.org>2003-02-25 15:36:42 +0800
commit377f44b96d55324f9c2f23df79e45bfa72741a81 (patch)
tree68c075c975d79b497960674a9a7d46f48d86360f
parentf8ced3adbfab2b4222a50e9ecda01b9c31b32171 (diff)
downloadfreebsd-ports-gnome-377f44b96d55324f9c2f23df79e45bfa72741a81.tar.gz
freebsd-ports-gnome-377f44b96d55324f9c2f23df79e45bfa72741a81.tar.zst
freebsd-ports-gnome-377f44b96d55324f9c2f23df79e45bfa72741a81.zip
Change USE_GCC=3.1 to USE_GCC=3.1+. This modification has temporary
sample code in. Reported by: David Yeske <dyeske@yahoo.com> NINOMIYA Hideyuki <nin@jp.FreeBSD.org>
-rw-r--r--graphics/OpenEXR/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/OpenEXR/Makefile b/graphics/OpenEXR/Makefile
index 69ef7c5e689b..43f21ebfccc6 100644
--- a/graphics/OpenEXR/Makefile
+++ b/graphics/OpenEXR/Makefile
@@ -14,13 +14,20 @@ MASTER_SITES= http://savannah.nongnu.org/download/openexr/${PORTNAME}.pkg/${PORT
MAINTAINER= nork@FreeBSD.org
COMMENT= OpenEXR, a high dynamic-range (HDR) image file format developed by ILM
-USE_GCC= 3.1
+USE_GCC= 3.1+
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
INSTALLS_SHLIB= YES
.include <bsd.port.pre.mk>
+.if defined(USE_GCC) && ${USE_GCC} == 3.1+ && ${OSVERSION} < 500035
+CC= gcc31
+CXX= g++31
+BUILD_DEPENDS+= gcc31:${PORTSDIR}/lang/gcc31
+MAKE_ENV+= CC=${CC} CXX=${CXX}
+.endif
+
.if !defined(WITHOUT_X11) && (defined(WITH_FLTK) || defined(WITH_FLTK_XUNICODE))
.if defined(WITH_FLTK_XUNICODE)
LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk-xunicode