Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 May 2003 03:53:39 +0100 (BST)
From:      "=?iso-8859-1?q?Pedro=20F.=20Giffuni?=" <giffunip@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/52390: emulators/twin attempts to build on unsupported platforms
Message-ID:  <20030523025339.63420.qmail@web13401.mail.yahoo.com>
In-Reply-To: <200305180510.h4I5AALj090898@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--0-2047485371-1053658419=:63120
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Content-Id: 
Content-Disposition: inline

I checked the alpha build log and I think I have a workaround
for the brokeness.

This patch should fix the build on non-i386 platforms, without
affecting the i386 build.

__________________________________________________
It's Samaritans' Week. Help Samaritans help others. 
Call 08709 000032 to give or donate online now at http://www.samaritans.org/support/donations.shtm
--0-2047485371-1053658419=:63120
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	Thu May 22 19:41:29 2003
@@ -15,13 +15,20 @@
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Willows Toolkit for migrating and developing Windows applications
 
+ONLY_FOR_ARCHS= i386 alpha powerpc arm mips sparc
+
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USE_XLIB=	yes
 USE_GMAKE=	yes
-GNU_CONFIGURE=	yes
+HAS_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-debugger
+.if ${MACHINE_ARCH} != "i386"
+  CONFIGURE_ARGS+= --disable-intp
+.endif
+
 ALL_TARGET=	depend world
+
 PLIST_SUB=	LIBVER="${LIBVER}"
 INSTALLS_SHLIB=	yes
 

--0-2047485371-1053658419=:63120--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030523025339.63420.qmail>