From owner-svn-ports-all@FreeBSD.ORG Mon Jan 13 19:15:27 2014 Return-Path: Delivered-To: svn-ports-all@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 AE126341; Mon, 13 Jan 2014 19:15:27 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 80E461E08; Mon, 13 Jan 2014 19:15:27 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0DJFRH7025431; Mon, 13 Jan 2014 19:15:27 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0DJFRfK025429; Mon, 13 Jan 2014 19:15:27 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201401131915.s0DJFRfK025429@svn.freebsd.org> From: John Marino Date: Mon, 13 Jan 2014 19:15:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339621 - in head/converters/fconv: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.17 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: Mon, 13 Jan 2014 19:15:27 -0000 Author: marino Date: Mon Jan 13 19:15:26 2014 New Revision: 339621 URL: http://svnweb.freebsd.org/changeset/ports/339621 Log: converters/fconv: Unbreak for root builds The previous commit enabled non-root builds to work, but broke builds by root instead. The ${GID} variable is blank when the user is root, so the replacement of "root" with ${GID} resulted in bad command. Just use ${BSD_INSTALL_PROGRAM} instead and revbump because the packaged binaries could be stripped now because of that. Commit covered by the "Just fix it" blanket. Added: head/converters/fconv/files/ head/converters/fconv/files/patch-Makefile (contents, props changed) Modified: head/converters/fconv/Makefile Modified: head/converters/fconv/Makefile ============================================================================== --- head/converters/fconv/Makefile Mon Jan 13 19:06:58 2014 (r339620) +++ head/converters/fconv/Makefile Mon Jan 13 19:15:26 2014 (r339621) @@ -3,7 +3,7 @@ PORTNAME= fconv PORTVERSION= 1.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= converters MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= chris @@ -11,12 +11,6 @@ MASTER_SITE_SUBDIR= chris MAINTAINER= chris@FreeBSD.org COMMENT= Converts DOS or Mac-style files to Unix format, and vice-versa -USES= uidfix - MAKE_ARGS+= INSTALLDIR=${STAGEDIR}${PREFIX}/bin -post-patch: - @${REINPLACE_CMD} 's/root/${UID}/g; s/wheel/${GID}/g' \ - ${WRKSRC}/Makefile - .include Added: head/converters/fconv/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/converters/fconv/files/patch-Makefile Mon Jan 13 19:15:26 2014 (r339621) @@ -0,0 +1,11 @@ +--- Makefile.orig 2000-12-07 23:29:34.000000000 +0000 ++++ Makefile +@@ -40,7 +40,7 @@ man: + + install: links + .for TMPINS in ${LINKS} +- install -c -o root -g wheel -m 0755 ${TMPINS} ${INSTALLDIR} ++ ${BSD_INSTALL_PROGRAM} ${TMPINS} ${INSTALLDIR} + .endfor + + links: