From nobody@FreeBSD.org  Sun Apr 25 18:22:11 2010
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 C3D51106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Apr 2010 18:22:11 +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 B3F948FC14
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Apr 2010 18:22:11 +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 o3PIMBLc041295
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 25 Apr 2010 18:22:11 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o3PIMBKl041294;
	Sun, 25 Apr 2010 18:22:11 GMT
	(envelope-from nobody)
Message-Id: <201004251822.o3PIMBKl041294@www.freebsd.org>
Date: Sun, 25 Apr 2010 18:22:11 GMT
From: Andreas Tobler <andreast-list@fgznet.ch>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] make dyncall build on powerpc
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146043
>Category:       ports
>Synopsis:       [patch] make dyncall build on powerpc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    beat
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 25 18:30:11 UTC 2010
>Closed-Date:    Wed Apr 28 16:18:53 UTC 2010
>Last-Modified:  Wed Apr 28 16:20:01 UTC 2010
>Originator:     Andreas Tobler
>Release:        -CURRENT
>Organization:
nonw
>Environment:
FreeBSD wolfram.andreas.nets 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r207154M: Sun Apr 25 02:19:25 CEST 2010     andreast@wolfram.andreas.nets:/usr/obj/export/devel/fbsd/src/sys/ANDREAST_ppc_pb  powerpc
>Description:
The attached patch plus this Makefile diff makes dyncall build on powerpc:

--- Makefile.orig	2010-04-25 17:41:32.000000000 +0200
+++ Makefile	2010-04-25 17:41:49.000000000 +0200
@@ -23,7 +23,7 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "sparc64" || ${ARCH} == "ia64" || ${ARCH} == "powerpc"
+.if ${ARCH} == "sparc64" || ${ARCH} == "ia64"
 BROKEN=		Does not install (unsupported architecture)
 .endif
 

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- configure.orig	2010-04-25 17:44:13.000000000 +0200
+++ configure	2010-04-25 17:46:55.000000000 +0200
@@ -145,7 +145,7 @@
     elif [ "$ARCH" = "amd64" ] || [ "$ARCH" = "x86_64" ] || [ "$ARCH" = "x64" ]; then
       CONFIG_ARCH="x64"
     fi
-  elif [ "$ARCH" = "Power Macintosh" ] || [ "$ARCH" = "ppc" ] || [ "$ARCH" = "macppc" ]; then
+  elif [ "$ARCH" = "Power Macintosh" ] || [ "$ARCH" = "ppc" ] || [ "$ARCH" = "macppc" ] || [ "$ARCH" = "powerpc" ]; then
     CONFIG_ARCH="ppc32"
   elif [ "$ARCH" = "x86" ] || [ "$ARCH" = "i386" ] || [ "$ARCH" = "i486" ] || [ "$ARCH" = "i586" ] || [ "$ARCH" = "i686" ] || [ "$ARCH" = "i86pc" ]; then
     CONFIG_ARCH="x86"


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->beat 
Responsible-Changed-By: beat 
Responsible-Changed-When: Tue Apr 27 21:01:16 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

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

From: Beat Gaetzi <beat@FreeBSD.org>
To: bug-followup@FreeBSD.org, tphilipp@potion-studios.com
Cc:  
Subject: Re: ports/146043: [patch] make dyncall build on powerpc
Date: Wed, 28 Apr 2010 00:11:37 +0200

 Maintainer of devel/dyncall,
 
 Please note that PR ports/146043 has just been submitted.
 
 If it contains a bug fix you agree on, reply to this email stating that
 you approve the patch and I will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/146043
 
 Thanks,
 Beat
State-Changed-From-To: open->closed 
State-Changed-By: beat 
State-Changed-When: Wed Apr 28 16:18:52 UTC 2010 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/146043: commit references a PR
Date: Wed, 28 Apr 2010 16:18:25 +0000 (UTC)

 beat        2010-04-28 16:18:12 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/dyncall        Makefile 
   Added files:
     devel/dyncall/files  patch-configure 
   Log:
   - Fix build on PowerPC
   
   PR:             ports/146043
   Submitted by:   Andreas Tobler <andreast-list AT fgznet.ch>
   Approved by:    Tassilo Philipp <tphilipp AT potion-studios.com> (maintainer, via private mail)
   
   Revision  Changes    Path
   1.7       +1 -1      ports/devel/dyncall/Makefile
   1.1       +11 -0     ports/devel/dyncall/files/patch-configure (new)
 _______________________________________________
 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:
