Ticket #11738: lua-pkg-config.diff
File lua-pkg-config.diff, 776 bytes (added by chpickel@…, 18 years ago) |
---|
-
Portfile
33 33 reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/src/luaconf.h 34 34 # to complement the use_readline patch 35 35 reinplace "s|MYLDFLAGS=|MYLDFLAGS=-L${prefix}/lib|" ${worksrcpath}/src/Makefile 36 reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/etc/lua.pc 36 37 } 37 38 38 39 destroot.target install INSTALL_TOP=${destroot}/${prefix} … … 50 51 foreach test [glob test/README test/*.lua] { 51 52 xinstall -m 0644 ${test} ${destroot}${prefix}/share/doc/${name}/test 52 53 } 54 xinstall -d -m 0755 ${destroot}${prefix}/lib/pkgconfig 55 xinstall -m 0644 etc/lua.pc ${destroot}${prefix}/lib/pkgconfig/lua.pc 53 56 } 54 57 55 58 variant static {