From c72fac7fa491e1240f38dac40f66e522007d6b9a Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Tue, 15 Nov 2016 04:07:06 +0000 Subject: [PATCH] Pet portlint. PR: 214521 Submitted by: linimon --- lang/dmd2/Makefile | 30 +++++++++++++++--------------- lang/dmd2/Makefile.bootstrap | 8 +++----- 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 -.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 +BROKEN_sparc64= Does not install: divide-by-zero error -.if ${ARCH} == "sparc64" -BROKEN= Does not install on sparc64: divide-by-zero error -.endif +.include .if ${ARCH} == "amd64" MAKE_ARGS+= MODEL=64