From owner-svn-ports-head@FreeBSD.ORG Fri Apr 4 12:50:11 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4EEC7CA6; Fri, 4 Apr 2014 12:50:11 +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 3BA9DA31; Fri, 4 Apr 2014 12:50:11 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s34CoBln084393; Fri, 4 Apr 2014 12:50:11 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s34CoBpj084392; Fri, 4 Apr 2014 12:50:11 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201404041250.s34CoBpj084392@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 4 Apr 2014 12:50:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350104 - head/sysutils/ptools 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.17 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, 04 Apr 2014 12:50:11 -0000 Author: bapt Date: Fri Apr 4 12:50:10 2014 New Revision: 350104 URL: http://svnweb.freebsd.org/changeset/ports/350104 QAT: https://qat.redports.org/buildarchive/r350104/ Log: Remove NEED_ROOT Patch the Makefile in one single command Fix installing as a user directly strip during the installation in stage Modified: head/sysutils/ptools/Makefile Modified: head/sysutils/ptools/Makefile ============================================================================== --- head/sysutils/ptools/Makefile Fri Apr 4 12:43:01 2014 (r350103) +++ head/sysutils/ptools/Makefile Fri Apr 4 12:50:10 2014 (r350104) @@ -17,17 +17,11 @@ PLIST_FILES= bin/pargs \ bin/pldd \ bin/ptree -NEED_ROOT= yes - -post-patch-script: - @${REINPLACE_CMD} -e 's|/usr/local/bin|${STAGEDIR}${PREFIX}/bin|g' \ - ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|gcc|$${CC}|g' \ +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local/bin|${STAGEDIR}${PREFIX}/bin|g ; \ + s|gcc|$${CC}|g ; \ + s|555|755|g ; \ + s|-o root -g wheel|${STRIP}|g' \ ${WRKSRC}/Makefile -post-install: -.for file in pargs pwdx pldd ptree - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${file} -.endfor - .include