aboutsummaryrefslogtreecommitdiff
path: root/www/xitami
diff options
context:
space:
mode:
authorNorikatsu Shigemura <nork@FreeBSD.org>2004-07-15 15:12:52 +0000
committerNorikatsu Shigemura <nork@FreeBSD.org>2004-07-15 15:12:52 +0000
commit5c18723c4b768f8ba9fc5228caab71569581d58d (patch)
tree8af9da5925f6d25c7d2d37527fe0e79abb4a64eb /www/xitami
parent9c5824c724d4b1256679b17a173935874f2a894a (diff)
downloadports-5c18723c4b768f8ba9fc5228caab71569581d58d.tar.gz
ports-5c18723c4b768f8ba9fc5228caab71569581d58d.zip
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)
Notes
Notes: svn path=/head/; revision=113719
Diffstat (limited to 'www/xitami')
-rw-r--r--www/xitami/Makefile5
-rw-r--r--www/xitami/files/patch-ae3
2 files changed, 3 insertions, 5 deletions
diff --git a/www/xitami/Makefile b/www/xitami/Makefile
index 00f9383040f3..02ecff1f143d 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 e3e07408b918..f54159cc6726 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