aboutsummaryrefslogtreecommitdiff
path: root/converters/lua51-iconv/Makefile
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2018-09-18 19:53:46 +0000
committerEd Maste <emaste@FreeBSD.org>2018-09-18 19:53:46 +0000
commitc460a0dbeba0ec73c8b51a1bccb1568d32141274 (patch)
tree16473ef48337ca4684858f8bdcdb797fec10aa08 /converters/lua51-iconv/Makefile
parent176251159f7dbce66885cf86376e67abb6237751 (diff)
downloadports-c460a0dbeba0ec73c8b51a1bccb1568d32141274.tar.gz
ports-c460a0dbeba0ec73c8b51a1bccb1568d32141274.zip
Notes
Diffstat (limited to 'converters/lua51-iconv/Makefile')
-rw-r--r--converters/lua51-iconv/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/converters/lua51-iconv/Makefile b/converters/lua51-iconv/Makefile
index 2ab8295fbc90..9f599743e80f 100644
--- a/converters/lua51-iconv/Makefile
+++ b/converters/lua51-iconv/Makefile
@@ -3,7 +3,7 @@
PORTNAME= iconv
PORTVERSION= 7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= converters
MASTER_SITES= GHC
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
@@ -12,8 +12,6 @@ DISTNAME= lua-${PORTNAME}-${PORTVERSION}
MAINTAINER= feld@FreeBSD.org
COMMENT= Iconv binding for Lua 5
-BROKEN_aarch64= fails to link: can't create dynamic relocation R_AARCH64_ABS64 against local symbol in readonly segment defined in iconv.lo
-
USES= pkgconfig iconv lua:51
USE_GITHUB= yes
@@ -24,7 +22,9 @@ PLIST_FILES= %%LUA_MODLIBDIR%%/iconv.so
CFLAGS+= `pkgconf --cflags lua-${LUA_VER}` -I${LOCALBASE}/include
MAKE_ARGS= LUABIN=${LUA_CMD} CFLAGS="${CFLAGS}"
LDFLAGS= -shared ${ICONV_LIB} -L${LOCALBASE}/lib
+CFLAGS_aarch64= -fPIC
CFLAGS_amd64= -fPIC
+CFLAGS_i386= -fPIC
do-install:
@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}