diff options
author | nork <nork@FreeBSD.org> | 2004-07-15 15:12:52 +0000 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2004-07-15 15:12:52 +0000 |
commit | 22a61b610edd313e560d83797a6fc83c3ae66a23 (patch) | |
tree | 45655084c11064cba2c237003a5f7b472afb051f /www | |
parent | cb5f9952fc1de2eb9e2b4713016b749d8d3572f6 (diff) | |
download | FreeBSD-ports-22a61b610edd313e560d83797a6fc83c3ae66a23.zip FreeBSD-ports-22a61b610edd313e560d83797a6fc83c3ae66a23.tar.gz |
Fix build error on some platforms (except for i386 and alpha).
PR: ports/69012
Submitted by: Hiroo Ono <hiroo@oikumene.gcd.org>
Approved by: Bernd Luevelsmeyer <bdluevel@heitec.net> (maintainer)
Tested on the box from: AMD Developper Program (FreeBSD/amd64)
Diffstat (limited to 'www')
-rw-r--r-- | www/xitami/Makefile | 5 | ||||
-rw-r--r-- | www/xitami/files/patch-ae | 3 |
2 files changed, 3 insertions, 5 deletions
diff --git a/www/xitami/Makefile b/www/xitami/Makefile index 00f9383..02ecff1 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 <bsd.port.pre.mk> -.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 e3e0740..f54159c 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 |