Mon Aug 14 19:26:04 2017 UTC ()
Override the right pkgconfig file.


(nros)
diff -r1.12 -r1.13 pkgsrc/print/poppler-cpp/Makefile

cvs diff -r1.12 -r1.13 pkgsrc/print/poppler-cpp/Makefile (expand / switch to unified diff)

--- pkgsrc/print/poppler-cpp/Makefile 2013/12/06 13:10:59 1.12
+++ pkgsrc/print/poppler-cpp/Makefile 2017/08/14 19:26:04 1.13
@@ -1,27 +1,27 @@ @@ -1,27 +1,27 @@
1# $NetBSD: Makefile,v 1.12 2013/12/06 13:10:59 wiz Exp $ 1# $NetBSD: Makefile,v 1.13 2017/08/14 19:26:04 nros Exp $
2 2
3.include "../../print/poppler/Makefile.common" 3.include "../../print/poppler/Makefile.common"
4 4
5PKGNAME= poppler-cpp-${POPPLER_VERS} 5PKGNAME= poppler-cpp-${POPPLER_VERS}
6 6
7COMMENT= PDF rendering library (cpp wrapper) 7COMMENT= PDF rendering library (cpp wrapper)
8MAINTAINER= reed@reedmedia.net 8MAINTAINER= reed@reedmedia.net
9 9
10CONFLICTS+= poppler<0.4.5nb1 10CONFLICTS+= poppler<0.4.5nb1
11 11
12GNU_CONFIGURE= yes 12GNU_CONFIGURE= yes
13USE_TOOLS+= gmake 13USE_TOOLS+= gmake
14PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-glib.pc.in 14PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-cpp.pc.in
15 15
16CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q} 16CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
17# Don't build the cairo graphics backend, required by glib. 17# Don't build the cairo graphics backend, required by glib.
18CONFIGURE_ARGS+= --disable-cairo-output 18CONFIGURE_ARGS+= --disable-cairo-output
19# Don't build the splash graphics backend. 19# Don't build the splash graphics backend.
20CONFIGURE_ARGS+= --disable-splash-output 20CONFIGURE_ARGS+= --disable-splash-output
21# Don't compile poppler qt wrapper. 21# Don't compile poppler qt wrapper.
22CONFIGURE_ARGS+= --disable-poppler-qt 22CONFIGURE_ARGS+= --disable-poppler-qt
23# Don't compile GTK+ test program. 23# Don't compile GTK+ test program.
24CONFIGURE_ARGS+= --disable-gtk-test 24CONFIGURE_ARGS+= --disable-gtk-test
25CONFIGURE_ARGS+= --disable-utils 25CONFIGURE_ARGS+= --disable-utils
26 26
27BUILDLINK_API_DEPENDS.poppler+= poppler-${POPPLER_VERS}{,nb*} 27BUILDLINK_API_DEPENDS.poppler+= poppler-${POPPLER_VERS}{,nb*}