diff options
author | recht <recht> | 2004-01-21 17:43:55 +0000 |
---|---|---|
committer | recht <recht> | 2004-01-21 17:43:55 +0000 |
commit | 3b615d38132f668a1b6f098d7f848fb0d52e5ae8 (patch) | |
tree | 7e96cde7c608267875bb728d5a0dab9772908905 /editors/elvis/patches | |
parent | 1be01ac4183eed8b95caf2b49c8495ccd16704a8 (diff) | |
download | pkgsrc-3b615d38132f668a1b6f098d7f848fb0d52e5ae8.tar.gz |
Fix a build/linking problem wrt Xft2.
Reported by Peter Bex.
Diffstat (limited to 'editors/elvis/patches')
-rw-r--r-- | editors/elvis/patches/patch-ab | 22 |
1 files changed, 18 insertions, 4 deletions
diff --git a/editors/elvis/patches/patch-ab b/editors/elvis/patches/patch-ab index 217bbb6dd0a..6aeb6a6cc65 100644 --- a/editors/elvis/patches/patch-ab +++ b/editors/elvis/patches/patch-ab @@ -1,8 +1,22 @@ -$NetBSD: patch-ab,v 1.1 2004/01/21 10:11:19 recht Exp $ +$NetBSD: patch-ab,v 1.2 2004/01/21 17:43:55 recht Exp $ ---- configure.orig 2004-01-20 23:11:37.000000000 +0100 -+++ configure 2004-01-20 23:11:54.000000000 +0100 -@@ -950,7 +950,7 @@ +--- configure.orig 2003-10-21 04:32:25.000000000 +0200 ++++ configure 2004-01-21 18:22:46.000000000 +0100 +@@ -905,11 +905,8 @@ + then + case "$FEATURE_XFT" in + define) +- xft="-lXft " +- if [ -d /usr/include/freetype2 ] +- then +- CC="$CC -I/usr/include/freetype2" +- fi ++ xft="`pkg-config --libs freetype2 xft` " ++ CC="$CC `pkg-config --cflags freetype2 xft`" + ;; + *) + xft="" +@@ -950,7 +947,7 @@ # Generate the "config.h" file |