Source: libsepol Version: 2.1.0-1.2 Severity: important Tags: patch X-Debbugs-CC: riku.voi...@linaro.org
Hi, libsepol of pkg-config file has worng library path. $ pkg-config --variable=libdir libsepol /usr/lib By 2.1.0-1.2, this package was supported multi-arch. But this correction forgets supporting for pkg-config. I created a patch which revise this problem. Could you check and apply attached patch? Riku, do you have any comments? Best regards, Nobuhiro -- Nobuhiro Iwamatsu iwamatsu at {nigauri.org / debian.org} GPG ID: 40AD1FA6
diff -Nru libsepol-2.1.0/debian/changelog libsepol-2.1.0/debian/changelog --- libsepol-2.1.0/debian/changelog 2011-12-17 00:44:53.000000000 +0900 +++ libsepol-2.1.0/debian/changelog 2012-02-03 09:38:13.000000000 +0900 @@ -1,3 +1,10 @@ +libsepol (2.1.0-1.3) unstable; urgency=low + + * Non-maintainer upload. + * Fix library path for pkg-config file of libsepol. + + -- Nobuhiro Iwamatsu <iwama...@nigauri.org> Fri, 03 Feb 2012 09:37:29 +0900 + libsepol (2.1.0-1.2) unstable; urgency=low * Non-maintainer upload since maintainer is busy diff -Nru libsepol-2.1.0/debian/local.mk libsepol-2.1.0/debian/local.mk --- libsepol-2.1.0/debian/local.mk 2011-12-10 01:05:33.000000000 +0900 +++ libsepol-2.1.0/debian/local.mk 2012-02-03 09:40:05.000000000 +0900 @@ -51,7 +51,9 @@ $(checkdir) $(REASON) @test -d debian/stamp/build || mkdir -p debian/stamp/build - $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" + $(MAKE) CC="$(CC)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" \ + LIBDIR=lib/$(DEB_HOST_MULTIARCH) + ifeq (,$(strip $(filter nocheck,$(DEB_BUILD_OPTIONS)))) ifeq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) @echo Checking libs diff -Nru libsepol-2.1.0/src/Makefile libsepol-2.1.0/src/Makefile --- libsepol-2.1.0/src/Makefile 2011-07-28 04:32:54.000000000 +0900 +++ libsepol-2.1.0/src/Makefile 2012-02-03 09:39:00.000000000 +0900 @@ -3,7 +3,6 @@ INCLUDEDIR ?= $(PREFIX)/include LIBDIR ?= $(PREFIX)/lib SHLIBDIR ?= $(DESTDIR)/lib -LIBBASE=$(shell basename $(LIBDIR)) VERSION = $(shell cat ../VERSION) LIBVERSION = 1 @@ -28,7 +27,7 @@ ln -sf $@ $(TARGET) $(LIBPC): $(LIBPC).in - sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:$(LIBBASE):; s:@includedir@:$(INCLUDEDIR):' < $< > $@ + sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:$(LIBDIR):; s:@includedir@:$(INCLUDEDIR):' < $< > $@ %.o: %.c $(CC) $(CFLAGS) -fPIC -c -o $@ $<