diff options
author | 2015-08-08 13:49:04 -0700 | |
---|---|---|
committer | 2015-08-08 17:38:18 -0700 | |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /x11-plugins/wmSMPmon/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'x11-plugins/wmSMPmon/files')
-rw-r--r-- | x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch b/x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch new file mode 100644 index 000000000000..1bd27f47c0f1 --- /dev/null +++ b/x11-plugins/wmSMPmon/files/wmSMPmon-3.1-makefile.patch @@ -0,0 +1,45 @@ +--- Makefile.orig 2005-02-22 23:24:23.000000000 +0100 ++++ Makefile 2008-01-28 00:12:33.000000000 +0100 +@@ -2,22 +2,24 @@ + # Adapted for wmSMPmon 2.9.x and higher: Thomas Ribbrock + + # Change the following two to determine installation location +-BINDIR=/usr/local/bin/ +-MANDIR=/usr/local/share/man/ ++PREFIX=/usr ++BINDIR=$(PREFIX)/bin ++MANDIR=$(PREFIX)/share/man + + SRC = general.c sysinfo-linux.c ../wmgeneral/wmgeneral.c wmSMPmon.c + EXE = wmSMPmon + MAN = wmSMPmon.1 + OBJ = $(SRC:.c=.o) + INSTALL = /usr/bin/install +-INSTALLEXEFLAGS = -m 755 -s ++INSTALLEXEFLAGS = -m 755 + INSTALLMANFLAGS = -m 644 +-CC = gcc +-CFLAGS = -Wall -O2 -g +-LIB = -L/usr/X11R6/lib -lXpm -lXext -lX11 ++CC ?= gcc ++CFLAGS += -Wall ++LIBDIR ?= /usr/lib ++LIBS= -lXpm -lXext -lX11 + + all: $(OBJ) +- $(CC) -o $(EXE) $(OBJ) $(LIB) ++ $(CC) $(CFLAGS) -o $(EXE) $(OBJ) -L$(LIBDIR) $(LDFLAGS) $(LIBS) + + $(OBJ): %.o : %.c + $(CC) $(CFLAGS) -c -o $@ $< +@@ -28,6 +31,7 @@ + rm -rf ../wmgeneral/*.o + + install: +- $(INSTALL) $(INSTALLEXEFLAGS) $(EXE) $(BINDIR) +- $(INSTALL) -d $(MANDIR)/man1 +- $(INSTALL) $(INSTALLMANFLAGS) $(MAN) $(MANDIR)/man1 ++ $(INSTALL) -d $(DESTDIR)$(BINDIR) ++ $(INSTALL) $(INSTALLEXEFLAGS) $(EXE) $(DESTDIR)$(BINDIR) ++ $(INSTALL) -d $(DESTDIR)$(MANDIR)/man1 ++ $(INSTALL) $(INSTALLMANFLAGS) $(MAN) $(DESTDIR)$(MANDIR)/man1 |