SOURCES: lshw-make.patch (NEW) - avoid rebuild on install, removed...

qboosh qboosh at pld-linux.org
Fri Aug 3 21:58:04 CEST 2007


Author: qboosh                       Date: Fri Aug  3 19:58:04 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- avoid rebuild on install, removed invalid flag from install -d

---- Files affected:
SOURCES:
   lshw-make.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/lshw-make.patch
diff -u /dev/null SOURCES/lshw-make.patch:1.1
--- /dev/null	Fri Aug  3 21:58:04 2007
+++ SOURCES/lshw-make.patch	Fri Aug  3 21:57:59 2007
@@ -0,0 +1,31 @@
+--- lshw-B.02.11/src/Makefile.orig	2007-07-20 00:42:20.000000000 +0200
++++ lshw-B.02.11/src/Makefile	2007-08-03 21:36:53.908682481 +0200
+@@ -7,7 +7,7 @@
+ SBINDIR=$(PREFIX)/sbin
+ MANDIR=$(PREFIX)/share/man
+ DATADIR=$(PREFIX)/share
+-INSTALL?=install -p -s
++INSTALL?=install -p
+ STRIP?=strip
+ export DESTDIR
+ export PREFIX
+@@ -37,7 +37,9 @@
+ core:
+ 	+make -C core all
+ 
+-$(PACKAGENAME): core $(PACKAGENAME).o
++core/lib$(PACKAGENAME).a: core
++
++$(PACKAGENAME): core/lib$(PACKAGENAME).a $(PACKAGENAME).o
+ 	$(CXX) $(LDFLAGS) -o $@ $(PACKAGENAME).o $(LIBS)
+ 
+ .PHONY: gui
+@@ -47,7 +49,7 @@
+ .PHONY: static
+ static: $(PACKAGENAME)-static
+ 
+-$(PACKAGENAME)-static: core core/lib$(PACKAGENAME).a $(PACKAGENAME).o
++$(PACKAGENAME)-static: core/lib$(PACKAGENAME).a $(PACKAGENAME).o
+ 	$(CXX) $(LDSTATIC) $(LDFLAGS) -o $@ $(PACKAGENAME).o $(LIBS)
+ 	$(STRIP) $@
+ 
================================================================


More information about the pld-cvs-commit mailing list