aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-11-21 09:17:43 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-11-21 09:17:43 +0000
commite27b6a09571775dcaea51d94c7be0eae6fc9d46a (patch)
tree02cc23b645f284cecc6687751e4b2ec4a18503e8 /chinese
parent215d8607d2beabd7cd1a016ee8663694cced4e70 (diff)
downloadports-e27b6a09571775dcaea51d94c7be0eae6fc9d46a.tar.gz
ports-e27b6a09571775dcaea51d94c7be0eae6fc9d46a.zip
Cosmetic change
Notes
Notes: svn path=/head/; revision=555818
Diffstat (limited to 'chinese')
-rw-r--r--chinese/cconv/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/chinese/cconv/Makefile b/chinese/cconv/Makefile
index 948867bbfe1f..b49a582ef7c6 100644
--- a/chinese/cconv/Makefile
+++ b/chinese/cconv/Makefile
@@ -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>