mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
o no need USE_GCC.
o bump PORTREVISION acordingly. Submitted by: David Yeske <dyeske@yahoo.com>
This commit is contained in:
parent
cadf97cd7b
commit
3267bf0a95
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99826
@ -7,14 +7,13 @@
|
||||
|
||||
PORTNAME= OpenEXR
|
||||
PORTVERSION= 1.0.7
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= graphics devel
|
||||
MASTER_SITES= http://www.openexr.com/downloads/
|
||||
|
||||
MAINTAINER= nork@FreeBSD.org
|
||||
COMMENT= OpenEXR, a high dynamic-range (HDR) image file format developed by ILM
|
||||
|
||||
USE_GCC= 3.1+
|
||||
USE_LIBTOOL= YES
|
||||
GNU_CONFIGURE= YES
|
||||
INSTALLS_SHLIB= YES
|
||||
@ -23,13 +22,6 @@ EXAMPLESDIR= ${PREFIX}/share/examples/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
.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)
|
||||
CONFIGURE_ARGS+=--with-fltk-config=${X11BASE}/bin/fltk-config
|
||||
USE_MESA= YES
|
||||
@ -37,12 +29,6 @@ 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} ===================================================
|
||||
@${ECHO_CMD} Please install x11-toolkits/fltk* with USE_GCC=3.1.
|
||||
@${ECHO_CMD} ===================================================
|
||||
.endif
|
||||
.else
|
||||
CONFIGURE_ARGS+=--with-fltk-config=${FALSE} --without-x
|
||||
PLIST_SUB+= WITH_FLTK="@comment "
|
||||
|
Loading…
Reference in New Issue
Block a user