Date: Tue, 25 Sep 2007 01:35:52 +0400 (MSD) From: Dmitry Marakasov <amdmi3@amdmi3.ru> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/116614: [MAINTAINER] games/quantumminigolf: fix build on amd64 Message-ID: <20070924213552.2FFED4049@hades.panopticon> Resent-Message-ID: <200709242140.l8OLe8Gc007700@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 116614 >Category: ports >Synopsis: [MAINTAINER] games/quantumminigolf: fix build on amd64 >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: Mon Sep 24 21:40:08 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 6.1-RELEASE-p12 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 23:12:21 MSK 2007 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: As reported py pav@, the port does not build on amd64: --- c++ -I/usr/local/include -I/usr/local/include/SDL -O -pipe -O3 -fomit-frame-pointer -finline-functions -malign-double -funroll-all-loops -Wall -Wno-unused -DLINUX -c quantumminigolf.cpp -o quantumminigolf.o=20 quantumminigolf.cpp:1: error: -malign-double makes no sense in the 64bit mode gmake: *** [quantumminigolf.o] Error 1 *** Error code 2 --- The patch attached should solve the problem, by removing -malign-double on non-i386 systems >How-To-Repeat: >Fix: --- quantumminigolf.patch begins here --- diff -ruN quantumminigolf.orig/Makefile quantumminigolf/Makefile --- quantumminigolf.orig/Makefile Tue Sep 25 01:31:37 2007 +++ quantumminigolf/Makefile Tue Sep 25 01:32:43 2007 @@ -28,7 +28,10 @@ .include <bsd.port.pre.mk> .if !defined(WITHOUT_OCFLAGS) -CXXFLAGS+= -O3 -fomit-frame-pointer -finline-functions -malign-double -funroll-all-loops +CXXFLAGS+= -O3 -fomit-frame-pointer -finline-functions -funroll-all-loops +. if ${ARCH} == "i386" +CXXFLAGS+= -malign-double +. endif .endif post-patch: --- quantumminigolf.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070924213552.2FFED4049>