Control: tags -1 + patch On Sun, Aug 24, 2014 at 11:36:01AM +0200, Enrico Tassi wrote: > What do you mean by "making Debian compatible with FreeBSD" ? > You want to mix and match the ports with Debian's packages?
I requested a way to access lua's pkg-config data in a way that works on multiple operating systems. On Debian systems it is only installed as "lua5.1" and on FreeBSD systems it is only installed as "lua-5.1". (Neither of them match upstream's choice "lua" for reasons relevant to the bug you tried to merge into this bug.) Unfortunately, neither of those names work for both Debian and FreeBSD either. Can you make Debian's lua compatible with FreeBSD's lua and apply the attached patch? Ideally, you also add an equivalent patch for lua5.2. Do you need a separate bug report for that? Helmut
diff -Nru lua5.1-5.1.5/debian/changelog lua5.1-5.1.5/debian/changelog --- lua5.1-5.1.5/debian/changelog 2013-08-13 12:26:38.000000000 +0200 +++ lua5.1-5.1.5/debian/changelog 2014-08-26 20:17:17.000000000 +0200 @@ -1,3 +1,10 @@ +lua5.1 (5.1.5-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Add FreeBSD-compatibility symlinks for pkg-config files. (Closes: #498416) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 26 Aug 2014 20:16:46 +0200 + lua5.1 (5.1.5-5) unstable; urgency=low * Packaging moved to git diff -Nru lua5.1-5.1.5/debian/rules lua5.1-5.1.5/debian/rules --- lua5.1-5.1.5/debian/rules 2013-08-13 12:26:38.000000000 +0200 +++ lua5.1-5.1.5/debian/rules 2014-08-26 20:16:42.000000000 +0200 @@ -69,6 +69,8 @@ echo "lib_name_include=lua$(LUA_V)" >> $(PKGPP_CONFIG_FILE) echo "deb_host_multiarch=$(DEB_HOST_MULTIARCH)" >> $(PKGPP_CONFIG_FILE) cat debian/lua-c++.pc.in >> $(PKGPP_CONFIG_FILE) + ln -s $(LUA)$(LUA_V).pc $(PKG_DIR)/$(LUA)-$(LUA_V).pc + ln -s $(LUA)$(LUA_V)-c++.pc $(PKG_DIR)/$(LUA)-$(LUA_V)-c++.pc mkdir -p $(LUA_MULTIARCH_INCLUDE) cp src/$(LUA_MULTIARCH) $(LUA_MULTIARCH_INCLUDE) dh_install