Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 09:12:01 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344171 - head/graphics/telak/files
Message-ID:  <201402140912.s1E9C1Qn046097@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Fri Feb 14 09:12:01 2014
New Revision: 344171
URL: http://svnweb.freebsd.org/changeset/ports/344171
QAT: https://qat.redports.org/buildarchive/r344171/

Log:
  Fix build on 10.0 by adding -lX11 to the linker. lImlib2 used to bring this in.

Modified:
  head/graphics/telak/files/patch-Makefile

Modified: head/graphics/telak/files/patch-Makefile
==============================================================================
--- head/graphics/telak/files/patch-Makefile	Fri Feb 14 08:58:30 2014	(r344170)
+++ head/graphics/telak/files/patch-Makefile	Fri Feb 14 09:12:01 2014	(r344171)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402140912.s1E9C1Qn046097>