Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2009 17:58:01 GMT
From:      Alexander Moisseev <moiseev@mezonplus.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/139119: [patch][maintainer-update] www/free-sa-devel: CPU architecture fix
Message-ID:  <200909241758.n8OHw16h090323@www.freebsd.org>
Resent-Message-ID: <200909241800.n8OI0CJC023927@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         139119
>Category:       ports
>Synopsis:       [patch][maintainer-update] www/free-sa-devel: CPU architecture fix
>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:   Thu Sep 24 18:00:12 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Moisseev
>Release:        
>Organization:
>Environment:
>Description:
Port failed to build on amd64.

Build log:

http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/a.8-exp.20090921073642/free-sa-devel-2.0.0b2.log

The attached patch fixes selection of CPU architecture.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN free-sa-devel.old/Makefile free-sa-devel/Makefile
--- free-sa-devel.old/Makefile	2009-09-20 05:36:55.000000000 +0400
+++ free-sa-devel/Makefile	2009-09-24 20:31:54.000000000 +0400
@@ -36,10 +36,10 @@
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-Makefile
 .endif
 
-.if (${OSVERSION} >= 700000 && ${OSVERSION} <= 800000)
-EXTRA_PATCHES+=	${FILESDIR}/extra-patch-global-native.mk
-.else
+.if ${ARCH} == "i386"
 EXTRA_PATCHES+=	${FILESDIR}/extra-patch-global-i386.mk
+.else
+EXTRA_PATCHES+=	${FILESDIR}/extra-patch-global-native.mk
 .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?200909241758.n8OHw16h090323>