ncurses (5.7+20100313-5) 08-pkg-config-libdir.diff

Summary

 misc/Makefile.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

Description: Cope with multiple colon-separated entries 
 in $(PKG_CONFIG_LIBDIR), as set by default by dpkg-buildpackage 
 when cross-compiling.
Bug-Debian: http://bugs.debian.org/550716
Author: Colin Watson <cjwatson@ubuntu.com>
Last-Update: 2010-01-11
--- a/misc/Makefile.in
+++ b/misc/Makefile.in
@@ -125,7 +125,7 @@
 $(DESTDIR)$(libdir) \
 $(DESTDIR)$(datadir) \
 $(DESTDIR)$(tabsetdir) \
-$(DESTDIR)$(PKG_CONFIG_LIBDIR) :
+$(foreach d,$(subst :, ,$(PKG_CONFIG_LIBDIR)),$(DESTDIR)$(d)) :
 	$(SHELL) $(top_srcdir)/mkdirs.sh $@
 
 uninstall : uninstall.data uninstall.libs