From ed099ac397219f780c6588f6a140187c8e37bb26 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 17 May 2006 03:09:17 +0000 Subject: Version bump #133540 by Daniel Webert. Package-Manager: portage-2.1_rc1-r2 --- sys-apps/lshw/files/digest-lshw-02.08.01b | 3 ++ sys-apps/lshw/files/lshw-02.08.01b-build.patch | 60 ++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 sys-apps/lshw/files/digest-lshw-02.08.01b create mode 100644 sys-apps/lshw/files/lshw-02.08.01b-build.patch (limited to 'sys-apps/lshw/files') diff --git a/sys-apps/lshw/files/digest-lshw-02.08.01b b/sys-apps/lshw/files/digest-lshw-02.08.01b new file mode 100644 index 000000000000..6a011415775c --- /dev/null +++ b/sys-apps/lshw/files/digest-lshw-02.08.01b @@ -0,0 +1,3 @@ +MD5 57c1bb0fec3543641c389726a8844307 lshw-B.02.08.01.tar.gz 1062265 +RMD160 7972640020f7a3e008b6640b76986d899b074f36 lshw-B.02.08.01.tar.gz 1062265 +SHA256 b5e43be355bb7192273a052704b20c4185bcbe8e3f8a66a7d55f75e246075848 lshw-B.02.08.01.tar.gz 1062265 diff --git a/sys-apps/lshw/files/lshw-02.08.01b-build.patch b/sys-apps/lshw/files/lshw-02.08.01b-build.patch new file mode 100644 index 000000000000..b30dcf4410f2 --- /dev/null +++ b/sys-apps/lshw/files/lshw-02.08.01b-build.patch @@ -0,0 +1,60 @@ +--- lshw-B.02.08.01/src/Makefile ++++ lshw-B.02.08.01/src/Makefile +@@ -13,11 +13,13 @@ + export MANDIR + export DATADIR + +-CXX=c++ ++CXX ?= c++ + INCLUDES=-I./core/ + DEFINES=-DPREFIX=\"$(PREFIX)\" -DSBINDIR=\"$(SBINDIR)\" -DMANDIR=\"$(MANDIR)\" -DDATADIR=\"$(DATADIR)\" +-CXXFLAGS=-g -Wall -g $(INCLUDES) $(DEFINES) +-LDFLAGS=-L./core/ -g ++CXXFLAGS ?= -g -Os ++CXXFLAGS += -Wall $(INCLUDES) $(DEFINES) ++LDFLAGS ?= -s ++LDFLAGS += -L./core/ + ifneq ($(shell $(LD) --help 2| grep -- --as-needed), ) + LDFLAGS+= -Wl,--as-needed + endif +--- lshw-B.02.08.01/src/core/Makefile ++++ lshw-B.02.08.01/src/core/Makefile +@@ -1,9 +1,10 @@ + PACKAGENAME?=lshw + +-CXX=c++ ++CXX ?= c++ + INCLUDES= + DEFINES=-DPREFIX=\"$(PREFIX)\" -DSBINDIR=\"$(SBINDIR)\" -DMANDIR=\"$(MANDIR)\" -DDATADIR=\"$(DATADIR)\" +-CXXFLAGS=-g -Wall -Os $(INCLUDES) $(DEFINES) ++CXXFLAGS ?= -g -Os ++CXXFLAGS += -Wall $(INCLUDES) $(DEFINES) + LDFLAGS= + LDSTATIC= + LIBS= +--- lshw-B.02.08.01/src/gui/Makefile ++++ lshw-B.02.08.01/src/gui/Makefile +@@ -1,16 +1,18 @@ + PACKAGENAME?=lshw + +-CXX=c++ +-CC=cc ++CXX ?= c++ ++CC ?= cc + + DEFINES=-DPREFIX=\"$(PREFIX)\" -DSBINDIR=\"$(SBINDIR)\" -DMANDIR=\"$(MANDIR)\" -DDATADIR=\"$(DATADIR)\" + GTKINCLUDES=$(shell pkg-config gtk+-2.0 --cflags) + INCLUDES=-I../core $(GTKINCLUDES) +-CXXFLAGS=-g -Wall -Os $(INCLUDES) $(DEFINES) +-CFLAGS=$(CXXFLAGS) $(DEFINES) ++CXXFLAGS ?= -g -Os ++CFLAGS ?= $(CXXFLAGS) ++CXXFLAGS += -Wall $(INCLUDES) $(DEFINES) ++CFLAGS += -Wall $(INCLUDES) $(DEFINES) + GTKLIBS=$(shell pkg-config gtk+-2.0 --libs) + LIBS=-L../core -llshw $(GTKLIBS) +-LDFLAGS= -Os -s ++LDFLAGS ?= -Os -s + ifneq ($(shell $(LD) --help 2| grep -- --as-needed), ) + LDFLAGS+= -Wl,--as-needed + endif -- cgit v1.2.3-65-gdbad