On Sun, 20 Sep 2026 01:28:21 +0200,
Kirill A. Korinsky <[email protected]> wrote:
>
> On Sun, 20 Sep 2026 01:05:13 +0200,
> Kirill A. Korinsky <[email protected]> wrote:
> >
> > ports@,
> >
> > here a diff which updated dub to the last version, and also bind it back to
> > build, because dmd was fixed.
> >
> > Anyway, here the question: dmd is only for amd64 i386, shall I do something
> > special for dmd flavor or it is ok as is?
> >
>
> Oops, I forgot about subject.
>
And here the full diff that addressed all my questions and brings dub back.
Index: devel/Makefile
===================================================================
RCS file: /home/cvs/ports/devel/Makefile,v
diff -u -p -r1.2614 Makefile
--- devel/Makefile 16 Sep 2026 16:13:30 -0000 1.2614
+++ devel/Makefile 18 Sep 2026 23:52:21 -0000
@@ -149,7 +149,7 @@
SUBDIR += droplet
SUBDIR += dtc
SUBDIR += dtools
-# SUBDIR += dub
+ SUBDIR += dub
SUBDIR += dub,dmd
SUBDIR += dune
SUBDIR += dwz
Index: devel/dub/Makefile
===================================================================
RCS file: /home/cvs/ports/devel/dub/Makefile,v
diff -u -p -r1.8 Makefile
--- devel/dub/Makefile 11 Feb 2026 15:12:24 -0000 1.8
+++ devel/dub/Makefile 21 Sep 2026 00:06:17 -0000
@@ -3,8 +3,7 @@ CATEGORIES = devel
GH_ACCOUNT = dlang
GH_PROJECT = dub
-GH_TAGNAME = v1.37.0
-REVISION = 0
+GH_TAGNAME = v1.40.0
# MIT
PERMIT_PACKAGE = Yes
@@ -13,7 +12,7 @@ FLAVORS = dmd
FLAVOR ?= dmd
.if ${FLAVOR:Mdmd}
-ONLY_FOR_ARCHS = amd64
+ONLY_FOR_ARCHS = amd64 i386
WANTLIB += c c++abi execinfo m pthread
@@ -28,7 +27,7 @@ WANTLIB += c m pthread
BUILD_DEPENDS = lang/gdmd
-RUN_DEPENDS = lang/gcc/11,-dlang
+RUN_DEPENDS = lang/gcc/16,-dlang
DC = ${LOCALBASE}/bin/egdc
DMD = ${LOCALBASE}/bin/gdmd
Index: devel/dub/distinfo
===================================================================
RCS file: /home/cvs/ports/devel/dub/distinfo,v
diff -u -p -r1.6 distinfo
--- devel/dub/distinfo 30 May 2024 01:25:18 -0000 1.6
+++ devel/dub/distinfo 18 Sep 2026 23:50:34 -0000
@@ -1,2 +1,2 @@
-SHA256 (dub-1.37.0.tar.gz) = joxchBpDy3WvmCjDFVp+HvkDGRd6Zs6/nJSzN5LPhJE=
-SIZE (dub-1.37.0.tar.gz) = 1515440
+SHA256 (dub-1.40.0.tar.gz) = UrljE36KZx5Izjtk6x5CT2o8E3uAAc90+5iTLe9hwXE=
+SIZE (dub-1.40.0.tar.gz) = 1525761
Index: lang/gcc/16/Makefile
===================================================================
RCS file: /home/cvs/ports/lang/gcc/16/Makefile,v
diff -u -p -r1.20 Makefile
--- lang/gcc/16/Makefile 20 Sep 2026 14:25:09 -0000 1.20
+++ lang/gcc/16/Makefile 21 Sep 2026 00:08:33 -0000
@@ -1,5 +1,5 @@
# When updating/switching to a new version, remember to adapt:
-# sysutils/trash-d, devel/meson and lang/gdmd
+# sysutils/trash-d, devel/meson, lang/gdmd and devel/dub
# not tested: alpha, hppa, mips64el
ONLY_FOR_ARCHS = aarch64 alpha amd64 arm hppa i386 mips64 mips64el \
--
wbr, Kirill