#! /bin/sh /usr/share/dpatch/dpatch-run ## 10_fix_pkgconfig.dpatch by Andreas Henriksson ## ## All lines beginning with `## DP:' are a description of the patch. ## DP: Make sure xgnokii.pc doesn't get installed as pkgconfig. ## DP: (create the pkgconfig directory before installing to it.) @DPATCH@ diff -urNad gnokii-0.6.21~/common/Makefile gnokii-0.6.21/common/Makefile --- gnokii-0.6.21~/common/Makefile 2007-11-11 17:01:30.000000000 +0100 +++ gnokii-0.6.21/common/Makefile 2007-11-13 21:46:46.000000000 +0100 @@ -107,8 +107,8 @@ @echo install-includes: - $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig - $(INSTALL_DATA) gnokii.pc $(DESTDIR)$(libdir)/pkgconfig + $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig/ + $(INSTALL_DATA) gnokii.pc $(DESTDIR)$(libdir)/pkgconfig/ @echo depend dep: diff -urNad gnokii-0.6.21~/xgnokii/Makefile gnokii-0.6.21/xgnokii/Makefile --- gnokii-0.6.21~/xgnokii/Makefile 2007-11-11 17:01:31.000000000 +0100 +++ gnokii-0.6.21/xgnokii/Makefile 2007-11-13 21:46:46.000000000 +0100 @@ -50,8 +50,9 @@ install: xgnokii $(INSTALL) -d $(DESTDIR)$(xbindir) $(LIBTOOL) --mode=install $(INSTALL) xgnokii $(DESTDIR)$(xbindir) - $(INSTALL_DATA) xgnokii.pc $(DESTDIR)$(libdir)/pkgconfig - $(INSTALL) -d $(DESTDIR)$(xgnokii_libdir)/help + $(INSTALL) -d $(DESTDIR)$(libdir)/pkgconfig/ + $(INSTALL_DATA) xgnokii.pc $(DESTDIR)$(libdir)/pkgconfig/ + $(INSTALL) -d $(DESTDIR)$(xgnokii_libdir)/help/ ( cd $(HELP_DIR); \ $(FIND) . -type d \! -path "*CVS*" \ -exec $(INSTALL) -d $(DESTDIR)$(xgnokii_libdir)/help/{} \; ; \