pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/sane-frontends Split off options handling int...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8c3363f779e5
branches: trunk
changeset: 534630:8c3363f779e5
user: wiz <wiz%pkgsrc.org@localhost>
date: Sun Oct 28 11:07:12 2007 +0000
description:
Split off options handling into options.mk file.
diffstat:
graphics/sane-frontends/Makefile | 11 ++---------
graphics/sane-frontends/options.mk | 11 +++++++++++
2 files changed, 13 insertions(+), 9 deletions(-)
diffs (42 lines):
diff -r 6ff809ef7da8 -r 8c3363f779e5 graphics/sane-frontends/Makefile
--- a/graphics/sane-frontends/Makefile Sun Oct 28 11:05:45 2007 +0000
+++ b/graphics/sane-frontends/Makefile Sun Oct 28 11:07:12 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2007/10/28 10:58:21 wiz Exp $
+# $NetBSD: Makefile,v 1.38 2007/10/28 11:07:12 wiz Exp $
.include "../../graphics/sane-backends/Makefile.common"
@@ -11,16 +11,9 @@
BUILDLINK_API_DEPENDS.sane+= sane-backends>=${SANE_VERSION}
USE_TOOLS+= pkg-config
-USE_X11BASE= YES
-PKG_OPTIONS_VAR= PKG_OPTIONS.sane-frontends
-PKG_SUPPORTED_OPTIONS= gimp
-PKG_SUGGESTED_OPTIONS= gimp
-.include "../../mk/bsd.options.mk"
+.include "options.mk"
-.if !empty(PKG_OPTIONS:Mgimp)
-.include "../../graphics/gimp/buildlink3.mk"
-.endif
.include "../../x11/gtk2/buildlink3.mk"
.include "../../graphics/sane-backends/buildlink3.mk"
diff -r 6ff809ef7da8 -r 8c3363f779e5 graphics/sane-frontends/options.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/sane-frontends/options.mk Sun Oct 28 11:07:12 2007 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1 2007/10/28 11:07:12 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.sane-frontends
+PKG_SUPPORTED_OPTIONS= gimp
+PKG_SUGGESTED_OPTIONS= gimp
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgimp)
+.include "../../graphics/gimp/buildlink3.mk"
+.endif
Home |
Main Index |
Thread Index |
Old Index