diff options
author | Michele Noberasco <s4t4n@gentoo.org> | 2008-01-28 13:43:14 +0000 |
---|---|---|
committer | Michele Noberasco <s4t4n@gentoo.org> | 2008-01-28 13:43:14 +0000 |
commit | 1b5b69716eeffd12e5ca4a71919132a75b109d35 (patch) | |
tree | cd8a637e1fc98af72d38e19eea305b631626c4c5 /x11-plugins/wmMoonClock/files/wmMoonClock-1.27-makefile.patch | |
parent | Version bump (diff) | |
download | gentoo-2-1b5b69716eeffd12e5ca4a71919132a75b109d35.tar.gz gentoo-2-1b5b69716eeffd12e5ca4a71919132a75b109d35.tar.bz2 gentoo-2-1b5b69716eeffd12e5ca4a71919132a75b109d35.zip |
Revision bump, closing bug #207802. Some QA fixing on previous ebuild.
(Portage version: 2.1.3.19)
Diffstat (limited to 'x11-plugins/wmMoonClock/files/wmMoonClock-1.27-makefile.patch')
-rw-r--r-- | x11-plugins/wmMoonClock/files/wmMoonClock-1.27-makefile.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/x11-plugins/wmMoonClock/files/wmMoonClock-1.27-makefile.patch b/x11-plugins/wmMoonClock/files/wmMoonClock-1.27-makefile.patch new file mode 100644 index 000000000000..ecc4f5c4fc62 --- /dev/null +++ b/x11-plugins/wmMoonClock/files/wmMoonClock-1.27-makefile.patch @@ -0,0 +1,36 @@ +--- Makefile.orig 1999-03-23 03:20:32.000000000 +0100 ++++ Makefile 2008-01-27 23:44:28.000000000 +0100 +@@ -1,8 +1,9 @@ +-CC = gcc +-CFLAGS = -O2 +-INCDIR = -I/usr/X11R6/include/X11 +-DESTDIR= /usr/X11R6 +-LIBDIR = -L/usr/X11R6/lib ++CC ?= gcc ++CFLAGS += ++INCDIR = -I/usr/include/X11 ++PREFIX ?= /usr ++LIBDIR ?= /usr/lib ++MANDIR = $(PREFIX)/share/man + + # for Linux + LIBS = -lXpm -lX11 -lXext +@@ -22,7 +23,7 @@ + + wmMoonClock.o: wmMoonClock_master.xpm wmMoonClock_mask.xbm CalcEphem.h + wmMoonClock: $(OBJS) +- $(CC) $(COPTS) $(SYSTEM) -lm -o wmMoonClock $^ $(INCDIR) $(LIBDIR) $(LIBS) ++ $(CC) $(COPTS) $(SYSTEM) -lm -o wmMoonClock $^ $(INCDIR) -L$(LIBDIR) $(LDFLAGS) $(LIBS) + + clean: + for i in $(OBJS) ; do \ +@@ -31,6 +32,7 @@ + rm -f wmMoonClock + + install:: wmMoonClock +- install -s -m 0755 wmMoonClock $(DESTDIR)/bin +- install -m 0644 wmMoonClock.1 $(DESTDIR)/man/man1 ++ install -d $(DESTDIR)$(PREFIX)/bin $(DESTDIR)$(MANDIR)/man1 ++ install -m 0755 wmMoonClock $(DESTDIR)$(PREFIX)/bin ++ install -m 0644 wmMoonClock.1 $(DESTDIR)$(MANDIR)/man1 + |