From a67dce06c2cf3f0b4f519c8cb4bc37ff0d36c6e9 Mon Sep 17 00:00:00 2001
From: Kris Kennaway <kris@FreeBSD.org>
Date: Sat, 6 Mar 2004 23:52:02 +0000
Subject: BROKEN on !i386 and !alpha: Does not compile

---
 www/mod_php3/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/www/mod_php3/Makefile b/www/mod_php3/Makefile
index 4531b19dbde7..f95c58a737d5 100644
--- a/www/mod_php3/Makefile
+++ b/www/mod_php3/Makefile
@@ -64,6 +64,12 @@ AP_LIBEXEC=	${PREFIX}/libexec/apache
 
 PLIST_SUB=	AP_LIBEXEC=${AP_LIBEXEC:S/^${PREFIX}\///}
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "i386" && ${ARCH} != "alpha"
+BROKEN=		"Does not compile on !i386 and !alpha"
+.endif
+
 pre-fetch:
 	@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.php
 
@@ -105,4 +111,4 @@ LIB_DEPENDS+=	mysqlclient.10:${PORTSDIR}/databases/mysql323-client
 .endif
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0