ports/77027: lang/elk: fix for compilation on amd64

Johan van Selst johans at stack.nl
Wed Feb 2 18:30:25 UTC 2005

>Number:         77027
>Category:       ports
>Synopsis:       lang/elk: fix for compilation on amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 02 18:30:23 GMT 2005
>Originator:     Johan van Selst
>Release:        FreeBSD 6.0-CURRENT amd64
System: FreeBSD hammer.stack.nl 6.0-CURRENT FreeBSD 6.0-CURRENT #3: Mon Nov 1 18:36:46 CET 2004 marcolz at hammer.stack.nl:/usr/obj/usr/src/sys/HAMMER amd64

	This looks like a compiler bug - am not ready to debug gcc though.
	Fix: disable compiler optimisation on amd64



Include workaround for amd64 in ports Makefile (is this the right location?)
Should probably include a helpful comment as well...

--- Makefile.orig	Wed Feb  2 19:11:27 2005
+++ Makefile	Wed Feb  2 19:08:51 2005
@@ -33,7 +33,7 @@
 .include <bsd.port.pre.mk>
 .if ${ARCH} == "amd64"
-BROKEN=		"Does not build"

More information about the freebsd-ports-bugs mailing list