sm-grimoire-bugs AT lists.ibiblio.org
Subject: SourceMage Grimoire Bug List
List archive
[SM-Grimoire-Bugs] [Bug 13632] athcool doesn't compile
- From: bugzilla-daemon AT bugs.sourcemage.org
- To: sm-grimoire-bugs AT lists.ibiblio.org
- Subject: [SM-Grimoire-Bugs] [Bug 13632] athcool doesn't compile
- Date: 19 Mar 2007 17:01:03 -0000
http://bugs.sourcemage.org/show_bug.cgi?id=13632
chat AT sourcemage.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |chat AT sourcemage.org
------- Additional Comments From chat AT sourcemage.org 2007-03-19 11:01 -------
I noticed gentoo
(http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-power/athcool/files/athcool-0.3.11-build.patch?rev=1.2&view=markup)
uses a patch like this:
--- Makefile
+++ Makefile
@@ -14,13 +14,13 @@
SRCS = athcool.c scanpci.c
OBJS = $(SRCS:.c=.o)
-CC = gcc
+CC ?= gcc
RM = rm -f
-CFLAGS = -O2 -Wall
-DEFS = -I. -I$(includedir) -DPACKAGE=\"$(PACKAGE)\"
-DVERSION=\"$(VERSION)\"
+CFLAGS += -Wall
+DEFS = -I. -DPACKAGE=\"$(PACKAGE)\" -DVERSION=\"$(VERSION)\"
#DEFS += -DENABLE_FORCEID=1
#DEFS += -DDISABLE_WRITE_REG=1
-LIBS = -lpci
+LIBS = -lpci -lz
### rules ###
@@ -30,13 +30,13 @@
all: $(PACKAGE)
$(PACKAGE): $(OBJS)
- $(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $@
+ $(CC) $(CFLAGS) $(OBJS) $(LIBS) -o $@ $(LDFLAGS)
install: install-program install-man # install-script
install-program:
[ -d $(sbindir) ] || install -m 755 -d $(sbindir)
- install -s $(PACKAGE) $(sbindir)
+ install $(PACKAGE) $(sbindir)
install-man:
[ -d $(mandir)/man8 ] || install -m 755 -d $(mandir)/man8
--
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
-
[SM-Grimoire-Bugs] [Bug 13632] athcool doesn't compile,
bugzilla-daemon, 03/19/2007
- <Possible follow-up(s)>
- [SM-Grimoire-Bugs] [Bug 13632] athcool doesn't compile, bugzilla-daemon, 03/19/2007
Archive powered by MHonArc 2.6.24.