pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/matrix-synapse



Module Name:    pkgsrc
Committed By:   gdt
Date:           Thu Dec 14 16:54:51 UTC 2023

Modified Files:
        pkgsrc/chat/matrix-synapse: Makefile

Log Message:
chat/matrix-synapse: Hoist cargo update to target from comment

No real change, but "make update-cargo" is easier than cut-and-paste.

(Perhaps this should be hoisted further into cargo infrastructure.)


To generate a diff of this commit:
cvs rdiff -u -r1.88 -r1.89 pkgsrc/chat/matrix-synapse/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/matrix-synapse/Makefile
diff -u pkgsrc/chat/matrix-synapse/Makefile:1.88 pkgsrc/chat/matrix-synapse/Makefile:1.89
--- pkgsrc/chat/matrix-synapse/Makefile:1.88    Thu Dec 14 16:50:15 2023
+++ pkgsrc/chat/matrix-synapse/Makefile Thu Dec 14 16:54:51 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.88 2023/12/14 16:50:15 gdt Exp $
+# $NetBSD: Makefile,v 1.89 2023/12/14 16:54:51 gdt Exp $
 
 DISTNAME=      matrix-synapse-1.98.0
 CATEGORIES=    chat
@@ -115,11 +115,13 @@ post-install:
 do-test:
        cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} pytest-${PYVERSSUFFIX}
 
+# New upstream releases typically add/change cargo depends.
+update-cargo:
+       make; make print-cargo-depends > cargo-depends.mk && make distinfo
+
 # guide says "Prepend .include "cargo-depends.mk" to any other .includes."
 # To start:
 #   make CARGO_ARGS="build --release" build && make print-cargo-depends > cargo-depends.mk
-# To update:
-#   make; make print-cargo-depends > cargo-depends.mk && make distinfo
 .include "cargo-depends.mk"
 
 .include "../../lang/python/batteries-included.mk"



Home | Main Index | Thread Index | Old Index