summaryrefslogtreecommitdiff
path: root/pkgtools/pkgin/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkgin/options.mk')
-rw-r--r--pkgtools/pkgin/options.mk11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgtools/pkgin/options.mk b/pkgtools/pkgin/options.mk
new file mode 100644
index 00000000000..16b105a7c15
--- /dev/null
+++ b/pkgtools/pkgin/options.mk
@@ -0,0 +1,11 @@
+# $NetBSD: options.mk,v 1.1.1.1 2009/06/08 13:58:26 imil Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.pkgin
+PKG_SUPPORTED_OPTIONS= gzip-summary
+
+.include "../../mk/bsd.options.mk"
+
+# by default, pkg_summary extention is set to bz2
+.if !empty(PKG_OPTIONS:Mgzip-summary)
+CPPFLAGS+= -DSUMEXT=\"gz\"
+.endif