pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libsoup3 libsoup3: prevent spurious git cloning of...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dea62b7f61cd
branches:  trunk
changeset: 391034:dea62b7f61cd
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Jan 03 00:31:08 2023 +0000

description:
libsoup3: prevent spurious git cloning of optional things during configure

diffstat:

 net/libsoup3/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (30 lines):

diff -r 6291a4861934 -r dea62b7f61cd net/libsoup3/Makefile
--- a/net/libsoup3/Makefile     Tue Jan 03 00:11:35 2023 +0000
+++ b/net/libsoup3/Makefile     Tue Jan 03 00:31:08 2023 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2023/01/01 23:56:44 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2023/01/03 00:31:08 tnn Exp $
 
 DISTNAME=      libsoup-3.2.2
+PKGREVISION=   1
 PKGNAME=       ${DISTNAME:S/soup/soup3/}
 CATEGORIES=    net gnome
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/libsoup/${PKGVERSION_NOREV:R}/}
@@ -24,11 +25,17 @@
 
 # disable vala detection
 MESON_ARGS+=           -Dvapi=disabled
+# disable sysprof, not shipped in subprojects and gets git cloned otherwise
+MESON_ARGS+=            -Dsysprof=disabled
 
 PYTHON_FOR_BUILD_ONLY= tool
 
 .include "options.mk"
 
+# prevent sprurious git cloning of gi-docgen in configure stage
+post-extract:
+       rm -f ${WRKSRC}/subprojects/*.wrap
+
 .include "../../archivers/brotli/buildlink3.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.69.1



Home | Main Index | Thread Index | Old Index