From 22a61b610edd313e560d83797a6fc83c3ae66a23 Mon Sep 17 00:00:00 2001 From: nork Date: Thu, 15 Jul 2004 15:12:52 +0000 Subject: Fix build error on some platforms (except for i386 and alpha). PR: ports/69012 Submitted by: Hiroo Ono Approved by: Bernd Luevelsmeyer (maintainer) Tested on the box from: AMD Developper Program (FreeBSD/amd64) --- www/xitami/Makefile | 5 +---- www/xitami/files/patch-ae | 3 ++- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'www/xitami') diff --git a/www/xitami/Makefile b/www/xitami/Makefile index 00f9383040f..02ecff1f143 100644 --- a/www/xitami/Makefile +++ b/www/xitami/Makefile @@ -7,6 +7,7 @@ PORTNAME= xitami PORTVERSION= 2.4d7 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://users.skynet.be/sky37432/ DISTNAME= suni24d7 @@ -19,10 +20,6 @@ NO_WRKSUBDIR= yes .include -.if ${ARCH} != "i386" && ${ARCH} != "alpha" -BROKEN= "Does not compile on !i386 and !alpha" -.endif - do-build: @${CHMOD} +x ${WRKSRC}/xibuild @${SETENV} TOPDIR=${WRKSRC} ${SH} ${WRKSRC}/xibuild diff --git a/www/xitami/files/patch-ae b/www/xitami/files/patch-ae index e3e07408b91..f54159cc672 100644 --- a/www/xitami/files/patch-ae +++ b/www/xitami/files/patch-ae @@ -5,7 +5,8 @@ # define __UTYPE_FREEBSD # define __UNIX__ +#if !defined(__i386__) -+# define __IS_64_BIT__ ++# undef __IS_32BIT__ ++# define __IS_64BIT__ +#endif #elif (defined (NetBSD) || defined (__NetBSD__)) # define __UTYPE_NETBSD -- cgit