* [gentoo-commits] gentoo-x86 commit in media-gfx/sxiv/files: sxiv-1.3-makefile.patch
@ 2014-10-25 16:22 Tim Harder (radhermit)
0 siblings, 0 replies; only message in thread
From: Tim Harder (radhermit) @ 2014-10-25 16:22 UTC (permalink / raw
To: gentoo-commits
radhermit 14/10/25 16:22:17
Added: sxiv-1.3-makefile.patch
Log:
Version bump.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Revision Changes Path
1.1 media-gfx/sxiv/files/sxiv-1.3-makefile.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sxiv/files/sxiv-1.3-makefile.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/sxiv/files/sxiv-1.3-makefile.patch?rev=1.1&content-type=text/plain
Index: sxiv-1.3-makefile.patch
===================================================================
--- sxiv-1.3/Makefile
+++ sxiv-1.3/Makefile
@@ -3,10 +3,9 @@
PREFIX = /usr/local
MANPREFIX = $(PREFIX)/share/man
-CC = gcc
-CFLAGS = -std=c99 -Wall -pedantic -O2
-CPPFLAGS = -I$(PREFIX)/include -D_XOPEN_SOURCE=500 -DHAVE_LIBEXIF -DHAVE_GIFLIB
-LDFLAGS = -L$(PREFIX)/lib
+CC ?= gcc
+CFLAGS += -std=c99 -Wall -pedantic
+CPPFLAGS += -I$(PREFIX)/include -D_XOPEN_SOURCE=500 -DHAVE_LIBEXIF -DHAVE_GIFLIB
LIBS = -lX11 -lImlib2 -lexif -lgif
SRC = commands.c image.c main.c options.c thumbs.c util.c window.c
@@ -18,11 +17,11 @@
depend: .depend
-.depend: $(SRC)
+.depend: $(SRC) config.h
rm -f ./.depend
$(CC) $(CFLAGS) -MM $^ >./.depend
-include .depend
+-include .depend
.c.o:
$(CC) $(CFLAGS) $(CPPFLAGS) -DVERSION=\"$(VERSION)\" -c -o $@ $<
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-10-25 16:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-25 16:22 [gentoo-commits] gentoo-x86 commit in media-gfx/sxiv/files: sxiv-1.3-makefile.patch Tim Harder (radhermit)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox