From owner-svn-ports-head@freebsd.org Tue Aug 4 19:19:59 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 587D3995C1F; Tue, 4 Aug 2015 19:19:59 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.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 494FCA2B; Tue, 4 Aug 2015 19:19:59 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t74JJxDQ056344; Tue, 4 Aug 2015 19:19:59 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t74JJxmP056343; Tue, 4 Aug 2015 19:19:59 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201508041919.t74JJxmP056343@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Tue, 4 Aug 2015 19:19:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393542 - head/sysutils/usb_modeswitch 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.20 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: Tue, 04 Aug 2015 19:19:59 -0000 Author: amdmi3 Date: Tue Aug 4 19:19:58 2015 New Revision: 393542 URL: https://svnweb.freebsd.org/changeset/ports/393542 Log: - Don't use / in sed regexps to allow paths, unbreaking cross-builds Approved by: portmgr blanket Modified: head/sysutils/usb_modeswitch/Makefile Modified: head/sysutils/usb_modeswitch/Makefile ============================================================================== --- head/sysutils/usb_modeswitch/Makefile Tue Aug 4 18:53:20 2015 (r393541) +++ head/sysutils/usb_modeswitch/Makefile Tue Aug 4 19:19:58 2015 (r393542) @@ -15,8 +15,8 @@ LICENSE= GPLv2 USES= gmake tar:bzip2 pre-patch: - ${REINPLACE_CMD} 's/gcc/${CC}/' ${WRKSRC}/Makefile - ${REINPLACE_CMD} 's/`pkg-config --libs --cflags libusb-1.0`/-lusb/' ${WRKSRC}/Makefile + ${REINPLACE_CMD} 's|gcc|${CC}|' ${WRKSRC}/Makefile + ${REINPLACE_CMD} 's|`pkg-config --libs --cflags libusb-1.0`|-lusb|' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/usb_modeswitch ${STAGEDIR}${PREFIX}/sbin