summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-02-25 07:36:42 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-02-25 07:36:42 +0000
commitd29d24a0ad15d304f1d6188e7bf9a785dbc5c13a (patch)
tree2a4d32e20503a69730d50ba2cd0043eee92dfdae /graphics
parentUpdate to 3.1.4. (diff)
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>
Notes
Notes: svn path=/head/; revision=76451
Diffstat (limited to 'graphics')
-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