Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 17 Jan 2015 01:33:30 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r377208 - head/lang/lua51
Message-ID:  <201501170133.t0H1XUcs020084@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}| ; \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501170133.t0H1XUcs020084>