Date: Tue, 30 Apr 2019 13:42:18 +0000 (UTC) From: Piotr Kubaj <pkubaj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r500490 - head/benchmarks/libmicro Message-ID: <201904301342.x3UDgIYN055797@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904301342.x3UDgIYN055797>