pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/vala



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Nov 27 09:45:02 UTC 2023

Modified Files:
        pkgsrc/lang/vala: buildlink3.mk

Log Message:
vala: Limit buildlink3 includes to DEPMETHOD=full.

This file is generally only included when the valac and vapigen tools are
required, and it even defaults to DEPMETHOD=build.  The library dependencies
are not required for running the tools, and this avoids a number of implicit
dependency issues.


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 pkgsrc/lang/vala/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/lang/vala/buildlink3.mk
diff -u pkgsrc/lang/vala/buildlink3.mk:1.39 pkgsrc/lang/vala/buildlink3.mk:1.40
--- pkgsrc/lang/vala/buildlink3.mk:1.39 Sun Nov 12 13:22:33 2023
+++ pkgsrc/lang/vala/buildlink3.mk      Mon Nov 27 09:45:02 2023
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.39 2023/11/12 13:22:33 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.40 2023/11/27 09:45:02 jperkin Exp $
 
 BUILDLINK_TREE+=       vala
 
@@ -16,9 +16,12 @@ VAPIGEN=     ${PREFIX}/bin/vapigen-0.56
 CONFIGURE_ENV+=        VALAC=${VALAC} VAPIGEN=${VAPIGEN}
 .endif
 
+.if ${BUILDLINK_DEPMETHOD.vala:U:Mfull}
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/libltdl/buildlink3.mk"
 .include "../../graphics/graphviz/buildlink3.mk"
+.endif
+
 .endif # VALA_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -vala



Home | Main Index | Thread Index | Old Index