Date: Sat, 21 Nov 2020 09:17:43 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555818 - head/chinese/cconv Message-ID: <202011210917.0AL9Hh1t096544@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Sat Nov 21 09:17:43 2020 New Revision: 555818 URL: https://svnweb.freebsd.org/changeset/ports/555818 Log: Cosmetic change Modified: head/chinese/cconv/Makefile Modified: head/chinese/cconv/Makefile ============================================================================== --- head/chinese/cconv/Makefile Sat Nov 21 09:17:11 2020 (r555817) +++ head/chinese/cconv/Makefile Sat Nov 21 09:17:43 2020 (r555818) @@ -20,14 +20,14 @@ USES= autoreconf iconv libtool GH_ACCOUNT= xiaoyjy USE_GITHUB= yes -post-patch: - @${REINPLACE_CMD} -e 's|unicode.h||; s|libcconv_la_LDFLAGS|cconv_LDFLAGS|' ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} -e 's|UTF-TW|UTF8-TW|g' ${WRKSRC}/main.c - .include <bsd.port.pre.mk> -.if ! empty(ICONV_LIB) +.if !empty(ICONV_LIB) CONFIGURE_ENV+= ICONV_DIR=${ICONV_PREFIX} .endif + +post-patch: + @${REINPLACE_CMD} -e 's|unicode.h||; s|libcconv_la_LDFLAGS|cconv_LDFLAGS|' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's|UTF-TW|UTF8-TW|g' ${WRKSRC}/main.c .include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011210917.0AL9Hh1t096544>