svn commit: r377208 - head/lang/lua51

Baptiste Daroussin bapt at FreeBSD.org
Sat Jan 17 01:33:31 UTC 2015


Author: bapt
Date: Sat Jan 17 01:33:30 2015
New Revision: 377208
URL: https://svnweb.freebsd.org/changeset/ports/377208
QAT: https://qat.redports.org/buildarchive/r377208/

Log:
  Add a forgot post-patch for libedit support

Modified:
  head/lang/lua51/Makefile

Modified: head/lang/lua51/Makefile
==============================================================================
--- head/lang/lua51/Makefile	Sat Jan 17 01:28:31 2015	(r377207)
+++ head/lang/lua51/Makefile	Sat Jan 17 01:33:30 2015	(r377208)
@@ -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}| ; \


More information about the svn-ports-all mailing list