pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/ted ted: Fix detection of libtiff as provided ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4aac558cb51d
branches:  trunk
changeset: 381470:4aac558cb51d
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri Jul 08 07:21:23 2022 +0000

description:
ted: Fix detection of libtiff as provided by pkgsrc.

diffstat:

 editors/ted/distinfo                       |   4 +++-
 editors/ted/patches/patch-Ted_configure    |  26 ++++++++++++++++++++++++++
 editors/ted/patches/patch-bitmap_configure |  26 ++++++++++++++++++++++++++
 3 files changed, 55 insertions(+), 1 deletions(-)

diffs (72 lines):

diff -r 27eeb87ff2db -r 4aac558cb51d editors/ted/distinfo
--- a/editors/ted/distinfo      Fri Jul 08 06:39:57 2022 +0000
+++ b/editors/ted/distinfo      Fri Jul 08 07:21:23 2022 +0000
@@ -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 -r 27eeb87ff2db -r 4aac558cb51d editors/ted/patches/patch-Ted_configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/ted/patches/patch-Ted_configure   Fri Jul 08 07:21:23 2022 +0000
@@ -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 -r 27eeb87ff2db -r 4aac558cb51d editors/ted/patches/patch-bitmap_configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/editors/ted/patches/patch-bitmap_configure        Fri Jul 08 07:21:23 2022 +0000
@@ -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
+ 



Home | Main Index | Thread Index | Old Index