pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters/TECkit TECkit: Avoid bash autogen.sh script...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aae0e73da8b0
branches:  trunk
changeset: 374641:aae0e73da8b0
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Jan 26 16:40:50 2018 +0000

description:
TECkit: Avoid bash autogen.sh script, fix SunOS.

diffstat:

 converters/TECkit/Makefile                        |   7 ++++---
 converters/TECkit/distinfo                        |   3 ++-
 converters/TECkit/patches/patch-SFconv_UtfCodec.h |  16 ++++++++++++++++
 3 files changed, 22 insertions(+), 4 deletions(-)

diffs (57 lines):

diff -r 5ea769d73d0d -r aae0e73da8b0 converters/TECkit/Makefile
--- a/converters/TECkit/Makefile        Fri Jan 26 16:27:36 2018 +0000
+++ b/converters/TECkit/Makefile        Fri Jan 26 16:40:50 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2018/01/25 15:51:24 jperkin Exp $
+# $NetBSD: Makefile,v 1.10 2018/01/26 16:40:50 jperkin Exp $
 
 DISTNAME=      TECkit-2.5.7
 CATEGORIES=    converters
@@ -14,12 +14,13 @@
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 USE_LANGUAGES= c c++
-USE_TOOLS+=    autoconf automake
+USE_TOOLS+=    aclocal autoconf automake gmake
 
 PKGCONFIG_OVERRIDE=    teckit.pc.in
 
 pre-configure:
-       (cd ${WRKSRC}; ./autogen.sh)
+       cd ${WRKSRC} && libtoolize -c && aclocal && \
+           autoheader && autoconf && automake -a
 
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 5ea769d73d0d -r aae0e73da8b0 converters/TECkit/distinfo
--- a/converters/TECkit/distinfo        Fri Jan 26 16:27:36 2018 +0000
+++ b/converters/TECkit/distinfo        Fri Jan 26 16:40:50 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.6 2018/01/25 15:51:24 jperkin Exp $
+$NetBSD: distinfo,v 1.7 2018/01/26 16:40:50 jperkin Exp $
 
 SHA1 (TECkit-2.5.7.tar.gz) = e0555f71ef4bbdc5badca260607c27da610b4ab4
 RMD160 (TECkit-2.5.7.tar.gz) = 0745f336c141ac969e2b54033edc47a85e26d02b
 SHA512 (TECkit-2.5.7.tar.gz) = 00f7991e2a98eda59c07a3ea197df0ddcf9fa9ea167379c2d4467d4fdf708803c3c74a549f457765837387b9ac9ab121eaf37bb42d4da4b5aadb5699b202a806
 Size (TECkit-2.5.7.tar.gz) = 2940182 bytes
+SHA1 (patch-SFconv_UtfCodec.h) = 4ac9db7a5e23afa0f819fab9747b82e39bce0f78
diff -r 5ea769d73d0d -r aae0e73da8b0 converters/TECkit/patches/patch-SFconv_UtfCodec.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/TECkit/patches/patch-SFconv_UtfCodec.h Fri Jan 26 16:40:50 2018 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-SFconv_UtfCodec.h,v 1.1 2018/01/26 16:40:50 jperkin Exp $
+
+Avoid uchar_t redefinition on SunOS.
+
+--- SFconv/UtfCodec.h.orig     2017-06-23 19:39:26.000000000 +0000
++++ SFconv/UtfCodec.h
+@@ -34,7 +34,9 @@ using std::int8_t;
+ using std::uint8_t;
+ using std::ptrdiff_t;
+ 
++#ifndef __sun
+ typedef uint32_t  uchar_t;
++#endif
+ 
+ template <int N>
+ struct _utf_codec



Home | Main Index | Thread Index | Old Index