ports/115615: Fix graphics/xmfract to build on non i386 platforms

Pedro F. Giffuni giffunip at tutopia.com
Sat Aug 18 18:50:01 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list