ports/146020: [patch] make OpenExr build on powerpc
Andreas Tobler
andreast-list at fgznet.ch
Sat Apr 24 19:30:05 UTC 2010
>Number: 146020
>Category: ports
>Synopsis: [patch] make OpenExr build on powerpc
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Apr 24 19:30:04 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Andreas Tobler
>Release: -CURRENT
>Organization:
none
>Environment:
FreeBSD wolfram.andreas.nets 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r206757M: Mon Apr 19 19:38:56 CEST 2010 root at wolfram.andreas.nets:/usr/obj/export/devel/fbsd/src/sys/ANDREAST_ppc_pb powerpc
>Description:
OpenExr does not build on powerpc due to some bogus dumpspecs in the Makefile.
>How-To-Repeat:
>Fix:
The attached patch does fix this issue, tested on powerpc and i386
Patch attached with submission follows:
--- Makefile.orig 2010-04-24 20:52:15.000000000 +0200
+++ Makefile 2010-04-24 21:11:33.000000000 +0200
@@ -28,7 +28,7 @@
# must be explicitely linked with -l{thr|pthread}
CONFIGURE_ENV= LDFLAGS="${PTHREAD_LIBS}"
-PTHREAD_LIBS+= `${CC} -dumpspecs | ${GREP} -m 1 pthread | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}`
+PTHREAD_LIBS+= `${CC} -dumpspecs | ${GREP} -m 1 '%{\!pg: %{pthread:' | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}`
WRKSRC= ${WRKDIR}/${DISTNAME}
@@ -47,8 +47,5 @@
#.endif
#.endif
-.if ${ARCH} == "powerpc"
-BROKEN= Does not configure on powerpc
-.endif
.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list