summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas K. Hüttel <dilfridge@gentoo.org>2012-01-24 22:52:21 +0000
committerAndreas K. Hüttel <dilfridge@gentoo.org>2012-01-24 22:52:21 +0000
commit473ad0e69cc5d5b1b895fef59d96e19c8130ce4b (patch)
tree1ddc44deaf80830cfed7cc147d02d34192c2bf48 /net-libs/openslp
parentUpdate my email address (diff)
downloadgentoo-2-473ad0e69cc5d5b1b895fef59d96e19c8130ce4b.tar.gz
gentoo-2-473ad0e69cc5d5b1b895fef59d96e19c8130ce4b.tar.bz2
gentoo-2-473ad0e69cc5d5b1b895fef59d96e19c8130ce4b.zip
Respect CFLAGS, bug 364387
(Portage version: 2.1.10.44/cvs/Linux x86_64)
Diffstat (limited to 'net-libs/openslp')
-rw-r--r--net-libs/openslp/ChangeLog6
-rw-r--r--net-libs/openslp/files/openslp-1.2.1-cflags.patch11
-rw-r--r--net-libs/openslp/openslp-1.2.1-r2.ebuild3
3 files changed, 18 insertions, 2 deletions
diff --git a/net-libs/openslp/ChangeLog b/net-libs/openslp/ChangeLog
index aae445e34517..dfc6649d0ad2 100644
--- a/net-libs/openslp/ChangeLog
+++ b/net-libs/openslp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-libs/openslp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/ChangeLog,v 1.48 2012/01/24 22:27:18 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/ChangeLog,v 1.49 2012/01/24 22:52:21 dilfridge Exp $
+
+ 24 Jan 2012; Andreas K. Huettel <dilfridge@gentoo.org>
+ openslp-1.2.1-r2.ebuild, +files/openslp-1.2.1-cflags.patch:
+ Respect CFLAGS, bug 364387
*openslp-1.2.1-r2 (24 Jan 2012)
diff --git a/net-libs/openslp/files/openslp-1.2.1-cflags.patch b/net-libs/openslp/files/openslp-1.2.1-cflags.patch
new file mode 100644
index 000000000000..a9a1d2634e7f
--- /dev/null
+++ b/net-libs/openslp/files/openslp-1.2.1-cflags.patch
@@ -0,0 +1,11 @@
+diff -ruN openslp-1.2.1.orig/configure.in openslp-1.2.1/configure.in
+--- openslp-1.2.1.orig/configure.in 2005-02-15 21:06:02.000000000 +0100
++++ openslp-1.2.1/configure.in 2012-01-24 23:49:13.000000000 +0100
+@@ -153,7 +153,6 @@
+ OPTFLAGS="-O"
+ fi
+ fi
+-CFLAGS="$CFLAGS $OPTFLAGS"
+
+ dnl ***********************************************************************
+ dnl Checks for header files.
diff --git a/net-libs/openslp/openslp-1.2.1-r2.ebuild b/net-libs/openslp/openslp-1.2.1-r2.ebuild
index a875e89c3275..0cb3592bceb7 100644
--- a/net-libs/openslp/openslp-1.2.1-r2.ebuild
+++ b/net-libs/openslp/openslp-1.2.1-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/openslp-1.2.1-r2.ebuild,v 1.1 2012/01/24 22:27:18 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/openslp/openslp-1.2.1-r2.ebuild,v 1.2 2012/01/24 22:52:21 dilfridge Exp $
inherit eutils autotools
@@ -23,6 +23,7 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-fbsd.patch
epatch "${FILESDIR}"/${P}-fixoverflow.patch
+ epatch "${FILESDIR}"/${P}-cflags.patch
eautoreconf
}