Fri Jul 8 07:21:23 2022 UTC ()
ted: Fix detection of libtiff as provided by pkgsrc.
(nia)
diff -r1.20 -r1.21 pkgsrc/editors/ted/distinfo
diff -r0 -r1.1 pkgsrc/editors/ted/patches/patch-Ted_configure
diff -r0 -r1.1 pkgsrc/editors/ted/patches/patch-bitmap_configure
--- pkgsrc/editors/ted/distinfo 2022/05/19 13:32:47 1.20
+++ pkgsrc/editors/ted/distinfo 2022/07/08 07:21:23 1.21
| @@ -1,5 +1,7 @@ | | | @@ -1,5 +1,7 @@ |
1 | $NetBSD: distinfo,v 1.20 2022/05/19 13:32:47 nia Exp $ | | 1 | $NetBSD: distinfo,v 1.21 2022/07/08 07:21:23 nia Exp $ |
2 | | | 2 | |
3 | BLAKE2s (ted-2.23.src.tar.gz) = 5f32fde6f8ea58a0bf505784e5bb998341db78241ed7f0c13e53589170e950c2 | | 3 | BLAKE2s (ted-2.23.src.tar.gz) = 5f32fde6f8ea58a0bf505784e5bb998341db78241ed7f0c13e53589170e950c2 |
4 | SHA512 (ted-2.23.src.tar.gz) = c6541e5a07545a08b30cb9b33429d9a7675f9252df32ccca5cdb4f2ff09978085d28d015a42922baf8c95db1ea6379a9d1088541aafd9ce45b8870212496849f | | 4 | SHA512 (ted-2.23.src.tar.gz) = c6541e5a07545a08b30cb9b33429d9a7675f9252df32ccca5cdb4f2ff09978085d28d015a42922baf8c95db1ea6379a9d1088541aafd9ce45b8870212496849f |
5 | Size (ted-2.23.src.tar.gz) = 4672208 bytes | | 5 | Size (ted-2.23.src.tar.gz) = 4672208 bytes |
| | | 6 | SHA1 (patch-Ted_configure) = e307c07ba3cfa30879a974bf93e153c0b37e28c5 |
| | | 7 | SHA1 (patch-bitmap_configure) = 36dcc05b25828f02168edf1800cf0f2860103039 |
$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
$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