diff options
author | jmmv <jmmv> | 2003-02-17 22:22:43 +0000 |
---|---|---|
committer | jmmv <jmmv> | 2003-02-17 22:22:43 +0000 |
commit | dff5f4bef6bb5b95d63241a8fc746ebd6e30618c (patch) | |
tree | 829ad15a8c0b0c020cd0b25232c8b01c9ba3287d /print | |
parent | 551df7ad16447a9e812cb4f73bf780e79380cf84 (diff) | |
download | pkgsrc-dff5f4bef6bb5b95d63241a8fc746ebd6e30618c.tar.gz |
Add conditional support for cups. Closes PR pkg/20397 by Marc Recht.
Diffstat (limited to 'print')
-rw-r--r-- | print/libgnomeprint/Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/print/libgnomeprint/Makefile b/print/libgnomeprint/Makefile index cdee85e22f5..5479748f77e 100644 --- a/print/libgnomeprint/Makefile +++ b/print/libgnomeprint/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2003/02/14 20:19:46 jmmv Exp $ +# $NetBSD: Makefile,v 1.11 2003/02/17 22:22:43 jmmv Exp $ # DISTNAME= libgnomeprint-2.2.1.1 @@ -25,6 +25,16 @@ PKGCONFIG_OVERRIDE= ${WRKSRC}/libgnomeprint/libgnomeprint-2.2.pc.in CONFIGURE_ARGS+= --enable-gtk-doc=no CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/html +.include "../../mk/bsd.prefs.mk" + +BUILD_DEFS+= USE_CUPS +.if defined(USE_CUPS) && !empty(USE_CUPS:M[Yy][Ee][Ss]) +.include "../../print/cups/buildlink2.mk" +CONFIGURE_ARGS+= --with-cups +.else +CONFIGURE_ARGS+= --without-cups +.endif + .include "../../devel/gettext-lib/buildlink2.mk" .include "../../devel/libbonobo/buildlink2.mk" .include "../../devel/pango/buildlink2.mk" |