aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2016-11-15 12:07:06 +0800
committercy <cy@FreeBSD.org>2016-11-15 12:07:06 +0800
commit181fa90f1d865f5c9d0446f135130c64068b8bef (patch)
tree292db9137d7a40a2ea0484b0f3d32cd6df7ce169 /lang
parenta3a83f8ad1d01d11a117187efc614d92232c5798 (diff)
downloadfreebsd-ports-gnome-181fa90f1d865f5c9d0446f135130c64068b8bef.tar.gz
freebsd-ports-gnome-181fa90f1d865f5c9d0446f135130c64068b8bef.tar.zst
freebsd-ports-gnome-181fa90f1d865f5c9d0446f135130c64068b8bef.zip
Pet portlint.
PR: 214521 Submitted by: linimon
Diffstat (limited to 'lang')
-rw-r--r--lang/dmd2/Makefile30
-rw-r--r--lang/dmd2/Makefile.bootstrap8
2 files changed, 18 insertions, 20 deletions
diff --git a/lang/dmd2/Makefile b/lang/dmd2/Makefile
index d7447c073d10..27dfb74a6c6a 100644
--- a/lang/dmd2/Makefile
+++ b/lang/dmd2/Makefile
@@ -2,11 +2,22 @@
# $FreeBSD$
PORTNAME= dmd
-PKGNAMESUFFIX= 2
PORTVERSION= 2.071.1
CATEGORIES= lang
MASTER_SITES= http://ftp.digitalmars.com/
+PKGNAMESUFFIX= 2
DISTNAME= dmd.${PORTVERSION}
+
+MAINTAINER= cy@FreeBSD.org
+COMMENT= D 2.0 compiler, not officially validated for FreeBSD
+
+LICENSE= ART10 DMD BSL
+LICENSE_COMB= multi
+LICENSE_NAME_DMD= Digital Mars license
+LICENSE_FILE_DMD= ${WRKSRC}/backendlicense.txt
+LICENSE_PERMS_DMD= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
+
+EXTRACT_ONLY= ${DISTNAME}.freebsd-64${EXTRACT_SUFX}
DISTFILES= ${DISTNAME}.freebsd-64${EXTRACT_SUFX} \
dmd.2.067.1.zip
# The souces in the following files can be used instead. Either way the
@@ -15,11 +26,6 @@ DISTFILES= ${DISTNAME}.freebsd-64${EXTRACT_SUFX} \
# DISTFILES= ${DISTNAME}.freebsd-32${EXTRACT_SUFX}
# DISTFILES= ${DISTNAME}.linux${EXTRACT_SUFX}
-EXTRACT_ONLY= ${DISTNAME}.freebsd-64${EXTRACT_SUFX}
-
-MAINTAINER= cy@FreeBSD.org
-COMMENT= D 2.0 compiler, not officially validated for FreeBSD
-
USES= gmake zip
MAKEFILE= posix.mak
MAKE_ARGS= AUTO_BOOTSTRAP=1
@@ -28,22 +34,16 @@ EXAMPLESDIR= ${PREFIX}/share/examples/dmd2
DOCSDIR= ${PREFIX}/share/doc/dmd2
PORTDOCS= *.txt html/
WRKSRC= ${WRKDIR}/dmd2/src/${PORTNAME}
-LICENSE_COMB= multi
-LICENSE= ART10 DMD BSL
-LICENSE_NAME_DMD= Digital Mars license
-LICENSE_FILE_DMD= ${WRKSRC}/backendlicense.txt
-LICENSE_PERMS_DMD= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell auto-accept
+BROKEN_aarch64= Does not configure: no cpu specified, assuming X86
+BROKEN_mips64= Does not compile: cc1: error: unrecognized command line option -m32
BROKEN_powerpc64= Does not build
+BROKEN_sparc64= Does not install: divide-by-zero error
OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
-.if ${ARCH} == "sparc64"
-BROKEN= Does not install on sparc64: divide-by-zero error
-.endif
-
.if ${ARCH} == "amd64"
MAKE_ARGS+= MODEL=64
MODEL= 64
diff --git a/lang/dmd2/Makefile.bootstrap b/lang/dmd2/Makefile.bootstrap
index 8516c8eee3c6..70360afea0c1 100644
--- a/lang/dmd2/Makefile.bootstrap
+++ b/lang/dmd2/Makefile.bootstrap
@@ -2,9 +2,9 @@
# $FreeBSD$
PORTNAME= dmd
-PKGNAMESUFFIX= 2
PORTVERSION= 2.067.1
CATEGORIES= lang
+PKGNAMESUFFIX= 2
DISTNAME= dmd.${PORTVERSION}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
@@ -21,11 +21,9 @@ PORTDOCS= *.txt html/
WRKSRC= ${WRKDIR}/dmd2/src/${PORTNAME}
.undef DEVELOPER
-.include <bsd.port.pre.mk>
+BROKEN_sparc64= Does not install: divide-by-zero error
-.if ${ARCH} == "sparc64"
-BROKEN= Does not install on sparc64: divide-by-zero error
-.endif
+.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
MAKE_ARGS+= MODEL=64