From owner-svn-ports-head@FreeBSD.ORG Mon Oct 20 16:51:10 2014 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 DD58D261; Mon, 20 Oct 2014 16:51:10 +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 C9341945; Mon, 20 Oct 2014 16:51:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s9KGpAEb068287; Mon, 20 Oct 2014 16:51:10 GMT (envelope-from andrew@FreeBSD.org) Received: (from andrew@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s9KGpAjp068257; Mon, 20 Oct 2014 16:51:10 GMT (envelope-from andrew@FreeBSD.org) Message-Id: <201410201651.s9KGpAjp068257@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: andrew set sender to andrew@FreeBSD.org using -f From: Andrew Turner Date: Mon, 20 Oct 2014 16:51:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r371282 - head/devel/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: Mon, 20 Oct 2014 16:51:11 -0000 Author: andrew (src committer) Date: Mon Oct 20 16:51:10 2014 New Revision: 371282 URL: https://svnweb.freebsd.org/changeset/ports/371282 QAT: https://qat.redports.org/buildarchive/r371282/ Log: Don't remove the directory containing the tools when PKGNAMEPREFIX == BUTARGET. Differential Revision: https://reviews.freebsd.org/D968 Approved by: bapt Modified: head/devel/binutils/Makefile Modified: head/devel/binutils/Makefile ============================================================================== --- head/devel/binutils/Makefile Mon Oct 20 16:15:04 2014 (r371281) +++ head/devel/binutils/Makefile Mon Oct 20 16:51:10 2014 (r371282) @@ -83,7 +83,9 @@ post-install: ${RM} ${STAGEDIR}${PREFIX}/include/ansidecl.h ${REINPLACE_CMD} '/#include "ansidecl.h"/d' ${STAGEDIR}${PREFIX}/include/bfd.h .else +.if ${PKGNAMEPREFIX:S/-$//} != ${BUTARGET} ${RM} -rf ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//} +.endif ${LN} -fs ../../bin/${BUTARGET}-size ${STAGEDIR}${PREFIX}/${BUTARGET}/bin/size .endif