svn commit: r555818 - head/chinese/cconv
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sat Nov 21 09:17:43 UTC 2020
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>
More information about the svn-ports-all
mailing list