diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-06-24 05:29:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-06-24 05:29:04 +0000 |
commit | 5557d8f8cfefdccb0e30bebc6679794caec02754 (patch) | |
tree | bb51a3e255bb5cfeb54c68c146ef2fa5c01769ec /sys-power/athcool/files | |
parent | USE flag change qt->qt3/qt4 bug #137785 (diff) | |
download | historical-5557d8f8cfefdccb0e30bebc6679794caec02754.tar.gz historical-5557d8f8cfefdccb0e30bebc6679794caec02754.tar.bz2 historical-5557d8f8cfefdccb0e30bebc6679794caec02754.zip |
Fix cleanup ebuild #137576 by Tristan Heaven.
Package-Manager: portage-2.1.1_pre1-r1
Diffstat (limited to 'sys-power/athcool/files')
-rw-r--r-- | sys-power/athcool/files/athcool-0.3.11-build.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-power/athcool/files/athcool-0.3.11-build.patch b/sys-power/athcool/files/athcool-0.3.11-build.patch new file mode 100644 index 000000000000..e29f0a2e9b39 --- /dev/null +++ b/sys-power/athcool/files/athcool-0.3.11-build.patch @@ -0,0 +1,32 @@ +--- Makefile.orig 2006-06-24 01:30:31.000000000 -0400 ++++ Makefile 2006-06-24 01:31:17.000000000 -0400 +@@ -14,10 +14,10 @@ + 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 +@@ -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 |