ports/172363: [maintainer update] update graphics/py-openimageio
Shane Ambler
FreeBSD at Shaneware.biz
Fri Oct 5 16:10:13 UTC 2012
>Number: 172363
>Category: ports
>Synopsis: [maintainer update] update graphics/py-openimageio
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Oct 05 16:10:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Shane Ambler
>Release: 9.0-RELEASE-p1
>Organization:
>Environment:
FreeBSD leader.local 9.0-RELEASE-p1 FreeBSD 9.0-RELEASE-p1 #1: Tue May 15 12:34:33 CST 2012 shane at leader.local:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
This is a small change to graphics/py-openimageio
commit reason --
gcc46 was found to create a corrupted binary on i386 targets.
gcc42 must be used for i386 binaries.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -Nru py-openimageio.orig/Makefile py-openimageio/Makefile
--- py-openimageio.orig/Makefile 2012-10-06 00:46:40.494352236 +0930
+++ py-openimageio/Makefile 2012-10-05 04:26:28.617826077 +0930
@@ -7,6 +7,7 @@
PORTNAME= openimageio
PORTVERSION= 1.0.9
+PORTREVISION= 1
CATEGORIES= graphics multimedia python
MASTER_SITES= https://github.com/OpenImageIO/oiio/tarball/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -42,8 +43,9 @@
.include <bsd.port.pre.mk>
-.if ${ARCH} == "i386" || ${OSVERSION} < 803000
-USE_GCC= 4.6+
+.if ${ARCH} == "i386" && ${CC} != "clang"
+# gcc > 4.2 builds a corrupted i386 binary
+USE_GCC= 4.2
.endif
.if ${OSVERSION} < 800000
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list