aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2003-05-11 19:45:59 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2003-05-11 19:45:59 +0000
commit74fa6837ce9db82323f66fb5b8c3d7cf318fb223 (patch)
treefc839c39cf17a1d4adce5106da6dcf05ec45516c /graphics
parentda8f8940b1f46770c23190a10477115ba63deefd (diff)
downloadports-74fa6837ce9db82323f66fb5b8c3d7cf318fb223.tar.gz
ports-74fa6837ce9db82323f66fb5b8c3d7cf318fb223.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/OpenEXR/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/graphics/OpenEXR/Makefile b/graphics/OpenEXR/Makefile
index c1d7fcaf073b..b5a08f24985e 100644
--- a/graphics/OpenEXR/Makefile
+++ b/graphics/OpenEXR/Makefile
@@ -7,7 +7,7 @@
PORTNAME= OpenEXR
PORTVERSION= 1.0.5
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics devel
MASTER_SITES= http://savannah.nongnu.org/download/openexr/${PORTNAME}.pkg/${PORTVERSION}/
@@ -30,17 +30,13 @@ 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
-.else
-LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
-.endif
-USE_MESA= YES
+.if !defined(WITHOUT_X11) && defined(WITH_FLTK)
CONFIGURE_ARGS+=--with-fltk-config=${X11BASE}/bin/fltk-config
+USE_MESA= YES
CFLAGS+= ${PTHREAD_CFLAGS}
LDFLAGS+= ${PTHREAD_LDFLAGS}
PLIST_SUB+= WITH_FLTK=
+LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk
.if ${OSVERSION} < 500035
pre-everything::
@${ECHO_CMD} ===================================================