From owner-svn-ports-all@freebsd.org Tue Apr 30 13:42:19 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB228159197C; Tue, 30 Apr 2019 13:42:18 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 73AE871A22; Tue, 30 Apr 2019 13:42:18 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 3DA9AA647; Tue, 30 Apr 2019 13:42:18 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x3UDgIYm055798; Tue, 30 Apr 2019 13:42:18 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x3UDgIYN055797; Tue, 30 Apr 2019 13:42:18 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <201904301342.x3UDgIYN055797@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Tue, 30 Apr 2019 13:42:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500490 - head/benchmarks/libmicro X-SVN-Group: ports-head X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: head/benchmarks/libmicro X-SVN-Commit-Revision: 500490 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 73AE871A22 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.98 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.98)[-0.981,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Apr 2019 13:42:19 -0000 Author: pkubaj Date: Tue Apr 30 13:42:17 2019 New Revision: 500490 URL: https://svnweb.freebsd.org/changeset/ports/500490 Log: benchmarks/libmicro: fix build on powerpc64 libmicro names files with -powerpc suffix, not powerpc64. Set and use LIBMICRO_ARCH instead of ARCH. Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D19956 Modified: head/benchmarks/libmicro/Makefile Modified: head/benchmarks/libmicro/Makefile ============================================================================== --- head/benchmarks/libmicro/Makefile Tue Apr 30 13:38:10 2019 (r500489) +++ head/benchmarks/libmicro/Makefile Tue Apr 30 13:42:17 2019 (r500490) @@ -15,14 +15,15 @@ BROKEN_aarch64= Fails to build: bin-aarch64: no such BROKEN_armv6= Fails to build: bin-armv6: no such file or directory BROKEN_armv7= Fails to build: bin-armv7: no such file or directory BROKEN_mips64= Fails to build: bin-mips64: no such file or directory -BROKEN_powerpc64= Fails to build: bin-powerpc64: no such file or directory USES= gmake WRKSRC= ${WRKDIR}/libMicro-${PORTVERSION} STRIP= # Do not strip binaries -PLIST_SUB= ARCH="${ARCH}" +PLIST_SUB= ARCH="${LIBMICRO_ARCH}" PKGLIBDIR= ${PREFIX}/lib/${PORTNAME} +LIBMICRO_ARCH= ${ARCH:S/powerpc64/powerpc/} + post-build: ${ECHO_CMD} '#!/bin/sh' > ${WRKDIR}/libmicro-bench ${ECHO_CMD} '(cd ${PKGLIBDIR} && ./bench $$1)' \ @@ -36,13 +37,13 @@ do-install: @${MKDIR} ${STAGEDIR}${PKGLIBDIR} (cd ${WRKSRC} && ${INSTALL_SCRIPT} bench.sh \ ${STAGEDIR}${PKGLIBDIR}/bench) - @${MKDIR} ${STAGEDIR}${PKGLIBDIR}/bin-${ARCH} - (cd ${WRKSRC}/bin-${ARCH} \ - && ${INSTALL_PROGRAM} exec_bin ${STAGEDIR}${PKGLIBDIR}/bin-${ARCH}) + @${MKDIR} ${STAGEDIR}${PKGLIBDIR}/bin-${LIBMICRO_ARCH} + (cd ${WRKSRC}/bin-${LIBMICRO_ARCH} \ + && ${INSTALL_PROGRAM} exec_bin ${STAGEDIR}${PKGLIBDIR}/bin-${LIBMICRO_ARCH}) (cd ${WRKSRC}/bin ; for i in * ; do ${INSTALL_PROGRAM} \ - ${WRKSRC}/bin-${ARCH}/$$i ${STAGEDIR}${PKGLIBDIR}/bin-${ARCH} ; done) + ${WRKSRC}/bin-${LIBMICRO_ARCH}/$$i ${STAGEDIR}${PKGLIBDIR}/bin-${LIBMICRO_ARCH} ; done) @${MKDIR} ${STAGEDIR}${PKGLIBDIR}/bin - (cd ${STAGEDIR}${PKGLIBDIR}/bin-${ARCH} ; for i in * ; do ${LN} -s \ - ../bin-${ARCH}/$$i ../bin ; done) + (cd ${STAGEDIR}${PKGLIBDIR}/bin-${LIBMICRO_ARCH} ; for i in * ; do ${LN} -s \ + ../bin-${LIBMICRO_ARCH}/$$i ../bin ; done) .include