ports/146043: [patch] make dyncall build on powerpc

Andreas Tobler andreast-list at fgznet.ch
Sun Apr 25 18:30:12 UTC 2010


>Number:         146043
>Category:       ports
>Synopsis:       [patch] make dyncall build on powerpc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 25 18:30:11 UTC 2010
>Closed-Date:
>Last-Modified:
>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 at 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:
>Unformatted:



More information about the freebsd-ports-bugs mailing list