From f2084d1b29e9a96cd5b238a79edd8f5bcbbf66c4 Mon Sep 17 00:00:00 2001
From: Kris Kennaway <kris@FreeBSD.org>
Date: Sun, 7 Mar 2004 13:00:02 +0000
Subject: BROKEN on amd64 and ia64: Does not compile (missing -fPIC)

---
 lang/aleph/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'lang/aleph')

diff --git a/lang/aleph/Makefile b/lang/aleph/Makefile
index 9b3bab06ad12..d80ab3718667 100644
--- a/lang/aleph/Makefile
+++ b/lang/aleph/Makefile
@@ -27,10 +27,16 @@ PLIST_SUB=	PORTVER=${PORTVERSION:R}
 
 MAN1=	aleph.1 axc.1 axl.1
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
+BROKEN=		"Does not compile on amd64 or ia64 (missing -fPIC)"
+.endif
+
 do-configure:
 	@(cd ${WRKSRC}; ./cnf/bin/aleph-setup -o)
 
 post-install:
 	@${STRIP_CMD} ${PREFIX}/bin/aleph
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
-- 
cgit v1.2.3