Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2017 16:54:05 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r444230 - head/misc/dnetc
Message-ID:  <201706241654.v5OGs5UN013365@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sat Jun 24 16:54:05 2017
New Revision: 444230
URL: https://svnweb.freebsd.org/changeset/ports/444230

Log:
  Sort ARCHs.
  
  While here, provide a sane PKGNAME for unimplmented archs.  Otherwise
  you get the construction "dnetc-,1" which, even though the build won't
  be attempted, looks really strange in the poudriere output.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/misc/dnetc/Makefile

Modified: head/misc/dnetc/Makefile
==============================================================================
--- head/misc/dnetc/Makefile	Sat Jun 24 16:32:23 2017	(r444229)
+++ head/misc/dnetc/Makefile	Sat Jun 24 16:54:05 2017	(r444230)
@@ -18,7 +18,7 @@ COMMENT=	Distributed.net distributed computing project
 WRKSRC=		${WRKDIR}/dnetc${PORTVERSION:E}-freebsd-${ARCH:S/i386/x86/}-elf
 DISTINFO_FILE=	${MASTERDIR}/distinfo.${ARCH}
 
-ONLY_FOR_ARCHS=	i386 sparc64 amd64 powerpc
+ONLY_FOR_ARCHS=	amd64 i386 powerpc sparc64
 
 USE_RC_SUBR=	dnetc
 NO_BUILD=	yes
@@ -56,6 +56,10 @@ VERSION=	2.9109.518
 REVISION=	1
 DISTNAME=	dnetc${PORTVERSION:E}-freebsd8-${ARCH}
 WRKSRC=		${WRKDIR}/dnetc${PORTVERSION:E}-freebsd8-${ARCH}
+
+.else
+# create a backstop for PORTVERSION for unimplemented arches to get a sane PKGNAME
+VERSION=	0
 .endif
 
 do-install:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706241654.v5OGs5UN013365>