diff options
author | vs <vs@FreeBSD.org> | 2007-06-18 12:59:21 +0800 |
---|---|---|
committer | vs <vs@FreeBSD.org> | 2007-06-18 12:59:21 +0800 |
commit | 01604fbb417099e0fdd1ba9ddad65a31280ca602 (patch) | |
tree | 186c56237d032ed93bf7b738cdf253de4c2d8c81 /x11-toolkits/hs-frantk | |
parent | d8be5dabc9b7a66079763d88f09e272e00a0edd9 (diff) | |
download | freebsd-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/Makefile | 8 |
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> |