ports/162510: [patch] Upgrade graphics/OpenEXR to version 1.7.0
Conrad J. Sabatier
conrads at cox.net
Sun Nov 13 02:20:07 UTC 2011
>Number: 162510
>Category: ports
>Synopsis: [patch] Upgrade graphics/OpenEXR to version 1.7.0
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sun Nov 13 02:20:06 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Conrad J. Sabatier
>Release: FreeBSD 9.0-RC2 amd64
>Organization:
>Environment:
System: FreeBSD serene.no-ip.org 9.0-RC2 FreeBSD 9.0-RC2 #1: Tue Nov 8 21:53:52 CST 2011 conrads at serene.no-ip.org:/usr/obj/usr/src/sys/CUSTOM amd64
>Description:
Upgrade graphics/OpenEXR to version 1.7.0. Add OPTIONS= LARGE_STACK
to enable large stack optimizations (on systems which support this).
Reorder a few Makefile variables to satisfy portlint.
>How-To-Repeat:
N/A
>Fix:
Patch below.
--- graphics-OpenEXR.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/OpenEXR/Makefile,v
retrieving revision 1.42
diff -u -r1.42 Makefile
--- Makefile 23 Sep 2011 22:23:02 -0000 1.42
+++ Makefile 13 Nov 2011 01:40:10 -0000
@@ -6,12 +6,11 @@
#
PORTNAME= OpenEXR
-PORTVERSION= 1.6.1
-PORTREVISION= 3
-DISTNAME= ${PORTNAME:L}-${PORTVERSION}
+PORTVERSION= 1.7.0
CATEGORIES= graphics devel
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME:L}
+DISTNAME= ${PORTNAME:L}-${PORTVERSION}
MAINTAINER= nork at FreeBSD.org
COMMENT= A high dynamic-range (HDR) image file format
@@ -26,6 +25,15 @@
CONFIGURE_ARGS+=--enable-imfexamples
+OPTIONS= LARGE_STACK "Enable sys-dependent large stack optimizations" Off
+
+.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
+
+.if defined(WITH_LARGE_STACK)
+CONFIGURE_ARGS+= --enable-large-stack
+.endif
+
# must be explicitely linked with -l{thr|pthread}
LDFLAGS+= ${PTHREAD_LIBS}
PTHREAD_LIBS+= `${CC} -dumpspecs | ${SED} -ne '/%{\!pg: %{pthread:/s/^.*%{\!pg: %{pthread:\([^}]*\)}.*$$/\1/p' || ${TRUE}`
@@ -35,8 +43,6 @@
test check: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
-.include <bsd.port.pre.mk>
-
# IlmImfTest hangs indefinitely
#
#.if defined(PACKAGE_BUILDING)
@@ -47,5 +53,4 @@
#.endif
#.endif
-
.include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/graphics/OpenEXR/distinfo,v
retrieving revision 1.11
diff -u -r1.11 distinfo
--- distinfo 3 Jul 2011 14:10:58 -0000 1.11
+++ distinfo 13 Nov 2011 01:13:31 -0000
@@ -1,2 +1,2 @@
-SHA256 (openexr-1.6.1.tar.gz) = c616906ab958de9c37bb86ca7547cfedbdfbad5e1ca2a4ab98983c9afa6a5950
-SIZE (openexr-1.6.1.tar.gz) = 13632660
+SHA256 (openexr-1.7.0.tar.gz) = b68a2164d01bd028d15bd96af2704634a344e291dc7cc2019a662045d8c52ca4
+SIZE (openexr-1.7.0.tar.gz) = 13542910
--- graphics-OpenEXR.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list