summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2014-04-20 09:32:57 +0000
committerobache <obache@pkgsrc.org>2014-04-20 09:32:57 +0000
commit2a315a7cdb3f1d5c11b41a27a26eabd2818aa98d (patch)
tree7394726e28743bb30af472898fd1f1142006b0b1
parent817bcfb304fa6ada576a43a6c2904aaa3b7dc462 (diff)
downloadpkgsrc-2a315a7cdb3f1d5c11b41a27a26eabd2818aa98d.tar.gz
Drop no meaning "tests" option.
"--{enable,disable}-gltest" configure option only affect to configure script whether glib avaiablility test will be run or not, not affect to self-tests.
-rw-r--r--textproc/json-glib/Makefile4
-rw-r--r--textproc/json-glib/options.mk12
2 files changed, 6 insertions, 10 deletions
diff --git a/textproc/json-glib/Makefile b/textproc/json-glib/Makefile
index 1a769a9a04d..bf86a4919f5 100644
--- a/textproc/json-glib/Makefile
+++ b/textproc/json-glib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2014/01/02 12:19:00 obache Exp $
+# $NetBSD: Makefile,v 1.20 2014/04/20 09:32:57 obache Exp $
#
DISTNAME= json-glib-0.16.2
@@ -17,6 +17,8 @@ USE_TOOLS+= gmake msgfmt msgmerge pkg-config xgettext
PKGCONFIG_OVERRIDE+= json-glib.pc.in
+TEST_TARGET= check
+
.include "options.mk"
BUILDLINK_API_DEPENDS.glib2+= glib2>=2.34.0
diff --git a/textproc/json-glib/options.mk b/textproc/json-glib/options.mk
index ba211ce5a28..ded1088d192 100644
--- a/textproc/json-glib/options.mk
+++ b/textproc/json-glib/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.3 2014/01/02 12:19:00 obache Exp $
+# $NetBSD: options.mk,v 1.4 2014/04/20 09:32:57 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.json-glib
-PKG_SUPPORTED_OPTIONS= introspection nls tests
-PKG_SUGGESTED_OPTIONS+= introspection nls tests
+PKG_SUPPORTED_OPTIONS= introspection nls
+PKG_SUGGESTED_OPTIONS+= introspection nls
PLIST_VARS+= introspection nls
.include "../../mk/bsd.options.mk"
@@ -24,9 +24,3 @@ PLIST.nls= yes
.else
CONFIGURE_ARGS+= --disable-nls
.endif
-
-.if !empty(PKG_OPTIONS:Mtests)
-TEST_TARGET= check
-.else
-CONFIGURE_ARGS+= --disable-glibtest
-.endif