47ed57aae4
Linux systems have glibc which provides a good GNU iconv. What GNU iconv feature/function is specifically needed for abiword? This should be fixed to not define USE_BUILTIN.iconv=no but to use some other option, because it overrides PREFER_NATIVE use for iconv. Also at this time, converters/libiconv doesn't get built nor installed under Linux. So abiword's build failed.
48 lines
1.4 KiB
Text
48 lines
1.4 KiB
Text
# $NetBSD: Makefile.common,v 1.3 2004/10/27 02:50:19 reed Exp $
|
|
#
|
|
|
|
ABIWORD_DIST_VERSION= 2.0.11
|
|
DISTNAME= abiword-${ABIWORD_DIST_VERSION}
|
|
|
|
CATEGORIES= editors
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=abiword/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.abisource.com/
|
|
|
|
BUILD_USES_MSGFMT= yes
|
|
|
|
MAKEFILE= GNUmakefile
|
|
GNU_CONFIGURE= yes
|
|
USE_BUILDLINK3= yes
|
|
USE_LIBTOOL= yes
|
|
USE_DIRS+= xdg-1.1
|
|
USE_GNU_TOOLS+= make
|
|
USE_PERL5= run
|
|
USE_X11= yes
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
.if ${OPSYS} != "Linux" # iconv is not needed for Linux; it is included in glibc
|
|
USE_BUILTIN.iconv= no # Make sure we get libiconv dependency.
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --enable-threads
|
|
CONFIGURE_ARGS+= --with-libxml2
|
|
CONFIGURE_ARGS+= --with-libjpeg-prefix=${BUILDLINK_PREFIX.jpeg}
|
|
CONFIGURE_ARGS+= --with-libpng=${BUILDLINK_PREFIX.png}
|
|
|
|
.include "../../converters/fribidi/buildlink3.mk"
|
|
.include "../../devel/libglade2/buildlink3.mk"
|
|
.include "../../devel/pkgconfig/buildlink3.mk"
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../fonts/fontconfig/buildlink3.mk"
|
|
.include "../../fonts/Xft2/buildlink3.mk"
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../graphics/libwmf/buildlink3.mk"
|
|
.include "../../graphics/png/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|