Cosmetic change

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-11-21 09:17:43 +00:00
parent 215d8607d2
commit e27b6a0957
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555818

View File

@ -20,14 +20,14 @@ USES= autoreconf iconv libtool
GH_ACCOUNT= xiaoyjy
USE_GITHUB= yes
.include <bsd.port.pre.mk>
.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.pre.mk>
.if ! empty(ICONV_LIB)
CONFIGURE_ENV+= ICONV_DIR=${ICONV_PREFIX}
.endif
.include <bsd.port.post.mk>