summaryrefslogtreecommitdiff
path: root/lang/vala/options.mk
diff options
context:
space:
mode:
authorahoka <ahoka@pkgsrc.org>2009-03-21 18:03:42 +0000
committerahoka <ahoka@pkgsrc.org>2009-03-21 18:03:42 +0000
commit6dc0c0aecb3d508d4a08585da4e388eeb20489a8 (patch)
tree433da8ef62c90e9394c04d92b86f393a3e548476 /lang/vala/options.mk
parentbfd9c7fae22c7fa1935e15c05eebe05e8e88373e (diff)
downloadpkgsrc-6dc0c0aecb3d508d4a08585da4e388eeb20489a8.tar.gz
Patch GTK vapi bug (needed by valide)
Add vapigen option an enable it (closes pkg/41001) Fix a minor PLIST problem
Diffstat (limited to 'lang/vala/options.mk')
-rw-r--r--lang/vala/options.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/vala/options.mk b/lang/vala/options.mk
new file mode 100644
index 00000000000..47aafc05f61
--- /dev/null
+++ b/lang/vala/options.mk
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2009/03/21 18:03:42 ahoka Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.vala
+PKG_SUPPORTED_OPTIONS+= vapigen
+PKG_SUGGESTED_OPTIONS+= vapigen
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mvapigen)
+CONFIGURE_ARGS+= --enable-vapigen
+PLIST_SRC+= PLIST PLIST.vapigen
+.endif