From owner-svn-ports-head@FreeBSD.ORG Fri Feb 20 16:58:24 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CC7D7E50; Fri, 20 Feb 2015 16:58:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B6B7689D; Fri, 20 Feb 2015 16:58:24 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1KGwOum065431; Fri, 20 Feb 2015 16:58:24 GMT (envelope-from sbruno@FreeBSD.org) Received: (from sbruno@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1KGwOwU065430; Fri, 20 Feb 2015 16:58:24 GMT (envelope-from sbruno@FreeBSD.org) Message-Id: <201502201658.t1KGwOwU065430@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: sbruno set sender to sbruno@FreeBSD.org using -f From: Sean Bruno Date: Fri, 20 Feb 2015 16:58:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379449 - head/devel/psptoolchain-binutils X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Feb 2015 16:58:24 -0000 Author: sbruno Date: Fri Feb 20 16:58:23 2015 New Revision: 379449 URL: https://svnweb.freebsd.org/changeset/ports/379449 QAT: https://qat.redports.org/buildarchive/r379449/ Log: Fix directory creation so that a armv6-unknown-freebsd directory is created instead of an arm-unkonwn-freebsd to be friendlier with freebsd pkg tools. PR: 197581 Submitted by: mikael.urankar@gmail.com Approved by: tphilipp@potion-studios.com (maintainer) Modified: head/devel/psptoolchain-binutils/Makefile Modified: head/devel/psptoolchain-binutils/Makefile ============================================================================== --- head/devel/psptoolchain-binutils/Makefile Fri Feb 20 16:55:50 2015 (r379448) +++ head/devel/psptoolchain-binutils/Makefile Fri Feb 20 16:58:23 2015 (r379449) @@ -18,7 +18,6 @@ USES= gmake tar:bzip2 libtool USE_GCC= 4.8 HAS_CONFIGURE= yes -CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-unknown-${OPSYS:tl}${OSREL} CONFIGURE_ARGS= --prefix=${PREFIX} \ --target="psp" \ --enable-install-libbfd \ @@ -27,6 +26,13 @@ CONFIGURE_ARGS= --prefix=${PREFIX} \ --mandir=${PREFIX}/man PLIST_SUB= CONFIGURE_TARGET="${CONFIGURE_TARGET}" +.include +.if ${ARCH} == "amd64" +CONFIGURE_TARGET= ${ARCH:S/amd64/x86_64/}-unknown-${OPSYS:tl}${OSREL} +.elif ${ARCH} == "armv6" +CONFIGURE_TARGET= ${ARCH:S/armv6/arm/}-unknown-${OPSYS:tl}${OSREL} +.endif + # Disable installation of .info files and libiberty. post-patch: @${REINPLACE_CMD} -E 's/^(install-data-am:)(.*)install-info-am(.*)/\1 \2 \3/' \ @@ -38,4 +44,4 @@ post-patch: @${REINPLACE_CMD} -E 's/^(install:)(.*)/\1#\2/' ${WRKSRC}/libiberty/Makefile.in @${REINPLACE_CMD} -E 's,^(install.*:)(.*)install-info(.*),\1 \2 \3,' ${WRKSRC}/etc/Makefile.in -.include +.include