Date: Tue, 4 Aug 2015 19:25:37 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r393546 - head/chinese/autoconvert Message-ID: <201508041925.t74JPbKA060858@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Aug 4 19:25:36 2015 New Revision: 393546 URL: https://svnweb.freebsd.org/changeset/ports/393546 Log: - Don't use / in sed regexps to allow paths, unbreaking cross-builds Approved by: portmgr blanket Modified: head/chinese/autoconvert/Makefile Modified: head/chinese/autoconvert/Makefile ============================================================================== --- head/chinese/autoconvert/Makefile Tue Aug 4 19:22:52 2015 (r393545) +++ head/chinese/autoconvert/Makefile Tue Aug 4 19:25:36 2015 (r393546) @@ -22,10 +22,10 @@ USE_LDCONFIG= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} post-patch: - @${REINPLACE_CMD} -e 's/CFLAG/CFLAGS/' -e 's/make/$$(MAKE)/' \ + @${REINPLACE_CMD} -e 's|CFLAG|CFLAGS|' -e 's|make|$$(MAKE)|' \ ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's/gcc/${CC}/' -e 's/LIBS=/&${LDFLAGS} /' \ - -e 's/CFLAGS=/&${CPPFLAGS} ${CFLAGS} /' \ + @${REINPLACE_CMD} -e 's|gcc|${CC}|' -e 's|LIBS=|&${LDFLAGS} |' \ + -e 's|CFLAGS=|&${CPPFLAGS} ${CFLAGS} |' \ ${WRKSRC}/Makefile ${WRKSRC}/hzconvert/Makefile post-install:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508041925.t74JPbKA060858>