[SCM] stk/master: Use the dpkg makefile snippet to get the architecture

fsateler at users.alioth.debian.org fsateler at users.alioth.debian.org
Sat Dec 24 18:24:12 UTC 2016


The following commit has been merged in the master branch:
commit 852c7e275a82c4e149a33e4e504a8b7709f80ab4
Author: Felipe Sateler <fsateler at debian.org>
Date:   Sat Dec 24 15:15:31 2016 -0300

    Use the dpkg makefile snippet to get the architecture

diff --git a/debian/rules b/debian/rules
index 07a5ca4..469e430 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,8 +1,12 @@
 #!/usr/bin/make -f
 # -*- mode: makefile; coding: utf-8 -*-
 
+DPKG_EXPORT_BUILDFLAGS = 1
+DEB_CPPFLAGS_MAINT_APPEND = -I/usr/include/rtmidi -I/usr/include/rtaudio
+
+include /usr/share/dpkg/default.mk
+
 CONFIGURE_FLAGS =
-DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
 ifeq ($(DEB_HOST_ARCH_OS),linux)
 CONFIGURE_FLAGS += --with-jack --with-alsa --with-oss
@@ -14,10 +18,6 @@ endif
 
 export STK_REALTIME
 
-DPKG_EXPORT_BUILDFLAGS = 1
-DEB_CPPFLAGS_MAINT_APPEND = -I/usr/include/rtmidi -I/usr/include/rtaudio
-
-include /usr/share/dpkg/buildflags.mk
 
 RAWWAVE_PATH = /usr/share/stk/rawwaves/
 

-- 
stk packaging



More information about the pkg-multimedia-commits mailing list