diff options
Diffstat (limited to 'x11-wm/jwm/Makefile')
-rw-r--r-- | x11-wm/jwm/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/x11-wm/jwm/Makefile b/x11-wm/jwm/Makefile index a8f03de5bf5..5a9ebaa1893 100644 --- a/x11-wm/jwm/Makefile +++ b/x11-wm/jwm/Makefile @@ -67,6 +67,12 @@ IGNORE= the XMU support requires XEXT IGNORE= the XPM support requires XEXT .endif +.include <bsd.port.pre.mk> + +.if !empty(ICONV_LIB) +CONFIGURE_ARGS+=ac_cv_lib_iconv_iconv=yes +.endif + post-patch: @${REINPLACE_CMD} -e \ 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/example.jwmrc @@ -77,4 +83,4 @@ post-patch: '/EXE/s|install|@INSTALL_PROGRAM@| ; \ /strip/s|^|#|' ${WRKSRC}/src/Makefile.in -.include <bsd.port.mk> +.include <bsd.port.post.mk> |