diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-01-26 16:40:50 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-01-26 16:40:50 +0000 |
commit | a15c9e2c6c76da142ee11a6a4046982d8afb560d (patch) | |
tree | acca38aafdb0eacdbe2d3c832ac6e39d407312d3 /converters | |
parent | 2571b40386f5f6fe60aaba312d2e7e96e5b81cfb (diff) | |
download | pkgsrc-a15c9e2c6c76da142ee11a6a4046982d8afb560d.tar.gz |
TECkit: Avoid bash autogen.sh script, fix SunOS.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/TECkit/Makefile | 7 | ||||
-rw-r--r-- | converters/TECkit/distinfo | 3 | ||||
-rw-r--r-- | converters/TECkit/patches/patch-SFconv_UtfCodec.h | 16 |
3 files changed, 22 insertions, 4 deletions
diff --git a/converters/TECkit/Makefile b/converters/TECkit/Makefile index dd999197660..0a96ace7f8d 100644 --- a/converters/TECkit/Makefile +++ b/converters/TECkit/Makefile @@ -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 @@ LICENSE= gnu-lgpl-v2.1 OR cpl-1.0 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 --git a/converters/TECkit/distinfo b/converters/TECkit/distinfo index bbebc2fba95..a1156321b9d 100644 --- a/converters/TECkit/distinfo +++ b/converters/TECkit/distinfo @@ -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 --git a/converters/TECkit/patches/patch-SFconv_UtfCodec.h b/converters/TECkit/patches/patch-SFconv_UtfCodec.h new file mode 100644 index 00000000000..0382e71e277 --- /dev/null +++ b/converters/TECkit/patches/patch-SFconv_UtfCodec.h @@ -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 |