From d799d2c470b42b979929e13f9de915c018f757e1 Mon Sep 17 00:00:00 2001
From: Kris Kennaway <kris@FreeBSD.org>
Date: Sat, 6 Mar 2004 12:20:56 +0000
Subject: BROKEN on amd64: Does not compile (-fPIC missing)

---
 graphics/lfview/Makefile | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'graphics/lfview')

diff --git a/graphics/lfview/Makefile b/graphics/lfview/Makefile
index ca402979e506..24f2401b205f 100644
--- a/graphics/lfview/Makefile
+++ b/graphics/lfview/Makefile
@@ -18,6 +18,12 @@ USE_IMAKE=	yes
 INSTALLS_SHLIB=	yes
 NO_INSTALL_MANPAGES=	yes
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+BROKEN=		"Does not compile on amd64 (-fPIC missing)"
+.endif
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/lfview ${PREFIX}/bin
 	${INSTALL_DATA} ${WRKSRC}/plugins/liblfv_leaf.so.1 ${PREFIX}/lib
@@ -27,4 +33,4 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ja/lfview
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0