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
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')
-rw-r--r--sys-apps/xmbmon/ChangeLog7
-rw-r--r--sys-apps/xmbmon/xmbmon-2.0.3.ebuild12
2 files changed, 13 insertions, 6 deletions
diff --git a/sys-apps/xmbmon/ChangeLog b/sys-apps/xmbmon/ChangeLog
index 0088c18f4283..3d966b4219ae 100644
--- a/sys-apps/xmbmon/ChangeLog
+++ b/sys-apps/xmbmon/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/xmbmon
-# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/xmbmon/ChangeLog,v 1.3 2004/03/01 19:59:51 aliz Exp $
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/xmbmon/ChangeLog,v 1.4 2004/04/01 16:45:28 jhuebel Exp $
+
+ 01 Apr 2004; Jason Eric Huebel <jhuebel@gentoo.org> xmbmon-2.0.3.ebuild:
+ added DEFS=" -DLINUX" to emake lines and included gnuconfig_update
*xmbmon-2.0.3 (29 Aug 2003)
29 Aug 2003; Tim Yamin <plasmaroo@gentoo.org> xmbmon-2.0.3.ebuild:
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
}