Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2017 09:24:41 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r455934 - head/sysutils/lscpu
Message-ID:  <201712110924.vBB9OfCX043859@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Mon Dec 11 09:24:41 2017
New Revision: 455934
URL: https://svnweb.freebsd.org/changeset/ports/455934

Log:
  Follow up on r455926 and just set ONLY_FOR_ARCHS instead of a bunch of
  BROKEN_* statements: this software is inherently x86-only.  While here,
  remove redundant ${PORTNAME}.1 from destination path and thus make the
  line fit under 80 characters.

Modified:
  head/sysutils/lscpu/Makefile

Modified: head/sysutils/lscpu/Makefile
==============================================================================
--- head/sysutils/lscpu/Makefile	Mon Dec 11 09:00:31 2017	(r455933)
+++ head/sysutils/lscpu/Makefile	Mon Dec 11 09:24:41 2017	(r455934)
@@ -10,13 +10,7 @@ COMMENT=	Display information about the CPU architectur
 
 LICENSE=	BSD3CLAUSE
 
-BROKEN_aarch64=		fails to compile: lib/clang/3.8.0/include/cpuid.h:25:2: error: this header is for x86 only
-BROKEN_armv6=		fails to compile: lib/clang/5.0.0/include/cpuid.h:25:2: error: this header is for x86 only
-BROKEN_armv7=		fails to compile: lib/clang/5.0.0/include/cpuid.h:25:2: error: this header is for x86 only
-BROKEN_mips=		fails to compile: lscpu.c:10:19: error: cpuid.h: No such file or directory
-BROKEN_mips64=		fails to compile: lscpu.c:10:19: error: cpuid.h: No such file or directory
-BROKEN_powerpc=		fails to compile: lscpu.c:10:19: error: cpuid.h: No such file or directory
-BROKEN_powerpc64=	fails to compile: lscpu.c:10:19: error: cpuid.h: No such file or directory
+ONLY_FOR_ARCHS=	amd64 i386
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	NanXiao
@@ -25,6 +19,6 @@ PLIST_FILES=	bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1
+	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>



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