pkgsrc/devel/libdatrie/Makefile
obache e803b55f69 Fix Fix build on SunOS.
Passing LIBS=-liconv will be result in unwanted libiconv linkage for libdatrie
(it is just required for trietool-0.2),
then it cause build failure of depending packages due to missing libiconv.

Passing sufficient iconv library to configure script with right way,
and it also fix build failure on other platforms for the case GNU iconv
from pkgsrc is preferred rather than builtin iconv.
2012-09-22 04:43:09 +00:00

27 lines
700 B
Makefile

# $NetBSD: Makefile,v 1.10 2012/09/22 04:43:09 obache Exp $
#
DISTNAME= libdatrie-0.2.5
CATEGORIES= devel
MASTER_SITES= http://linux.thai.net/pub/thailinux/software/libthai/ \
ftp://linux.thai.net/pub/ThaiLinux/software/libthai/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://linux.thai.net/~thep/datrie/datrie.html
COMMENT= Implementation of Double-Array Trie
LICENSE= gnu-lgpl-v2.1
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
CONFIGURE_ENV+= ICONV_LIBS=${BUILDLINK_LDADD.iconv:Q}
PKGCONFIG_OVERRIDE+= datrie-0.2.pc.in
CONFIGURE_ARGS+= --disable-doxygen-doc
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"