r39496 - in /desktop/unstable/libgtop2/debian: changelog rules

biebl at users.alioth.debian.org biebl at users.alioth.debian.org
Sun Sep 8 12:30:29 UTC 2013


Author: biebl
Date: Sun Sep  8 12:30:28 2013
New Revision: 39496

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=39496
Log:
Add `pkg-config --cflags libbsd-overlay` to CPPFLAGS on kfreebsd. This
let's code expecting bsd headers on bsd work without patching. Thanks
Julien Cristau for the suggestion. Closes: #721886

Modified:
    desktop/unstable/libgtop2/debian/changelog
    desktop/unstable/libgtop2/debian/rules

Modified: desktop/unstable/libgtop2/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgtop2/debian/changelog?rev=39496&op=diff
==============================================================================
--- desktop/unstable/libgtop2/debian/changelog	[utf-8] (original)
+++ desktop/unstable/libgtop2/debian/changelog	[utf-8] Sun Sep  8 12:30:28 2013
@@ -1,6 +1,9 @@
 libgtop2 (2.28.5-2) UNRELEASED; urgency=low
 
   * Add explicit Build-Depends on libbsd-dev for kfreebsd.
+  * Add `pkg-config --cflags libbsd-overlay` to CPPFLAGS on kfreebsd. This
+    let's code expecting bsd headers on bsd work without patching. Thanks
+    Julien Cristau for the suggestion. Closes: #721886
 
  -- Michael Biebl <biebl at debian.org>  Sun, 08 Sep 2013 14:22:12 +0200
 

Modified: desktop/unstable/libgtop2/debian/rules
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/libgtop2/debian/rules?rev=39496&op=diff
==============================================================================
--- desktop/unstable/libgtop2/debian/rules	[utf-8] (original)
+++ desktop/unstable/libgtop2/debian/rules	[utf-8] Sun Sep  8 12:30:28 2013
@@ -12,6 +12,10 @@
 SHARED_PKG := libgtop2-7
 
 LDFLAGS += -Wl,-z,defs -Wl,-O1 -Wl,--as-needed
+
+ifeq ($(DEB_HOST_ARCH_OS),kfreebsd)
+CPPFLAGS += $(shell pkg-config --cflags libbsd-overlay)
+endif
 
 DEB_DH_AUTORECONF_ARGS = --as-needed
 




More information about the pkg-gnome-commits mailing list