[SCM] vdr-plugin-ffnetdev packaging repository branch, master,	updated. debian/0.1.2-3-2-gdedc8bd
    etobi 
    git at e-tobi.net
       
    Sat Mar 23 21:38:10 UTC 2013
    
    
  
The following commit has been merged in the master branch:
commit dedc8bdf3532355282cb6bea4974ac1d69f01a06
Author: etobi <git at e-tobi.net>
Date:   Sat Mar 23 21:56:14 2013 +0100
    Use pkg-config to configure CXXFLAGS
diff --git a/debian/rules b/debian/rules
index b102db0..2ba7b8e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,10 +3,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-MAKE_OPTIONS = VDRDIR=/usr/include/vdr LIBDIR=. \
-	       LOCALEDIR=usr/share/locale
-
-CXXFLAGS += -fPIC $(CPPFLAGS) $(LDFLAGS)
+MAKE_OPTIONS = VDRDIR=/usr/include/vdr LIBDIR=. LOCALEDIR=usr/share/locale
+CXXFLAGS += $(shell pkg-config vdr --variable=cxxflags) $(LDFLAGS)
 
 %:
 	dh $@
-- 
vdr-plugin-ffnetdev packaging repository
    
    
More information about the pkg-vdr-dvb-changes
mailing list