hi,

as of now portroach on
https://portroach.openbsd.org/gonzalo%20l.%20r.%20%[email protected]%3E.html
suggests to update all nextcloud branches to 34.0.1 which is stupid, so let's
try smth "better" ? i dunno which is best between keeping the two first chars
of NC_VERSION or the last two of PKGPATH, eg limit:^${PKGPATH:C/.*\///} also
works.

i think this should have the desired outcome but i'm not a portroach hacker.

[09:07] dusk:~/mystuff/www/nextcloud/ $make show=PORTROACH
1782889648===> www/nextcloud/32
limit:^32
1782889648===> www/nextcloud/33
limit:^33
1782889648===> www/nextcloud/34
limit:^34

diff:
Index: Makefile.inc
===================================================================
RCS file: /cvs/ports/www/nextcloud/Makefile.inc,v
diff -u -r1.5 Makefile.inc
--- Makefile.inc        27 Sep 2023 19:13:04 -0000      1.5
+++ Makefile.inc        1 Jul 2026 07:07:36 -0000
@@ -22,6 +22,7 @@
 
 SITES=                 https://download.nextcloud.com/server/releases/
 
+PORTROACH=             limit:^${NC_VERSION:C/^(..)\..*/\1/}
 MODULES=               lang/php
 
 NO_BUILD=              Yes

Reply via email to