[SCM] pd-hcs/master: Added -I/usr/include/pd to the CPPFLAGS

umlaeute at users.alioth.debian.org umlaeute at users.alioth.debian.org
Fri Jun 10 20:11:06 UTC 2016


The following commit has been merged in the master branch:
commit 7d6fcb94aba37b3dfd9b19ddd010d57baa07eeee
Author: IOhannes m zmölnig <zmoelnig at umlautQ.umlaeute.mur.at>
Date:   Fri Jun 10 21:27:16 2016 +0200

    Added -I/usr/include/pd to the CPPFLAGS

diff --git a/debian/rules b/debian/rules
index a2453a4..0306720 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,12 @@ pkglibdir = /usr/lib/pd/extra
 %:
 	dh $@ --buildsystem=makefile
 
+override_dh_auto_build:
+	dh_auto_build -- \
+                CFLAGS="-DPD -fPIC $(CFLAGS) $(CPPFLAGS) -I/usr/include/pd" \
+                LDFLAGS="-Wl,--export-dynamic  -shared -fPIC $(LDFLAGS)"
+
+
 override_dh_auto_install:
 	dh_auto_install -- prefix=/usr pkglibdir=$(pkglibdir)
 # replace license file with link to the Debian license file

-- 
pd-hcs packaging



More information about the pkg-multimedia-commits mailing list