diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-05-10 14:55:18 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-05-10 14:55:18 +0300 |
commit | fc225b5b00663065567334f030f8f5abc7935253 (patch) | |
tree | 700c3892e6b2101778a25002eae41a0227ba7c54 /main/lua-pc/lpc-lua5.2-compat.patch | |
parent | 664ab287e76baeccff5ab7c556a477f08a42fec4 (diff) | |
download | aports-fc225b5b00663065567334f030f8f5abc7935253.tar.bz2 aports-fc225b5b00663065567334f030f8f5abc7935253.tar.xz |
main/lua-pc: fix install prefix, and subpkg dependencies
Diffstat (limited to 'main/lua-pc/lpc-lua5.2-compat.patch')
-rw-r--r-- | main/lua-pc/lpc-lua5.2-compat.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/lua-pc/lpc-lua5.2-compat.patch b/main/lua-pc/lpc-lua5.2-compat.patch index 17a9aaab4b..b9755158c3 100644 --- a/main/lua-pc/lpc-lua5.2-compat.patch +++ b/main/lua-pc/lpc-lua5.2-compat.patch @@ -1,6 +1,6 @@ diff -ru lpc-1.0.0.orig/Makefile lpc-1.0.0/Makefile --- lpc-1.0.0.orig/Makefile 2012-08-21 17:39:10.000000000 -0300 -+++ lpc-1.0.0/Makefile 2014-05-10 13:52:18.833865486 -0300 ++++ lpc-1.0.0/Makefile 2014-05-10 14:53:46.200555972 -0300 @@ -1,16 +1,20 @@ -LUA_PREFIX = /usr/local/ -PREFIX = /usr/local/ @@ -14,7 +14,7 @@ diff -ru lpc-1.0.0.orig/Makefile lpc-1.0.0/Makefile +$(error $(LUA_PKGCONF).pc not found) +endif + -+INSTALL_PREFIX = $(PREFIX)$(shell pkg-config $(LUA_PKGCONF) --variable=INSTALL_CMOD) ++INSTALL_PREFIX = $(DESTDIR)$(shell pkg-config $(LUA_PKGCONF) --variable=INSTALL_CMOD) CC = gcc TARGET = lpc.so @@ -29,7 +29,7 @@ diff -ru lpc-1.0.0.orig/Makefile lpc-1.0.0/Makefile diff -ru lpc-1.0.0.orig/lpc.c lpc-1.0.0/lpc.c --- lpc-1.0.0.orig/lpc.c 2012-08-21 17:39:10.000000000 -0300 -+++ lpc-1.0.0/lpc.c 2014-05-10 13:51:01.740949801 -0300 ++++ lpc-1.0.0/lpc.c 2014-05-10 14:53:18.784037834 -0300 @@ -192,7 +192,7 @@ lua_settable (L, -3); } |