summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-07-08 07:21:23 +0000
committernia <nia@pkgsrc.org>2022-07-08 07:21:23 +0000
commit8e74e6ac75ae3aeacce5b96057703fcbd2861786 (patch)
tree620bc929b5b1d2ee294b711d0fd490227bb7a053 /editors
parent473efb6aa1c6a241411b07ec25849a122ea33a38 (diff)
downloadpkgsrc-8e74e6ac75ae3aeacce5b96057703fcbd2861786.tar.gz
ted: Fix detection of libtiff as provided by pkgsrc.
Diffstat (limited to 'editors')
-rw-r--r--editors/ted/distinfo4
-rw-r--r--editors/ted/patches/patch-Ted_configure26
-rw-r--r--editors/ted/patches/patch-bitmap_configure26
3 files changed, 55 insertions, 1 deletions
diff --git a/editors/ted/distinfo b/editors/ted/distinfo
index 84ad77714f6..5c4af65905a 100644
--- a/editors/ted/distinfo
+++ b/editors/ted/distinfo
@@ -1,5 +1,7 @@
-$NetBSD: distinfo,v 1.20 2022/05/19 13:32:47 nia Exp $
+$NetBSD: distinfo,v 1.21 2022/07/08 07:21:23 nia Exp $
BLAKE2s (ted-2.23.src.tar.gz) = 5f32fde6f8ea58a0bf505784e5bb998341db78241ed7f0c13e53589170e950c2
SHA512 (ted-2.23.src.tar.gz) = c6541e5a07545a08b30cb9b33429d9a7675f9252df32ccca5cdb4f2ff09978085d28d015a42922baf8c95db1ea6379a9d1088541aafd9ce45b8870212496849f
Size (ted-2.23.src.tar.gz) = 4672208 bytes
+SHA1 (patch-Ted_configure) = e307c07ba3cfa30879a974bf93e153c0b37e28c5
+SHA1 (patch-bitmap_configure) = 36dcc05b25828f02168edf1800cf0f2860103039
diff --git a/editors/ted/patches/patch-Ted_configure b/editors/ted/patches/patch-Ted_configure
new file mode 100644
index 00000000000..81cb667bc53
--- /dev/null
+++ b/editors/ted/patches/patch-Ted_configure
@@ -0,0 +1,26 @@
+$NetBSD: patch-Ted_configure,v 1.1 2022/07/08 07:21:23 nia Exp $
+
+Fix the name of the graphics/tiff .pc file.
+
+--- Ted/configure.orig 2013-02-01 12:11:08.000000000 +0000
++++ Ted/configure
+@@ -5152,15 +5152,15 @@ rm -f core conftest.err conftest.$ac_obj
+ LIBTIFF_LIBS_FOUND=NO
+ LIBTIFF_FOUND=0
+
+- if ( pkg-config libtiff --cflags ) > /dev/null 2>&1
++ if ( pkg-config libtiff-4 --cflags ) > /dev/null 2>&1
+ then
+- LIBTIFF_CFLAGS=`pkg-config libtiff --cflags`
++ LIBTIFF_CFLAGS=`pkg-config libtiff-4 --cflags`
+ LIBTIFF_HEADERS_FOUND=YES
+ fi
+
+- if ( pkg-config libtiff --libs ) > /dev/null 2>&1
++ if ( pkg-config libtiff-4 --libs ) > /dev/null 2>&1
+ then
+- LIBTIFF_LIBS=`pkg-config libtiff --libs`
++ LIBTIFF_LIBS=`pkg-config libtiff-4 --libs`
+ LIBTIFF_LIBS_FOUND=YES
+ fi
+
diff --git a/editors/ted/patches/patch-bitmap_configure b/editors/ted/patches/patch-bitmap_configure
new file mode 100644
index 00000000000..6c891bddd7b
--- /dev/null
+++ b/editors/ted/patches/patch-bitmap_configure
@@ -0,0 +1,26 @@
+$NetBSD: patch-bitmap_configure,v 1.1 2022/07/08 07:21:23 nia Exp $
+
+Fix the name of the graphics/tiff .pc file.
+
+--- bitmap/configure.orig 2013-02-01 12:11:08.000000000 +0000
++++ bitmap/configure
+@@ -4594,15 +4594,15 @@ rm -f core conftest.err conftest.$ac_obj
+ LIBTIFF_LIBS_FOUND=NO
+ LIBTIFF_FOUND=0
+
+- if ( pkg-config libtiff --cflags ) > /dev/null 2>&1
++ if ( pkg-config libtiff-4 --cflags ) > /dev/null 2>&1
+ then
+- LIBTIFF_CFLAGS=`pkg-config libtiff --cflags`
++ LIBTIFF_CFLAGS=`pkg-config libtiff-4 --cflags`
+ LIBTIFF_HEADERS_FOUND=YES
+ fi
+
+- if ( pkg-config libtiff --libs ) > /dev/null 2>&1
++ if ( pkg-config libtiff-4 --libs ) > /dev/null 2>&1
+ then
+- LIBTIFF_LIBS=`pkg-config libtiff --libs`
++ LIBTIFF_LIBS=`pkg-config libtiff-4 --libs`
+ LIBTIFF_LIBS_FOUND=YES
+ fi
+