ports/52390: emulators/twin attempts to build on unsupported platforms

Pedro F. Giffuni giffunip at yahoo.com
Sun May 18 05:10:12 UTC 2003


>Number:         52390
>Category:       ports
>Synopsis:       emulators/twin attempts to build on unsupported
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 17 22:10:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Pedro F. Giffuni
>Release:        FreeBSD 5.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD giffuni.org 5.0-RELEASE FreeBSD 5.0-RELEASE #3:
Wed Apr 16 22:20:49 COT 2003
pedro at giffuni.org:/usr/src/sys/i386/compile/CPQ i386


	
>Description:

emulators/twin is only supported on i386, alpha, powerpc, arm
and sparc architectures. There's no chance for other archs.

>How-To-Repeat:
bento
>Fix:
Populate ONLY_FOR_ARCHS with the supported platforms or apply
the following patch that also attempts to clean properly the
configure script (the result is basicly the same though)


__________________________________________________
Yahoo! Plus
For a better Internet experience
http://www.yahoo.co.uk/btoffer
--0-1674956970-1053234357=:23390
Content-Type: text/plain; name=patch-twin
Content-Description: patch-twin
Content-Disposition: inline; filename=patch-twin

diff -ruN twin.orig/Makefile twin/Makefile
--- twin.orig/Makefile	Sat May  3 22:02:14 2003
+++ twin/Makefile	Sat May 17 23:45:30 2003
@@ -15,11 +15,14 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Willows Toolkit for migrating and developing Windows applications
 
+ONLY_FOR_ARCHS= i386 alpha powerpc arm
+
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USE_XLIB=	yes
 USE_GMAKE=	yes
-GNU_CONFIGURE=	yes
+USE_AUTOCONF=	yes
+HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-debugger
 ALL_TARGET=	depend world
 PLIST_SUB=	LIBVER="${LIBVER}"
diff -ruN twin.orig/files/patch-aa twin/files/patch-aa
--- twin.orig/files/patch-aa	Wed Dec 31 19:00:00 1969
+++ twin/files/patch-aa	Sat May 17 23:25:09 2003
@@ -0,0 +1,41 @@
+--- configure.in.orig	Sun Jan 14 03:23:50 2001
++++ configure.in	Sat May 17 23:24:39 2003
+@@ -131,10 +131,18 @@
+ 	TARGET=sunos
+ 	;;
+ 
++   alpha-*-freebsd* )
++	TARGET=freebsd
++	;;
++
+    alpha-*-linux* )
+ 	TARGET=linux
+ 	;;
+ 
++   arm-*-freebsd* )
++	TARGET=arm
++	;;
++
+    arm-*-linux* )
+ 	TARGET=arm
+ 	;;
+@@ -143,7 +151,7 @@
+ 	TARGET=sco
+ 	;;
+ 
+-   i*86-unknown-freebsd* )
++   i*86-*-freebsd* )
+ 	TARGET=freebsd
+ 	;;
+ 
+@@ -153,6 +161,10 @@
+ 
+    i*86-*-cygwin* )
+ 	TARGET=cygwin
++	;;
++
++   powerpc-*-freebsd* )
++	TARGET=freebsd
+ 	;;
+ 
+    powerpc-*-linux* )

--0-1674956970-1053234357=:23390--
>Release-Note:
>Audit-Trail:
>Unformatted:
 --0-1674956970-1053234357=:23390
 Content-Type: text/plain; charset=iso-8859-1
 Content-Transfer-Encoding: 8bit
 Content-Id: 
 Content-Disposition: inline
 
 platforms



More information about the freebsd-ports-bugs mailing list