Date: Sat, 18 Aug 2007 18:45:35 GMT From: "Pedro F. Giffuni" <giffunip@tutopia.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/115615: Fix graphics/xmfract to build on non i386 platforms Message-ID: <200708181845.l7IIjZC9004210@www.freebsd.org> Resent-Message-ID: <200708181850.l7IIo1Bo037074@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 115615 >Category: ports >Synopsis: Fix graphics/xmfract to build on non i386 platforms >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Aug 18 18:50:00 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Pedro F. Giffuni >Release: 6.2-Release >Organization: >Environment: FreeBSD kakumen.cable.net.co 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007 root@portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP amd64 >Description: graphics/xmfract is broken on !i386 with gcc 3.4.*, however it builds fine with newer versions of gcc (at least with gcc 4.2.1). While here, also add editres and the proper Motif path. >How-To-Repeat: Unfortunately it still doesn't quite work in my system (XCreateImage failed), but it might be a local issue related with using a different compiler for Motif. >Fix: diff -ruN xmfract.orig/Makefile xmfract/Makefile --- xmfract.orig/Makefile Sat Aug 18 11:48:16 2007 +++ xmfract/Makefile Sat Aug 18 12:59:56 2007 @@ -19,11 +19,13 @@ USE_MOTIF= yes USE_X_PREFIX= yes GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --with-editres \ + --with-motif="motif_includes=${X11BASE}/include motif_libraries=${X11BASE}/lib" .include <bsd.port.pre.mk> -.if ${ARCH} != "i386" && ${OSVERSION} >= 600034 -BROKEN= Internal compiler error during build on FreeBSD >= 6.0 and !i386 +.if ${ARCH} != "i386" && ${OSVERSION} < 700000 +USE_GCC=4.2+ .endif .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200708181845.l7IIjZC9004210>