diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-01-17 01:33:30 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-01-17 01:33:30 +0000 |
commit | 9f5c578c8258d03a370086f98748e6a12f304d34 (patch) | |
tree | cea847b33a569a0b4466d5faf880d1ddf9f29165 /lang/lua51 | |
parent | 9df11b915914f306599ce26e94b92430ce9c7720 (diff) | |
download | ports-9f5c578c8258d03a370086f98748e6a12f304d34.tar.gz ports-9f5c578c8258d03a370086f98748e6a12f304d34.zip |
Notes
Diffstat (limited to 'lang/lua51')
-rw-r--r-- | lang/lua51/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lang/lua51/Makefile b/lang/lua51/Makefile index e0e39bbf8989..5300cc05bfd0 100644 --- a/lang/lua51/Makefile +++ b/lang/lua51/Makefile @@ -58,7 +58,9 @@ CFLAGS_powerpc= -fPIC post-patch: @${REINPLACE_CMD} -e 's,rand *(,random(,g' \ ${WRKSRC}/src/lmathlib.c - @${REINPLACE_CMD} -e "/LUA_ROOT/s|/usr/local|${LUA_PREFIX}|" \ + @${REINPLACE_CMD} -e "/LUA_ROOT/s|/usr/local|${LUA_PREFIX}| ; \ + s,readline/,editline/,g ; \ + /history\.h/d" \ ${WRKSRC}/src/luaconf.h @${REINPLACE_CMD} -i '' -Ee \ 's|^(prefix=).*|\1 ${PREFIX}| ; \ |