aboutsummaryrefslogtreecommitdiffstats
path: root/lang/lua4
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2004-02-23 03:02:10 +0800
committerarved <arved@FreeBSD.org>2004-02-23 03:02:10 +0800
commitb4d3aa0b31f32935f42999457895b4356287c288 (patch)
tree8bde41d8eafdae0cedc4abdae234873e50624e0d /lang/lua4
parent832f6c9ff5998aacc01808649e4b9262923b8fbc (diff)
downloadfreebsd-ports-gnome-b4d3aa0b31f32935f42999457895b4356287c288.tar.gz
freebsd-ports-gnome-b4d3aa0b31f32935f42999457895b4356287c288.tar.zst
freebsd-ports-gnome-b4d3aa0b31f32935f42999457895b4356287c288.zip
Fix build on AMD64
PR: 63202 Submitted by: Hendrik Scholz <hendrik@scholz.net>
Diffstat (limited to 'lang/lua4')
-rw-r--r--lang/lua4/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/lua4/Makefile b/lang/lua4/Makefile
index 4858e984b33f..c79d286f7b62 100644
--- a/lang/lua4/Makefile
+++ b/lang/lua4/Makefile
@@ -48,4 +48,8 @@ post-install:
@${STRIP_CMD} ${PREFIX}/bin/lua
@${STRIP_CMD} ${PREFIX}/bin/luac
+.if ${MACHINE_ARCH:L} == "amd64"
+CFLAGS+= -fPIC
+.endif
+
.include <bsd.port.mk>