Skip to content

Commit 5eac54d

Browse files
authored
Merge pull request #3116 from ibara/openbsd
Fix Issue 22431 - Add OpenBSD to Third-party downloads list Signed-off-by: Nicholas Wilson <thewilsonator@users.noreply.github.com> Merged-on-behalf-of: Nicholas Wilson <thewilsonator@users.noreply.github.com>
2 parents 15bbecd + 8750eb5 commit 5eac54d

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

download.dd

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,6 @@ $(DOWNLOAD_OTHER $(DOCKER), $(LINK2 https://hub.docker.com/r/dlang2/dmd-ubuntu,
162162

163163
$(DOWNLOAD_OTHER $(OPENSUSE), $(LINK2 https://build.opensuse.org/package/show/devel:languages:D/dmd, OpenSUSE Tumbleweed), $(CONSOLE sudo zypper install dmd))
164164

165-
166165
$(DOWNLOAD_OTHER $(SNAP), $(LINK2 https://snapcraft.io/dmd, Snap),
167166
$(CONSOLE # install DMD compiler (including RDMD)
168167
sudo snap install --classic dmd
@@ -173,6 +172,16 @@ sudo snap install --classic dub
173172
\# install LDC compiler with LLVM backend
174173
sudo snap install --classic ldc2))
175174

175+
$(DOWNLOAD_OTHER $(OPENBSD), $(LINK2 https://openports.se/lang/dmd, OpenBSD), $(CONSOLE # install DMD compiler
176+
177+
doas pkg_add dmd
178+
179+
\# install DUB package/build manager (and DMD if not already installed)
180+
doas pkg_add dub-dmd
181+
182+
\# install D tools
183+
doas pkg_add dtools))
184+
176185
$(H2 Other Downloads)
177186

178187
$(UL
@@ -230,6 +239,7 @@ Macros:
230239
NIX=$(LOGO nix, Nix/NixOS)
231240
SNAP=$(LOGO snapcraft, Snap)
232241
WINDOWS=$(LOGO windows, Windows)
242+
OPENBSD=$(LOGO openbsd, OpenBSD)
233243

234244
LINK_OS=<a href="$(ROOT_DIR)dmd-$1.html" style="text-decoration: none" title="$3 setup and usage information">$2</a>
235245

images/openbsd_logo.png

2.3 KB
Loading

0 commit comments

Comments
 (0)