pkgsrc/converters/libwpd/Makefile
dsainty 7da5fd7e22 Include all buildlink3.mk before compiler.mk, as the buildlink dependencies
may alter the compiler selection.

In this particular case, librevenge depends on boost-libs, which will
set GCC_REQD and possibly select a GCC dependency, so long as the compiler
hasn't been forcibly pre-selected by including compiler.mk too early.

Fixes build of libwpd on platforms with a native GCC older than what
boost-libs calls for.
2015-09-14 03:07:12 +00:00

33 lines
935 B
Makefile

# $NetBSD: Makefile,v 1.35 2015/09/14 03:07:12 dsainty Exp $
DISTNAME= libwpd-0.10.0
PKGREVISION= 1
CATEGORIES= converters
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libwpd/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jaapb@NetBSD.org
HOMEPAGE= http://libwpd.sourceforge.net/
COMMENT= Library for importing and exporting WordPerfect(tm) documents
LICENSE= gnu-lgpl-v2.1
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-docs
PKGCONFIG_OVERRIDE+= libwpd.pc.in
.include "../../devel/zlib/buildlink3.mk"
.include "../../converters/librevenge/buildlink3.mk"
# Include all buildlink3.mk before compiler.mk, as the buildlink dependencies
# may alter the compiler selection.
.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Mclang)
_WRAP_EXTRA_ARGS.CXX+= -Wno-unused-private-field
CWRAPPERS_APPEND.cxx+= -Wno-unused-private-field
.endif
.include "../../mk/bsd.pkg.mk"