From owner-svn-ports-head@FreeBSD.ORG Wed Feb 25 11:36:32 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 357DBDAC; Wed, 25 Feb 2015 11:36:32 +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 20D67939; Wed, 25 Feb 2015 11:36:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1PBaVrr053482; Wed, 25 Feb 2015 11:36:31 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1PBaV5T053481; Wed, 25 Feb 2015 11:36:31 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201502251136.t1PBaV5T053481@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Wed, 25 Feb 2015 11:36:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379901 - head/multimedia/mkvtoolnix 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: Wed, 25 Feb 2015 11:36:32 -0000 Author: marino Date: Wed Feb 25 11:36:31 2015 New Revision: 379901 URL: https://svnweb.freebsd.org/changeset/ports/379901 QAT: https://qat.redports.org/buildarchive/r379901/ Log: multimedia/mkvtoolnix: set environment during build/install and unsuppress This port was strange in that it not only failed to set the environment, it was unsetting PREFIX to whatever environment it had. This change sets the environment in both build and install targets with the exception of PREFIX. I don't know why that is done, but I maintained that part. While here, unsuppress the commands so that the build can be logged and change ";" to "&&" conjunctions which is preferred. Approved by: blanket Modified: head/multimedia/mkvtoolnix/Makefile Modified: head/multimedia/mkvtoolnix/Makefile ============================================================================== --- head/multimedia/mkvtoolnix/Makefile Wed Feb 25 11:35:14 2015 (r379900) +++ head/multimedia/mkvtoolnix/Makefile Wed Feb 25 11:36:31 2015 (r379901) @@ -59,9 +59,10 @@ INSTALLS_ICONS= yes .endif do-build: - @(cd ${WRKSRC}/; unset PREFIX; ./drake ${_MAKE_JOBS}) + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV:NPREFIX=*} ./drake ${_MAKE_JOBS}) do-install: - @(cd ${WRKSRC}/; unset PREFIX; ./drake ${_MAKE_JOBS} ${MAKE_ARGS} install) + (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV:NPREFIX=*} \ + ./drake ${_MAKE_JOBS} ${MAKE_ARGS} install) .include