diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-05 03:25:36 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-08-05 03:25:36 +0800 |
commit | a0c1329d5c3f13cc11c02c68f6491b49514cafc9 (patch) | |
tree | a1814bb2df9a22d6d55b5b0f79fc7dabbf8da492 /chinese | |
parent | e20cf0c91b9c0f7d323bd52b20e578fcb1f9f213 (diff) | |
download | freebsd-ports-gnome-a0c1329d5c3f13cc11c02c68f6491b49514cafc9.tar.gz freebsd-ports-gnome-a0c1329d5c3f13cc11c02c68f6491b49514cafc9.tar.zst freebsd-ports-gnome-a0c1329d5c3f13cc11c02c68f6491b49514cafc9.zip |
- Don't use / in sed regexps to allow paths, unbreaking cross-builds
Approved by: portmgr blanket
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/autoconvert/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chinese/autoconvert/Makefile b/chinese/autoconvert/Makefile index ae1bfbbcde44..e148d7905375 100644 --- a/chinese/autoconvert/Makefile +++ b/chinese/autoconvert/Makefile @@ -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: |