Date: Sun, 24 Feb 2008 02:30:04 GMT From: Hirohisa Yamaguchi <umq@ueo.co.jp> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/120542: [patch] lang/lua update 5.1.3 (revised) Message-ID: <200802240230.m1O2U4NY073535@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/120542; it has been noted by GNATS. From: Hirohisa Yamaguchi <umq@ueo.co.jp> To: andrew+ports@fubar.geek.nz Cc: bug-followup@FreeBSD.org Subject: Re: ports/120542: [patch] lang/lua update 5.1.3 (revised) Date: Sun, 24 Feb 2008 11:22:50 +0900 Hi, Thanks for the update. At Sun, 24 Feb 2008 11:20:54 +1300, Andrew Turner wrote: > I've taken the patch and merged it in with my update for Lua to 5.1.3 > (attached). This patch also stops installing duplicate files ie. lua.pc > and lua.hpp > --- pkg-plist 15 Sep 2006 08:17:08 -0000 1.7 > +++ pkg-plist 23 Feb 2008 22:07:29 -0000 > @@ -10,14 +10,14 @@ > %%LUA_INCDIR%%/luaconf.h > %%LUA_INCDIR%%/lualib.h > %%LUA_LIBDIR%%/liblua.a > +libdata/pkgconfig/lua-%%LUA_VER%%.pc > %%PORTDOCS%%%%DOCSDIR%%/README > +%%PORTDOCS%%%%DOCSDIR%%/amazon.gif > %%PORTDOCS%%%%DOCSDIR%%/contents.html > %%PORTDOCS%%%%DOCSDIR%%/etc/Makefile > %%PORTDOCS%%%%DOCSDIR%%/etc/README > %%PORTDOCS%%%%DOCSDIR%%/etc/all.c > -%%PORTDOCS%%%%DOCSDIR%%/etc/lua.hpp > %%PORTDOCS%%%%DOCSDIR%%/etc/lua.ico > -%%PORTDOCS%%%%DOCSDIR%%/etc/lua.pc > %%PORTDOCS%%%%DOCSDIR%%/etc/luavs.bat > %%PORTDOCS%%%%DOCSDIR%%/etc/min.c > %%PORTDOCS%%%%DOCSDIR%%/etc/noparser.c Naming lua.pc as lua-5.1.pc causes failure with configure script which defines like: PKG_CHECK_MODULES(LUA, lua >= 5.1, foo) like following... | checking for LUA... gnome-config: not found | configure: error: Package requirements (lua >= 5.1) were not met: | | No package 'lua' found | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables LUA_CFLAGS | and LUA_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. | | ===> Script "configure" failed unexpectedly. If pkg-config were not used, installing *.pc might be no use. Regards, -- Hirohisa Yamaguchi umq@ueo.co.jp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802240230.m1O2U4NY073535>