From nobody@FreeBSD.org  Thu Sep 24 17:58:02 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E7D23106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 24 Sep 2009 17:58:02 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id D6EFE8FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 24 Sep 2009 17:58:02 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n8OHw2T3090324
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 24 Sep 2009 17:58:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n8OHw16h090323;
	Thu, 24 Sep 2009 17:58:01 GMT
	(envelope-from nobody)
Message-Id: <200909241758.n8OHw16h090323@www.freebsd.org>
Date: Thu, 24 Sep 2009 17:58:01 GMT
From: Alexander Moisseev <moiseev@mezonplus.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch][maintainer-update] www/free-sa-devel: CPU architecture fix
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 24 18:00:12 UTC 2009
>Closed-Date:    Sun Sep 27 18:44:34 UTC 2009
>Last-Modified:  Sun Sep 27 18:50:00 UTC 2009
>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:
State-Changed-From-To: open->closed 
State-Changed-By: lippe 
State-Changed-When: Sun Sep 27 18:44:32 UTC 2009 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=139119 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/139119: commit references a PR
Date: Sun, 27 Sep 2009 18:44:32 +0000 (UTC)

 lippe       2009-09-27 18:44:16 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/free-sa-devel    Makefile 
   Log:
   - Now fix to use this port on !i386.
   
   PR:             ports/139119
   Submitted by:   Alexander Moisseev <moiseev@mezonplus.ru> (maintainer)
   Feature safe:   yes
   
   Revision  Changes    Path
   1.3       +3 -6      ports/www/free-sa-devel/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
