View | Details | Raw Unified | Return to bug 214521
Collapse All | Expand All

(-)Makefile (-15 / +15 lines)
Lines 2-12 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	dmd
4
PORTNAME=	dmd
5
PKGNAMESUFFIX=	2
6
PORTVERSION=	2.071.1
5
PORTVERSION=	2.071.1
7
CATEGORIES=	lang
6
CATEGORIES=	lang
8
MASTER_SITES=	http://ftp.digitalmars.com/
7
MASTER_SITES=	http://ftp.digitalmars.com/
8
PKGNAMESUFFIX=	2
9
DISTNAME=	dmd.${PORTVERSION}
9
DISTNAME=	dmd.${PORTVERSION}
10
11
MAINTAINER=	cy@FreeBSD.org
12
COMMENT=	D 2.0 compiler, not officially validated for FreeBSD
13
14
LICENSE=	ART10 DMD BSL
15
LICENSE_COMB=	multi
16
LICENSE_NAME_DMD=	Digital Mars license
17
LICENSE_FILE_DMD=	${WRKSRC}/backendlicense.txt
18
LICENSE_PERMS_DMD=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
19
20
EXTRACT_ONLY=	${DISTNAME}.freebsd-64${EXTRACT_SUFX}
10
DISTFILES=	${DISTNAME}.freebsd-64${EXTRACT_SUFX} \
21
DISTFILES=	${DISTNAME}.freebsd-64${EXTRACT_SUFX} \
11
		dmd.2.067.1.zip
22
		dmd.2.067.1.zip
12
# The souces in the following files can be used instead. Either way the
23
# The souces in the following files can be used instead. Either way the
Lines 15-25 Link Here
15
# DISTFILES=	${DISTNAME}.freebsd-32${EXTRACT_SUFX}
26
# DISTFILES=	${DISTNAME}.freebsd-32${EXTRACT_SUFX}
16
# DISTFILES=	${DISTNAME}.linux${EXTRACT_SUFX}
27
# DISTFILES=	${DISTNAME}.linux${EXTRACT_SUFX}
17
28
18
EXTRACT_ONLY=	${DISTNAME}.freebsd-64${EXTRACT_SUFX}
19
20
MAINTAINER=	cy@FreeBSD.org
21
COMMENT=	D 2.0 compiler, not officially validated for FreeBSD
22
23
USES=		gmake zip
29
USES=		gmake zip
24
MAKEFILE=	posix.mak
30
MAKEFILE=	posix.mak
25
MAKE_ARGS=	AUTO_BOOTSTRAP=1
31
MAKE_ARGS=	AUTO_BOOTSTRAP=1
Lines 28-49 Link Here
28
DOCSDIR=	${PREFIX}/share/doc/dmd2
34
DOCSDIR=	${PREFIX}/share/doc/dmd2
29
PORTDOCS=	*.txt html/
35
PORTDOCS=	*.txt html/
30
WRKSRC=		${WRKDIR}/dmd2/src/${PORTNAME}
36
WRKSRC=		${WRKDIR}/dmd2/src/${PORTNAME}
31
LICENSE_COMB=	multi
32
LICENSE=	ART10 DMD BSL
33
LICENSE_NAME_DMD=	Digital Mars license
34
LICENSE_FILE_DMD=	${WRKSRC}/backendlicense.txt
35
LICENSE_PERMS_DMD=	no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
36
37
38
BROKEN_aarch64=		Does not configure: no cpu specified, assuming X86
39
BROKEN_mips64=		Does not compile: cc1: error: unrecognized command line option -m32
37
BROKEN_powerpc64=	Does not build
40
BROKEN_powerpc64=	Does not build
41
BROKEN_sparc64=		Does not install: divide-by-zero error
38
42
39
OPTIONS_DEFINE=	DOCS
43
OPTIONS_DEFINE=	DOCS
40
44
41
.include <bsd.port.pre.mk>
45
.include <bsd.port.pre.mk>
42
46
43
.if ${ARCH} == "sparc64"
44
BROKEN=		Does not install on sparc64: divide-by-zero error
45
.endif
46
47
.if ${ARCH} == "amd64"
47
.if ${ARCH} == "amd64"
48
MAKE_ARGS+=	MODEL=64
48
MAKE_ARGS+=	MODEL=64
49
MODEL=		64
49
MODEL=		64
(-)Makefile.bootstrap (-5 / +3 lines)
Lines 2-10 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	dmd
4
PORTNAME=	dmd
5
PKGNAMESUFFIX=	2
6
PORTVERSION=	2.067.1
5
PORTVERSION=	2.067.1
7
CATEGORIES=	lang
6
CATEGORIES=	lang
7
PKGNAMESUFFIX=	2
8
DISTNAME=	dmd.${PORTVERSION}
8
DISTNAME=	dmd.${PORTVERSION}
9
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
9
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
10
10
Lines 21-32 Link Here
21
WRKSRC=		${WRKDIR}/dmd2/src/${PORTNAME}
21
WRKSRC=		${WRKDIR}/dmd2/src/${PORTNAME}
22
.undef		DEVELOPER
22
.undef		DEVELOPER
23
23
24
BROKEN_sparc64=		Does not install: divide-by-zero error
25
24
.include <bsd.port.pre.mk>
26
.include <bsd.port.pre.mk>
25
27
26
.if ${ARCH} == "sparc64"
27
BROKEN=		Does not install on sparc64: divide-by-zero error
28
.endif
29
30
.if ${ARCH} == "amd64"
28
.if ${ARCH} == "amd64"
31
MAKE_ARGS+=	MODEL=64
29
MAKE_ARGS+=	MODEL=64
32
MODEL=		64
30
MODEL=		64

Return to bug 214521