summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Huebel <jhuebel@gentoo.org>2004-04-01 16:45:28 +0000
committerJason Huebel <jhuebel@gentoo.org>2004-04-01 16:45:28 +0000
commitc47b2a22e4ebbda9dfbe4a4ce21d118e56aed4dd (patch)
treed905984ad1fcca1a13ce44b4adbf17ad945a0cd6 /sys-apps/xmbmon/xmbmon-2.0.3.ebuild
parentRemoved explicit S= (Manifest recommit) (diff)
downloadgentoo-2-c47b2a22e4ebbda9dfbe4a4ce21d118e56aed4dd.tar.gz
gentoo-2-c47b2a22e4ebbda9dfbe4a4ce21d118e56aed4dd.tar.bz2
gentoo-2-c47b2a22e4ebbda9dfbe4a4ce21d118e56aed4dd.zip
fixes so linux ifdefs are used and added gnuconfig_update
Diffstat (limited to 'sys-apps/xmbmon/xmbmon-2.0.3.ebuild')
-rw-r--r--sys-apps/xmbmon/xmbmon-2.0.3.ebuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys-apps/xmbmon/xmbmon-2.0.3.ebuild b/sys-apps/xmbmon/xmbmon-2.0.3.ebuild
index 6f21467b687e..a8e79f2256f0 100644
--- a/sys-apps/xmbmon/xmbmon-2.0.3.ebuild
+++ b/sys-apps/xmbmon/xmbmon-2.0.3.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/xmbmon/xmbmon-2.0.3.ebuild,v 1.3 2004/01/13 05:21:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/xmbmon/xmbmon-2.0.3.ebuild,v 1.4 2004/04/01 16:45:28 jhuebel Exp $
+
+inherit gnuconfig
MY_P="${PN}${PV//.}"
DESCRIPTION="Mother Board Monitor Program for X Window System"
@@ -18,10 +20,12 @@ DEPEND="virtual/glibc
S=${WORKDIR}/${MY_P}
src_compile() {
+ gnuconfig_update
+
econf || die "Configure failed"
- emake CFLAGS="$CFLAGS \$(INCLUDES) \$(DEFS)" mbmon || die "Make mbmon failed"
+ emake DEFS="$DEFS -DLINUX" CFLAGS="$CFLAGS \$(INCLUDES) \$(DEFS)" mbmon || die "Make mbmon failed"
if [ `use X` ] ; then
- emake CFLAGSX="$CFLAGS \$(INCLUDES) \$(DEFS)" xmbmon || die "Make xmbmon failed"
+ emake DEFS="$DEFS -DLINUX" CFLAGSX="$CFLAGS \$(INCLUDES) \$(DEFS)" xmbmon || die "Make xmbmon failed"
fi
}