Enabling gdmd was a little too premature: it causes gcc-11 to hang out on

the build machines, which breaks many more important ports.
Switch dtools to build with dmd. This allows us to continue to offer the
package on at least amd64.
Comment out the gdmd line in lang/Makefile to make it clear this is
intentional. We will revisit gdmd once the ports world moves to gcc-11.
Found the hard way by tb@ -- apologies for the breakage
ok sthen@, who also mentioned the commenting out of gdmd in lang/Makefile
This commit is contained in:
bcallah 2021-10-17 01:43:18 +00:00
parent 4e40de42e0
commit 72f744ccd6
2 changed files with 10 additions and 6 deletions

View File

@ -1,7 +1,11 @@
# $OpenBSD: Makefile,v 1.1.1.1 2021/10/15 13:44:26 bcallah Exp $
# $OpenBSD: Makefile,v 1.2 2021/10/17 01:43:18 bcallah Exp $
# Can't use gdc yet
ONLY_FOR_ARCHS = amd64
COMMENT = ancillary tools for the D programming language compiler
DISTNAME = d${GH_PROJECT}-${GH_TAGNAME:S/^v//}
REVISION = 0
CATEGORIES = devel
# Keep GH_TAGNAME in sync with lang/dmd
@ -15,13 +19,13 @@ MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# Boost Software License 1.0
PERMIT_PACKAGE = Yes
WANTLIB += c m pthread
WANTLIB += c c++abi execinfo m pthread
BUILD_DEPENDS = lang/gdmd
BUILD_DEPENDS = lang/dmd
USE_GMAKE = Yes
MAKE_FILE = posix.mak
MAKE_FLAGS = DMD="${LOCALBASE}/bin/gdmd"
MAKE_FLAGS = DMD="${LOCALBASE}/bin/dmd"
.if ${MACHINE_ARCH} == "powerpc"
# ld: error: relocation refers to a discarded section

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.254 2021/10/14 03:45:51 bcallah Exp $
# $OpenBSD: Makefile,v 1.255 2021/10/17 01:43:18 bcallah Exp $
SUBDIR =
SUBDIR += STk
@ -38,7 +38,7 @@
SUBDIR += gambit
SUBDIR += gawk
SUBDIR += gcc
SUBDIR += gdmd
# SUBDIR += gdmd
SUBDIR += gerbil
SUBDIR += gforth
SUBDIR += ghc