pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/gobject-introspection



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Wed Nov 29 10:57:19 UTC 2023

Modified Files:
        pkgsrc/devel/gobject-introspection: buildlink3.mk

Log Message:
gobject-introspection: Exclude dependencies for build.

This package is often included with its DEPMETHOD set to "build", in which
case we do not want to include its indirect dependencies as they will then
be tagged as "build" also.  Fixes potential runtime issues exposed by
indirect dependency checks.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/gobject-introspection/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/devel/gobject-introspection/buildlink3.mk
diff -u pkgsrc/devel/gobject-introspection/buildlink3.mk:1.13 pkgsrc/devel/gobject-introspection/buildlink3.mk:1.14
--- pkgsrc/devel/gobject-introspection/buildlink3.mk:1.13       Mon Aug 14 05:24:09 2023
+++ pkgsrc/devel/gobject-introspection/buildlink3.mk    Wed Nov 29 10:57:19 2023
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.13 2023/08/14 05:24:09 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.14 2023/11/29 10:57:19 jperkin Exp $
 
 BUILDLINK_TREE+=       gobject-introspection
 
@@ -11,8 +11,11 @@ BUILDLINK_PKGSRCDIR.gobject-introspectio
 
 ALL_ENV+=      GI_SCANNER_DISABLE_CACHE=yes
 
+.if !${BUILDLINK_DEPMETHOD.gobject-introspection:U:Mbuild}
 .include "../../devel/glib2/buildlink3.mk"
 .include "../../devel/libffi/buildlink3.mk"
+.endif
+
 .endif # GOBJECT_INTROSPECTION_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -gobject-introspection



Home | Main Index | Thread Index | Old Index