summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-01-15 00:37:10 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-01-15 00:37:10 +0000
commitf88d7c457a23f61cd8211e9c65042ddcc5e68a87 (patch)
tree8833721121fd150c170e9e6f9e119599afe7a087 /dev-libs/opencryptoki
parentDelete older ebuilds. (diff)
downloadgentoo-2-f88d7c457a23f61cd8211e9c65042ddcc5e68a87.tar.gz
gentoo-2-f88d7c457a23f61cd8211e9c65042ddcc5e68a87.tar.bz2
gentoo-2-f88d7c457a23f61cd8211e9c65042ddcc5e68a87.zip
Fix build with USE=debug enabled.
(Portage version: 2.2.0_alpha15/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/opencryptoki')
-rw-r--r--dev-libs/opencryptoki/ChangeLog6
-rw-r--r--dev-libs/opencryptoki/opencryptoki-2.3.3-r2.ebuild11
2 files changed, 13 insertions, 4 deletions
diff --git a/dev-libs/opencryptoki/ChangeLog b/dev-libs/opencryptoki/ChangeLog
index d1668d335f8c..4404b18e456e 100644
--- a/dev-libs/opencryptoki/ChangeLog
+++ b/dev-libs/opencryptoki/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-libs/opencryptoki
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/opencryptoki/ChangeLog,v 1.13 2011/01/15 00:15:16 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/opencryptoki/ChangeLog,v 1.14 2011/01/15 00:37:10 flameeyes Exp $
+
+ 15 Jan 2011; Diego E. Pettenò <flameeyes@gentoo.org>
+ opencryptoki-2.3.3-r2.ebuild:
+ Fix build with USE=debug enabled.
*opencryptoki-2.3.3-r2 (15 Jan 2011)
diff --git a/dev-libs/opencryptoki/opencryptoki-2.3.3-r2.ebuild b/dev-libs/opencryptoki/opencryptoki-2.3.3-r2.ebuild
index 4eaa65154e7a..44b00eb2dd6f 100644
--- a/dev-libs/opencryptoki/opencryptoki-2.3.3-r2.ebuild
+++ b/dev-libs/opencryptoki/opencryptoki-2.3.3-r2.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/dev-libs/opencryptoki/opencryptoki-2.3.3-r2.ebuild,v 1.1 2011/01/15 00:15:16 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/opencryptoki/opencryptoki-2.3.3-r2.ebuild,v 1.2 2011/01/15 00:37:10 flameeyes Exp $
EAPI="2"
@@ -8,7 +8,7 @@ EAPI="2"
# http://gitorious.org/~flameeyes/opencryptoki/flameeyess-opencryptoki
BACKPORTS=2
-inherit autotools eutils multilib
+inherit autotools eutils multilib flag-o-matic
DESCRIPTION="PKCS#11 provider cryptographic hardware"
HOMEPAGE="http://sourceforge.net/projects/opencryptoki"
@@ -58,11 +58,16 @@ src_configure() {
# requirements, but until somebody asks for those, I'd rather not
# enable them.
+ # We don't use --enable-debug because that tinkers with the CFLAGS
+ # and we don't want that. Instead we append -DDEBUG which enables
+ # debug information.
+ use debug && append-flags -DDEBUG
+
econf \
--localstatedir=/var \
--enable-fast-install \
--disable-dependency-tracking \
- $(use_enable debug) \
+ --disable-debug \
--enable-daemon \
--enable-library \
--disable-icatok \