pkgsrc-Changes archive

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

CVS commit: pkgsrc/sysutils/ups-nut



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.

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
 



Home | Main Index | Thread Index | Old Index