diff options
author | dsainty <dsainty> | 2015-09-14 03:07:12 +0000 |
---|---|---|
committer | dsainty <dsainty> | 2015-09-14 03:07:12 +0000 |
commit | a88786615b7fe025da383be99e5509fcda8df487 (patch) | |
tree | b536978ecadf76d185e2b28ab3d0c1d74671d00c /converters/libwpd/Makefile | |
parent | f091a070eae6021db7229b0139aee2fbecfad7be (diff) | |
download | pkgsrc-a88786615b7fe025da383be99e5509fcda8df487.tar.gz |
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.
Diffstat (limited to 'converters/libwpd/Makefile')
-rw-r--r-- | converters/libwpd/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/converters/libwpd/Makefile b/converters/libwpd/Makefile index 28403460e5e..90709a8e05c 100644 --- a/converters/libwpd/Makefile +++ b/converters/libwpd/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.34 2015/08/15 22:46:39 wiz Exp $ +# $NetBSD: Makefile,v 1.35 2015/09/14 03:07:12 dsainty Exp $ DISTNAME= libwpd-0.10.0 PKGREVISION= 1 @@ -18,6 +18,11 @@ 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) @@ -25,6 +30,4 @@ _WRAP_EXTRA_ARGS.CXX+= -Wno-unused-private-field CWRAPPERS_APPEND.cxx+= -Wno-unused-private-field .endif -.include "../../devel/zlib/buildlink3.mk" -.include "../../converters/librevenge/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |