openbsd-ports/lang/lua/patches/patch-etc_lua_pc
dcoppa 0ad1957d15 Merge patches from upstream errata page.
While here, adjust PKGNAME and use SUBST_CMD instead of the usual
"perl dance".

OK sthen@
2010-05-17 08:18:59 +00:00

13 lines
378 B
Plaintext

$OpenBSD: patch-etc_lua_pc,v 1.6 2010/05/17 08:18:59 dcoppa Exp $
--- etc/lua.pc.orig Fri Aug 8 14:46:11 2008
+++ etc/lua.pc Mon May 17 09:43:31 2010
@@ -8,7 +8,7 @@ V= 5.1
R= 5.1.4
# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
-prefix= /usr/local
+prefix= ${PREFIX}
INSTALL_BIN= ${prefix}/bin
INSTALL_INC= ${prefix}/include
INSTALL_LIB= ${prefix}/lib