summaryrefslogtreecommitdiff
path: root/graphics/telak/files/patch-Makefile
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-14 09:12:01 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-02-14 09:12:01 +0000
commitba0df27f641acf22293a623fc4161a96ee67d4ca (patch)
treeed18a84a74a2f769c54de0eba13320fabb2c502f /graphics/telak/files/patch-Makefile
parent- update to 0.2 (diff)
Fix build on 10.0 by adding -lX11 to the linker. lImlib2 used to bring this in.
Notes
Notes: svn path=/head/; revision=344171
Diffstat (limited to 'graphics/telak/files/patch-Makefile')
-rw-r--r--graphics/telak/files/patch-Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/graphics/telak/files/patch-Makefile b/graphics/telak/files/patch-Makefile
index 0c081b655680..c67aca61604d 100644
--- a/graphics/telak/files/patch-Makefile
+++ b/graphics/telak/files/patch-Makefile
@@ -1,10 +1,12 @@
---- ./Makefile.orig 2011-08-29 14:29:51.000000000 +0200
-+++ ./Makefile 2011-08-29 14:31:09.000000000 +0200
-@@ -2,7 +2,7 @@
+--- ./Makefile.orig 2008-03-20 16:05:59.000000000 +0100
++++ ./Makefile 2014-02-14 10:08:18.502223147 +0100
+@@ -1,8 +1,8 @@
+ VERSION = $(shell grep '^Version' ChangeLog | head -n 1 | cut -d' ' -f2 | tr -d ' ')
BIN = telak
O = telak.o fetch.o image.o parse.o toon.o
- LDFLAGS = $(shell imlib2-config --libs) $(shell curl-config --libs) -lgcrypt
+-LDFLAGS = $(shell imlib2-config --libs) $(shell curl-config --libs) -lgcrypt
-CFLAGS = -pg -W -Wall $(shell curl-config --cflags) $(shell imlib2-config --cflags) -DTELAK_USER_AGENT="\"$(BIN) $(VERSION)\"" -DTELAK_VERSION="\"$(VERSION)\"" -g
++LDFLAGS = $(shell imlib2-config --libs) $(shell curl-config --libs) -lgcrypt -lX11
+CFLAGS += $(shell curl-config --cflags) $(shell imlib2-config --cflags) -DTELAK_USER_AGENT="\"$(BIN) $(VERSION)\"" -DTELAK_VERSION="\"$(VERSION)\""
BINDIR=$(DESTDIR)/usr/bin