diff options
author | Francois Perrad <fperrad@gmail.com> | 2013-09-15 17:40:37 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-09-17 23:13:54 +0200 |
commit | 549c09b6270c1e940d23c3d7feed86a84b9f6048 (patch) | |
tree | 3b0a5d69b2d3b21c6d76cdd9bc89ea388a839235 /package/luacrypto/luacrypto-01-autotools.patch | |
parent | eca77d0429f531a6f377da5d25d8ee72cd98a449 (diff) | |
download | buildroot-549c09b6270c1e940d23c3d7feed86a84b9f6048.tar.gz buildroot-549c09b6270c1e940d23c3d7feed86a84b9f6048.zip |
luacrypto: refactor with autotools
some CMake stuff comes from LuaDist, but CMake is not the primary build infrastructure of LuaCrypto.
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/luacrypto/luacrypto-01-autotools.patch')
-rw-r--r-- | package/luacrypto/luacrypto-01-autotools.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package/luacrypto/luacrypto-01-autotools.patch b/package/luacrypto/luacrypto-01-autotools.patch new file mode 100644 index 0000000000..e8befb05f8 --- /dev/null +++ b/package/luacrypto/luacrypto-01-autotools.patch @@ -0,0 +1,30 @@ +autotools: fix install directories + +Signed-off-by: Francois Perrad <francois.perrad@gadz.org> + +Index: b/Makefile.am +=================================================================== +--- a/Makefile.am ++++ b/Makefile.am +@@ -3,7 +3,7 @@ + SUBDIRS = src \ + doc + +-pkgconfigdir = $(libdir)/pkgconfig ++pkgconfigdir = $(prefix)/lib/pkgconfig + pkgconfig_DATA = luacrypto.pc + + test: all +Index: b/configure.ac +=================================================================== +--- a/configure.ac ++++ b/configure.ac +@@ -31,7 +31,7 @@ + PKG_CHECK_MODULES([LUA], [lua]) + + # lua libdir +-LUALIBDIR="`$PKGCONFIG --variable=libdir lua`" ++LUALIBDIR="`$PKGCONFIG --variable=INSTALL_CMOD lua`" + + # dest of headers + CRYPTOINC="${includedir}/${PACKAGE_NAME}" |