Received: by mail.netbsd.org (Postfix, from userid 605) id 2015084DC6; Mon, 22 Feb 2021 17:07:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 57A7B84DBE for ; Mon, 22 Feb 2021 17:07:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 2TWrQ74L1p3b for ; Mon, 22 Feb 2021 17:07:50 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id B0DB784CE3 for ; Mon, 22 Feb 2021 17:07:50 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id AA286FA95; Mon, 22 Feb 2021 17:07:50 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1614013670143970" MIME-Version: 1.0 Date: Mon, 22 Feb 2021 17:07:50 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/sysutils/ups-nut To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20210222170750.AA286FA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1614013670143970 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: wiz Date: Mon Feb 22 17:07:50 UTC 2021 Modified Files: pkgsrc/sysutils/ups-nut: buildlink3.mk Log Message: ups-nut: fix option handling in buildlink3.mk From Edgar Fuß. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 pkgsrc/sysutils/ups-nut/buildlink3.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1614013670143970 Content-Disposition: inline Content-Length: 937 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/sysutils/ups-nut/buildlink3.mk diff -u pkgsrc/sysutils/ups-nut/buildlink3.mk:1.1 pkgsrc/sysutils/ups-nut/buildlink3.mk:1.2 --- pkgsrc/sysutils/ups-nut/buildlink3.mk:1.1 Mon Jul 13 18:50:29 2020 +++ pkgsrc/sysutils/ups-nut/buildlink3.mk Mon Feb 22 17:07:50 2021 @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1 2020/07/13 18:50:29 wiz Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2021/02/22 17:07:50 wiz Exp $ BUILDLINK_TREE+= ups-nut @@ -8,6 +8,15 @@ UPS_NUT_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.ups-nut+= ups-nut>=2.7.4 BUILDLINK_PKGSRCDIR.ups-nut?= ../../sysutils/ups-nut +pkgbase:= ups-nut +.include "../../mk/pkg-build-options.mk" + +.if ${PKG_BUILD_OPTIONS.ups-nut:Mopenssl} +. include "../../security/openssl/buildlink3.mk" +.elif ${PKG_BUILD_OPTIONS.ups-nut:Mnss} +. include "../../devel/nss/buildlink3.mk" +.endif + .include "../../mk/pthread.buildlink3.mk" .endif # UPS_NUT_BUILDLINK3_MK --_----------=_1614013670143970--