From f8d35966531e5f131477f1fb324c2bffb8a2e09a Mon Sep 17 00:00:00 2001
From: Jonathan Wilkes <jon.w.wilkes@gmail.com>
Date: Fri, 14 Aug 2015 12:19:47 -0400
Subject: [PATCH] ported pd-l2ork bugfix "*made pkgconfig location more
 appropriate" 0e1938c2d6b3c460fb6eefd027c990fbb36078f9

---
 packages/linux_make/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/packages/linux_make/Makefile b/packages/linux_make/Makefile
index 8f77111b4..7814e1ef3 100644
--- a/packages/linux_make/Makefile
+++ b/packages/linux_make/Makefile
@@ -143,11 +143,14 @@ deb: $(bindir)
 # Pd-related scripts
 	#install -p $(scripts_src)/pd-diff $(DESTDIR)$(bindir)
 	install -p $(scripts_src)/config-switcher.sh $(DESTDIR)$(bindir)
-# delete these since they are provided by the 'puredata-utils' package
+# delete these since they are provided by the 'puredata-utils' and 'cyclist' package
 	rm -f $(DESTDIR)$(bindir)/pdsend
 	rm -f $(DESTDIR)$(bindir)/pdreceive
+	rm -f $(DESTDIR)$(bindir)/cyclist
 	rm -f $(DESTDIR)/usr/share/man/man1/pdsend.1.gz
 	rm -f $(DESTDIR)/usr/share/man/man1/pdreceive.1.gz
+#migrate Gem.pc to remove conflict with pd-vanilla and other variants
+	mv -f $(DESTDIR)$(libpddir)/../pkgconfig $(DESTDIR)$(libpddir)/
 # debian packaging
 	test -d $(DESTDIR)/DEBIAN || mkdir -p $(DESTDIR)/DEBIAN
 	cp $(packages_src)/linux_make/debian/control $(DESTDIR)/DEBIAN
-- 
GitLab