summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2011-12-14 22:46:02 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2011-12-14 22:46:02 +0000
commit6e9e99566c9a7ed78b21e5047c0a7e23cf21ec86 (patch)
tree2b08788b56639b5a337c74843301aa2b7351e751 /app-admin/syslog-ng
parentStable for AMD64, wrt bug #394577 (diff)
downloadgentoo-2-6e9e99566c9a7ed78b21e5047c0a7e23cf21ec86.tar.gz
gentoo-2-6e9e99566c9a7ed78b21e5047c0a7e23cf21ec86.tar.bz2
gentoo-2-6e9e99566c9a7ed78b21e5047c0a7e23cf21ec86.zip
remove upstream-unsupported static linking (bug #394703)
(Portage version: 2.1.10.11/cvs/Linux i686)
Diffstat (limited to 'app-admin/syslog-ng')
-rw-r--r--app-admin/syslog-ng/ChangeLog5
-rw-r--r--app-admin/syslog-ng/syslog-ng-3.2.5.ebuild39
2 files changed, 15 insertions, 29 deletions
diff --git a/app-admin/syslog-ng/ChangeLog b/app-admin/syslog-ng/ChangeLog
index c6f36ac28276..810c7151b645 100644
--- a/app-admin/syslog-ng/ChangeLog
+++ b/app-admin/syslog-ng/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-admin/syslog-ng
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.313 2011/12/04 09:53:39 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/ChangeLog,v 1.314 2011/12/14 22:46:02 mr_bones_ Exp $
+
+ 14 Dec 2011; Michael Sterrett <mr_bones_@gentoo.org> syslog-ng-3.2.5.ebuild:
+ remove upstream-unsupported static linking (bug #394703)
04 Dec 2011; Sven Wegener <swegener@gentoo.org> files/syslog-ng.rc6.3:
move reload to extra_started_commands in 3.2 init script
diff --git a/app-admin/syslog-ng/syslog-ng-3.2.5.ebuild b/app-admin/syslog-ng/syslog-ng-3.2.5.ebuild
index 9529dd9541bf..5bb699ed31c6 100644
--- a/app-admin/syslog-ng/syslog-ng-3.2.5.ebuild
+++ b/app-admin/syslog-ng/syslog-ng-3.2.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.2.5.ebuild,v 1.1 2011/11/07 21:33:06 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/syslog-ng/syslog-ng-3.2.5.ebuild,v 1.2 2011/12/14 22:46:02 mr_bones_ Exp $
EAPI=2
inherit autotools fixheadtails eutils multilib
@@ -13,25 +13,19 @@ SRC_URI="http://www.balabit.com/downloads/files/syslog-ng/sources/${PV}/source/s
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="caps hardened ipv6 +pcre selinux spoof-source sql ssl static tcpd"
+IUSE="caps hardened ipv6 +pcre selinux spoof-source sql ssl tcpd"
RESTRICT="test"
-LIBS_DEPEND="
- spoof-source? ( net-libs/libnet )
- ssl? ( dev-libs/openssl )
- tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
- !static? ( >=dev-libs/eventlog-0.2.12 )
- >=dev-libs/glib-2.10.1:2
- caps? ( sys-libs/libcap )
- sql? ( >=dev-db/libdbi-0.8.3 )"
RDEPEND="
- !static? (
pcre? ( dev-libs/libpcre )
- ${LIBS_DEPEND}
- )"
+ spoof-source? ( net-libs/libnet )
+ ssl? ( dev-libs/openssl )
+ tcpd? ( >=sys-apps/tcp-wrappers-7.6 )
+ >=dev-libs/eventlog-0.2.12
+ >=dev-libs/glib-2.10.1:2
+ caps? ( sys-libs/libcap )
+ sql? ( >=dev-db/libdbi-0.8.3 )"
DEPEND="${RDEPEND}
- ${LIBS_DEPEND}
- static? ( >=dev-libs/eventlog-0.2.12[static-libs] )
dev-util/pkgconfig
sys-devel/flex"
@@ -41,19 +35,9 @@ src_prepare() {
}
src_configure() {
- local myconf
-
- if use static ; then
- myconf="${myconf} --enable-static-linking"
- if use pcre ; then
- ewarn "USE=pcre is incompatible with static linking"
- myconf="${myconf} --disable-pcre"
- fi
- else
- myconf="${myconf} --enable-dynamic-linking"
- fi
econf \
--disable-dependency-tracking \
+ --enable-dynamic-linking \
--sysconfdir=/etc/syslog-ng \
--localstatedir=/var/lib/misc \
--with-pidfile-dir=/var/run \
@@ -64,8 +48,7 @@ src_configure() {
$(use_enable spoof-source) \
$(use_enable sql) \
$(use_enable ssl) \
- $(use_enable tcpd tcp-wrapper) \
- ${myconf}
+ $(use_enable tcpd tcp-wrapper)
}
src_install() {