aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/hs-frantk
diff options
context:
space:
mode:
authorvs <vs@FreeBSD.org>2007-06-18 12:59:21 +0800
committervs <vs@FreeBSD.org>2007-06-18 12:59:21 +0800
commit01604fbb417099e0fdd1ba9ddad65a31280ca602 (patch)
tree186c56237d032ed93bf7b738cdf253de4c2d8c81 /x11-toolkits/hs-frantk
parentd8be5dabc9b7a66079763d88f09e272e00a0edd9 (diff)
downloadfreebsd-ports-gnome-01604fbb417099e0fdd1ba9ddad65a31280ca602.tar.gz
freebsd-ports-gnome-01604fbb417099e0fdd1ba9ddad65a31280ca602.tar.zst
freebsd-ports-gnome-01604fbb417099e0fdd1ba9ddad65a31280ca602.zip
Fix build on amd64 through -fPIC
Diffstat (limited to 'x11-toolkits/hs-frantk')
-rw-r--r--x11-toolkits/hs-frantk/Makefile8
1 files changed, 7 insertions, 1 deletions
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 <bsd.port.pre.mk>
+
+.if ${ARCH} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/FranTk1.1/src
@@ -36,4 +42,4 @@ post-install:
.endif
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>