svn commit: r455934 - head/sysutils/lscpu

Alexey Dokuchaev danfe at FreeBSD.org
Mon Dec 11 09:24:42 UTC 2017


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>


More information about the svn-ports-all mailing list