pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

wip/gnurl: Apply feedback from leot



Module Name:	pkgsrc-wip
Committed By:	ng0 <ng0%n0.is@localhost>
Pushed By:	ng0
Date:		Fri May 31 14:06:20 2019 +0000
Changeset:	3807061dfb68a3361f93d7e6d5fc5fb864842d46

Modified Files:
	gnurl/Makefile
	gnurl/options.mk

Log Message:
wip/gnurl: Apply feedback from leot

Remove tests from options.mk, use Makefile instead.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3807061dfb68a3361f93d7e6d5fc5fb864842d46

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gnurl/Makefile   | 3 +++
 gnurl/options.mk | 8 +-------
 2 files changed, 4 insertions(+), 7 deletions(-)

diffs:
diff --git a/gnurl/Makefile b/gnurl/Makefile
index 35aa171205..c2641029ba 100644
--- a/gnurl/Makefile
+++ b/gnurl/Makefile
@@ -14,6 +14,8 @@ LICENSE=	mit
 BUILD_DEFS+=	IPV6_READY
 
 USE_TOOLS+=		pkg-config
+USE_TOOLS+=		perl:test
+PYTHON_FOR_BUILD_ONLY=	test
 USE_LIBTOOL=		yes
 GNU_CONFIGURE=		yes # make install depends on it
 PKGCONFIG_OVERRIDE=	libgnurl.pc.in
@@ -60,5 +62,6 @@ post-install:
 .include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/libidn2/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
+.include "../../lang/python/tool.mk"
 .include "../../security/gnutls/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff --git a/gnurl/options.mk b/gnurl/options.mk
index fcc123b004..b08f117458 100644
--- a/gnurl/options.mk
+++ b/gnurl/options.mk
@@ -1,17 +1,11 @@
 # $NetBSD: options.mk,v 1.1 2019/02/01 15:21:29 gdt Exp $
 
 PKG_OPTIONS_VAR=	PKG_OPTIONS.gnurl
-PKG_SUPPORTED_OPTIONS=	inet6 tests
+PKG_SUPPORTED_OPTIONS=	inet6
 PKG_SUGGESTED_OPTIONS=	inet6
 
 .include "../../mk/bsd.options.mk"
 
-.if !empty(PKG_OPTIONS:Mtests)
-.include "../../lang/python/tool.mk"
-PYTHON_FOR_BUILD_ONLY=	yes
-USE_TOOLS+=	perl
-.endif
-
 .if !empty(PKG_OPTIONS:Minet6)
 CONFIGURE_ARGS+=	--enable-ipv6
 .else


Home | Main Index | Thread Index | Old Index