From a77403ddfebd3bdcffa04ce4eeeddc29c3fff4c1 Mon Sep 17 00:00:00 2001 From: Volker Stolz Date: Mon, 18 Jun 2007 04:59:21 +0000 Subject: Fix build on amd64 through -fPIC --- x11-toolkits/hs-frantk/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'x11-toolkits/hs-frantk') diff --git a/x11-toolkits/hs-frantk/Makefile b/x11-toolkits/hs-frantk/Makefile index 67857597f050..3905fd55217b 100644 --- a/x11-toolkits/hs-frantk/Makefile +++ b/x11-toolkits/hs-frantk/Makefile @@ -18,6 +18,12 @@ COMMENT= A GUI library for Haskell on top of Tcl-Tk LIB_DEPENDS= tk84.1:${PORTSDIR}/x11-toolkits/tk84 +.include + +.if ${ARCH} == "amd64" +CFLAGS+= -fPIC +.endif + USE_GMAKE= yes WRKSRC= ${WRKDIR}/FranTk1.1/src @@ -36,4 +42,4 @@ post-install: .endif @${CAT} ${PKGMESSAGE} -.include +.include -- cgit v1.2.3