aboutsummaryrefslogtreecommitdiff
path: root/lang/lua4
diff options
context:
space:
mode:
authorTilman Keskinoz <arved@FreeBSD.org>2004-02-22 19:02:10 +0000
committerTilman Keskinoz <arved@FreeBSD.org>2004-02-22 19:02:10 +0000
commitee8a728b11bd81ff33295ad01558ab068bfeec13 (patch)
treecc433da4ed2ba969bd88c62f3d5b54b2a11456d4 /lang/lua4
parent2007679a45b4586e0a5b12eedd1b70613947854b (diff)
downloadports-ee8a728b11bd81ff33295ad01558ab068bfeec13.tar.gz
ports-ee8a728b11bd81ff33295ad01558ab068bfeec13.zip
Notes
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>