r1747 - in /experimental/gtkhtml3.14/debian: changelog rules

corsac at users.alioth.debian.org corsac at users.alioth.debian.org
Sat Oct 2 14:52:56 UTC 2010


Author: corsac
Date: Sat Oct  2 14:52:55 2010
New Revision: 1747

URL: http://svn.debian.org/wsvn/pkg-evolution/?sc=1&rev=1747
Log:
  - pick flags from dpkg-buildflags
  - add --as-needed to LDFLAGS and -fPIC to CFLAGS. 

Modified:
    experimental/gtkhtml3.14/debian/changelog
    experimental/gtkhtml3.14/debian/rules

Modified: experimental/gtkhtml3.14/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-evolution/experimental/gtkhtml3.14/debian/changelog?rev=1747&op=diff
==============================================================================
--- experimental/gtkhtml3.14/debian/changelog (original)
+++ experimental/gtkhtml3.14/debian/changelog Sat Oct  2 14:52:55 2010
@@ -9,8 +9,10 @@
   * debian/rules:
     - explicitly disable GTK+ 3 support.
     - add $(API_VER) to libgtkhtml-editor0 name. 
-
- -- Yves-Alexis Perez <corsac at debian.org>  Sat, 02 Oct 2010 11:35:19 +0200
+    - pick flags from dpkg-buildflags
+    - add --as-needed to LDFLAGS and -fPIC to CFLAGS. 
+
+ -- Yves-Alexis Perez <corsac at debian.org>  Sat, 02 Oct 2010 15:52:07 +0200
 
 gtkhtml3.14 (3.30.3-1) unstable; urgency=low
 

Modified: experimental/gtkhtml3.14/debian/rules
URL: http://svn.debian.org/wsvn/pkg-evolution/experimental/gtkhtml3.14/debian/rules?rev=1747&op=diff
==============================================================================
--- experimental/gtkhtml3.14/debian/rules (original)
+++ experimental/gtkhtml3.14/debian/rules Sat Oct  2 14:52:55 2010
@@ -12,6 +12,11 @@
 REVISION  := $(shell sed -n 's/^GTKHTML_REVISION=//p' configure.ac)
 SOVERSION := $(shell expr $(CURRENT) - $(AGE))
 API_VER   := 3.14
+
+LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
+CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
+LDFLAGS+=-Wl,-z,defs -Wl,--as-needed
+CFLAGS+=-fPIC
 
 DEB_CONFIGURE_EXTRA_FLAGS += --enable-static --enable-gtk3=no
 DEB_SHLIBDEPS_INCLUDE_gtkhtml$(API_VER) += $(CURDIR)/debian/libgtkhtml$(API_VER)-$(SOVERSION)/usr/lib




More information about the pkg-evolution-commits mailing list