svn commit: r444230 - head/misc/dnetc

Mark Linimon linimon at FreeBSD.org
Sat Jun 24 16:54:07 UTC 2017


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:


More information about the svn-ports-all mailing list