diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch')
-rw-r--r-- | x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch b/x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch new file mode 100644 index 000000000000..4b3aee406733 --- /dev/null +++ b/x11-misc/xrootconsole/files/xrootconsole-0.6.makefile.patch @@ -0,0 +1,36 @@ +--- a/Makefile.org 2004-02-20 22:53:28.000000000 +0100 ++++ b/Makefile 2010-02-08 12:01:11.000000000 +0100 +@@ -43,20 +43,16 @@ + else echo Bleeding Edge Version; \ + fi;) + +-CC = gcc +-CPPFLAGS = +- + # for production +-CFLAGS = -O2 -DNDEBUG -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION)\"" \ +- -I /usr/X11R6/include +-LDFLAGS = -s ++CFLAGS += -DNDEBUG -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION)\"" \ ++ $(shell pkg-config --cflags x11) + + # for testing + #CFLAGS = -g -Wall "-DXROOTCONSOLE_VERSION=\"$(VERSION) (debug build)\"" \ + -I /usr/X11R6/include + #LDFLAGS = + +-LIBS = -L/usr/X11R6/lib -lX11 -lutil ++LIBS = $(shell pkg-config --libs x11) -lutil + + OBJS = main.o util.o + +@@ -76,5 +72,7 @@ + rm -f $(EXEC) *.o core *~ + + install: $(EXEC) +- cp $(EXEC) $(BINDIR) +- cp $(MANFILE) $(MANDIR) ++ install -d $(BINDIR) ++ install -d $(MANDIR) ++ install $(EXEC) $(BINDIR) ++ install $(MANFILE) $(MANDIR) |