summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2006-03-15 09:14:37 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2006-03-15 09:14:37 +0000
commit5341f3fe4410c1410fcbd18efeb6ad0f24a4c8b4 (patch)
tree6e784e52995c0c009f3fd7fcd5dcf8a18d270e9f /eclass
parentRemove USE=X, it screws up modular X and doesn't do anything at all. (diff)
downloadhistorical-5341f3fe4410c1410fcbd18efeb6ad0f24a4c8b4.tar.gz
historical-5341f3fe4410c1410fcbd18efeb6ad0f24a4c8b4.tar.bz2
historical-5341f3fe4410c1410fcbd18efeb6ad0f24a4c8b4.zip
added debug use-flag
Diffstat (limited to 'eclass')
-rw-r--r--eclass/vdr-plugin.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/vdr-plugin.eclass b/eclass/vdr-plugin.eclass
index 61ffa7432369..8bc7200a237c 100644
--- a/eclass/vdr-plugin.eclass
+++ b/eclass/vdr-plugin.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.14 2006/03/14 16:03:01 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.15 2006/03/15 09:14:37 zzam Exp $
#
# Author:
# Matthias Schwarzott <zzam@gentoo.org>
@@ -45,6 +45,8 @@
inherit base eutils flag-o-matic
+IUSE="debug"
+
# Name of the plugin stripped from all vdrplugin-, vdr- and -cvs pre- and postfixes
VDRPLUGIN="${PN/#vdrplugin-/}"
VDRPLUGIN="${VDRPLUGIN/#vdr-/}"
@@ -95,6 +97,7 @@ remove_vdrplugindb() {
vdr-plugin_pkg_setup() {
# -fPIC is needed for shared objects on some platforms (amd64 and others)
append-flags -fPIC
+ use debug && append-flags -g
VDRVERSION=$(awk -F'"' '/VDRVERSION/ {print $2}' /usr/include/vdr/config.h)
einfo "Building ${PF} against vdr-${VDRVERSION}"