diff options
author | trevor <trevor@FreeBSD.org> | 2004-02-18 10:08:32 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2004-02-18 10:08:32 +0800 |
commit | c44bde351bbdf9314dbbf2215bfa55e530daf657 (patch) | |
tree | ad73a5d31c89de9bc8a4373aa9ed135d42a771cb | |
parent | ce4126a4cf920e2518cbf0ac46358585a9cb14c7 (diff) | |
download | freebsd-ports-gnome-c44bde351bbdf9314dbbf2215bfa55e530daf657.tar.gz freebsd-ports-gnome-c44bde351bbdf9314dbbf2215bfa55e530daf657.tar.zst freebsd-ports-gnome-c44bde351bbdf9314dbbf2215bfa55e530daf657.zip |
As discovered by Andrzej Tobola, gettext (this version, or the
0.12.1 version) fails to build if kaffe-devel-1.1.3 is installed.
Kludge around this.
-rw-r--r-- | devel/gettext/Makefile | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile index cce9adc2e208..3a27a68fb6b6 100644 --- a/devel/gettext/Makefile +++ b/devel/gettext/Makefile @@ -48,10 +48,29 @@ INFO= autosprintf gettext to "make". Please unset it and restart the build. .endif +.include <bsd.port.pre.mk> + +pre-extract: +.if exists(${PREFIX}/bin/kaffe) + @${ECHO_MSG} "Gettext won't build with Kaffe's jar utility. Doing:" + ${MV} ${PREFIX}/bin/jar ${PREFIX}/bin/jar.backup + @${ECHO_MSG} "Be sure to mv" ${PREFIX}/bin/jar.backup ${PREFIX}/bin/jar + @${ECHO_MSG} "if you abandon your attempt to build gettext. + @sleep 5 +.endif + +post-build: +.if exists(${PREFIX}/bin/kaffe) + ${MV} ${PREFIX}/bin/jar.backup ${PREFIX}/bin/jar + @${ECHO_MSG} + @${ECHO_MSG} "Your" ${PREFIX}/bin/jar "has been restored." + @sleep 5 +.endif + post-install: .for f in po-compat.el po-mode.el ${INSTALL_DATA} ${WRKSRC}/gettext-tools/misc/${f} ${PREFIX}/share/emacs/site-lisp .endfor ${MKDIR} ${X11BASE}/share/locale -.include <bsd.port.mk> +.include <bsd.port.post.mk> |