From owner-svn-ports-all@freebsd.org Fri Apr 17 14:44:02 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3CBC92BBD0B; Fri, 17 Apr 2020 14:44:02 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 493f420rhpz41nt; Fri, 17 Apr 2020 14:44:02 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 182EE23FEE; Fri, 17 Apr 2020 14:44:02 +0000 (UTC) (envelope-from hselasky@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 03HEi1SI089962; Fri, 17 Apr 2020 14:44:01 GMT (envelope-from hselasky@FreeBSD.org) Received: (from hselasky@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 03HEi1Wc089961; Fri, 17 Apr 2020 14:44:01 GMT (envelope-from hselasky@FreeBSD.org) Message-Id: <202004171444.03HEi1Wc089961@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: hselasky set sender to hselasky@FreeBSD.org using -f From: Hans Petter Selasky Date: Fri, 17 Apr 2020 14:44:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r531935 - head/multimedia/libv4l X-SVN-Group: ports-head X-SVN-Commit-Author: hselasky X-SVN-Commit-Paths: head/multimedia/libv4l X-SVN-Commit-Revision: 531935 X-SVN-Commit-Repository: ports 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.29 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: Fri, 17 Apr 2020 14:44:02 -0000 Author: hselasky Date: Fri Apr 17 14:44:01 2020 New Revision: 531935 URL: https://svnweb.freebsd.org/changeset/ports/531935 Log: Use BINARY_ALIAS feature to replace sed with gsed. Suggested by: kevans and bapt Approved by: pi (implicit) Modified: head/multimedia/libv4l/Makefile Modified: head/multimedia/libv4l/Makefile ============================================================================== --- head/multimedia/libv4l/Makefile Fri Apr 17 14:13:30 2020 (r531934) +++ head/multimedia/libv4l/Makefile Fri Apr 17 14:44:01 2020 (r531935) @@ -36,6 +36,7 @@ CONFIGURE_ARGS= \ --disable-qv4l2 \ --disable-qvidcap \ --disable-nls +BINARY_ALIAS= sed=gsed INSTALL_TARGET= install-strip .endif @@ -68,10 +69,6 @@ post-patch: @${RM} -r ${WRKDIR}/v4l-utils-${PORTVERSION}/contrib/freebsd/include/* # Apply webcamd patches first @(cd ${WRKDIR}/webcamd-${WEBCAMDVERSION}/patches && ${SH} ./do_patch.sh) -# Patch Makefiles to use GNU-sed - @${FIND} ${WRKDIR}/v4l-utils-${PORTVERSION} -type f \( -iname "Makefile*" \) | \ - ${XARGS} -n 10 ${REINPLACE_CMD} \ - -e 's|^\([[:space:]]*\)sed |\1${LOCALBASE}/bin/gsed |' # Patch all source files @${FIND} ${WRKDIR} -type f \( -iname "*.[ch]" -or -iname "*.cpp" -or -iname "msg2ctl.pl" \) | \ ${XARGS} -n 10 ${REINPLACE_CMD} \