diff options
author | dillo <dillo@pkgsrc.org> | 2007-01-28 00:13:49 +0000 |
---|---|---|
committer | dillo <dillo@pkgsrc.org> | 2007-01-28 00:13:49 +0000 |
commit | 90a743c431de69059830d65010cda2c5d10b3370 (patch) | |
tree | b7b9c8d1c15a7188402cf55b31659a32dc28bed0 /print | |
parent | dabfb3562f3489e6ec90d2b9aa132642ef839fe8 (diff) | |
download | pkgsrc-90a743c431de69059830d65010cda2c5d10b3370.tar.gz |
Add cups option.
Explicitly disable cups if option is not set -- fixes build againts
cups-enabled gtk2.
Okayed by maintainer.
Diffstat (limited to 'print')
-rw-r--r-- | print/epdfview/Makefile | 4 | ||||
-rw-r--r-- | print/epdfview/options.mk | 13 |
2 files changed, 16 insertions, 1 deletions
diff --git a/print/epdfview/Makefile b/print/epdfview/Makefile index 8090c869e85..cfe7ac2dc6d 100644 --- a/print/epdfview/Makefile +++ b/print/epdfview/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2006/11/30 07:30:29 reed Exp $ +# $NetBSD: Makefile,v 1.2 2007/01/28 00:13:49 dillo Exp $ # DISTNAME= epdfview-0.1.5 @@ -15,6 +15,8 @@ USE_LANGUAGES+= c c++ USE_PKGLOCALEDIR= yes USE_TOOLS+= pkg-config +.include "options.mk" + .include "../../print/poppler-glib/buildlink3.mk" .include "../../x11/gtk2/buildlink3.mk" diff --git a/print/epdfview/options.mk b/print/epdfview/options.mk new file mode 100644 index 00000000000..60a8a1c2b00 --- /dev/null +++ b/print/epdfview/options.mk @@ -0,0 +1,13 @@ +# $NetBSD: options.mk,v 1.1 2007/01/28 00:13:49 dillo Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.epdfview +PKG_SUPPORTED_OPTIONS= cups + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mcups) +.include "../../print/cups/buildlink3.mk" +CONFIGURE_ARGS+= --with-cups +.else +CONFIGURE_ARGS+= --without-cups +.endif |