diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2015-10-10 14:03:00 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2015-10-10 14:03:00 +0000 |
commit | 3a55a118dde2f1cef80ad8ed446044449cb8417d (patch) | |
tree | 4ac25229c12e49e974a92ecd82e01b92eea15c00 /japanese/eblook | |
parent | 630b5a689e7c6ead73c118b24cff9156918e9155 (diff) |
Notes
Diffstat (limited to 'japanese/eblook')
-rw-r--r-- | japanese/eblook/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/japanese/eblook/Makefile b/japanese/eblook/Makefile index 27d540bff6ff..e22c667a808e 100644 --- a/japanese/eblook/Makefile +++ b/japanese/eblook/Makefile @@ -16,10 +16,10 @@ LICENSE= GPLv2 LIB_DEPENDS= libeb.so:${PORTSDIR}/japanese/eb USES= iconv -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-eb-conf=${PREFIX}/etc/eb.conf +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-eb-conf=${PREFIX}/etc/eb.conf CPPFLAGS+= -I${ICONV_PREFIX}/include -LDFLAGS+= -L${ICONV_PREFIX}/lib ${ICONV_LIB} +LIBS+= -L${ICONV_PREFIX}/lib ${ICONV_LIB} INFO= eblook PLIST_FILES= bin/eblook @@ -27,10 +27,14 @@ PORTDOCS= AUTHORS COPYING ChangeLog NEWS README OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> +.include <bsd.port.pre.mk> + +.if !empty(ICONV_LIB) +CONFIGURE_ARGS+=ac_cv_func_iconv=yes +.endif post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |