summaryrefslogtreecommitdiff
path: root/editors/elvis
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-01-21 17:43:55 +0000
committerrecht <recht@pkgsrc.org>2004-01-21 17:43:55 +0000
commitc3cc5452285175590c6ec346e6b8481c3cdd2a2a (patch)
tree7e96cde7c608267875bb728d5a0dab9772908905 /editors/elvis
parented0783e49620db2dbc8ae75737e5b48523dfd5d4 (diff)
downloadpkgsrc-c3cc5452285175590c6ec346e6b8481c3cdd2a2a.tar.gz
Fix a build/linking problem wrt Xft2.
Reported by Peter Bex.
Diffstat (limited to 'editors/elvis')
-rw-r--r--editors/elvis/distinfo4
-rw-r--r--editors/elvis/patches/patch-ab22
2 files changed, 20 insertions, 6 deletions
diff --git a/editors/elvis/distinfo b/editors/elvis/distinfo
index 175abfc2bcd..bb893b76c8f 100644
--- a/editors/elvis/distinfo
+++ b/editors/elvis/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2004/01/20 22:48:07 recht Exp $
+$NetBSD: distinfo,v 1.3 2004/01/21 17:43:55 recht Exp $
SHA1 (elvis-2.2_0.tar.gz) = 8c16574b6d36529735b8ced70972ddaf6275a477
Size (elvis-2.2_0.tar.gz) = 1439293 bytes
SHA1 (patch-aa) = b533a7437de65eac9faed27826edce2111f71f30
-SHA1 (patch-ab) = 277860e7f007a8221505913687b2b707d1cc96be
+SHA1 (patch-ab) = 3ded3089b617bccc3458e6c9101a339534fd3152
SHA1 (patch-ac) = d95439604922dd92ae658ca6e09dca4829ea66c7
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