components/lua/2.lua.pc.patch
changeset 115 c360825c3a3f
parent 114 6cc95ec7b1bb
child 116 ae6a90899b42
equal deleted inserted replaced
114:6cc95ec7b1bb 115:c360825c3a3f
     1 --- lua-5.1.4/etc/lua.pc.orig	Fri Aug  8 05:46:11 2008
       
     2 +++ lua-5.1.4/etc/lua.pc	Tue Feb 15 18:30:23 2011
       
     3 @@ -1,22 +1,6 @@
       
     4  # lua.pc -- pkg-config data for Lua
       
     5  
       
     6 -# vars from install Makefile
       
     7 -
       
     8 -# grep '^V=' ../Makefile
       
     9 -V= 5.1
       
    10 -# grep '^R=' ../Makefile
       
    11 -R= 5.1.4
       
    12 -
       
    13 -# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
       
    14 -prefix= /usr/local
       
    15 -INSTALL_BIN= ${prefix}/bin
       
    16 -INSTALL_INC= ${prefix}/include
       
    17 -INSTALL_LIB= ${prefix}/lib
       
    18 -INSTALL_MAN= ${prefix}/man/man1
       
    19 -INSTALL_LMOD= ${prefix}/share/lua/${V}
       
    20 -INSTALL_CMOD= ${prefix}/lib/lua/${V}
       
    21 -
       
    22 -# canonical vars
       
    23 +prefix=${PROTO_DIR}/usr
       
    24  exec_prefix=${prefix}
       
    25  libdir=${exec_prefix}/lib
       
    26  includedir=${prefix}/include
       
    27 @@ -23,7 +7,7 @@
       
    28  
       
    29  Name: Lua
       
    30  Description: An Extensible Extension Language
       
    31 -Version: ${R}
       
    32 +Version: 5.1.4
       
    33  Requires: 
       
    34  Libs: -L${libdir} -llua -lm
       
    35  Cflags: -I${includedir}