summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--converters/iconv/Makefile5
-rw-r--r--devel/gettext/Makefile5
2 files changed, 10 insertions, 0 deletions
diff --git a/converters/iconv/Makefile b/converters/iconv/Makefile
index 7ecb8c13d9a6..c2f75a272798 100644
--- a/converters/iconv/Makefile
+++ b/converters/iconv/Makefile
@@ -21,6 +21,11 @@ MANCOMPRESSED= yes
MAN1= biconv.1
MAN3= biconv.3 biconv_open.3 biconv_close.3
+.ifdef USE_ICONV
+.error USE_ICONV is defined as an environment variable, or in the arguments \
+ to "make". Please unset it and restart the build.
+.endif
+
.if defined(NOPROFILE)
PLIST_SUB= PROFILE:="@comment "
.else
diff --git a/devel/gettext/Makefile b/devel/gettext/Makefile
index 84c74771bf39..cce9adc2e208 100644
--- a/devel/gettext/Makefile
+++ b/devel/gettext/Makefile
@@ -43,6 +43,11 @@ MAN3= bind_textdomain_codeset.3 bindtextdomain.3 dcgettext.3 \
INFO= autosprintf gettext
+.ifdef USE_GETTEXT
+.error USE_GETTEXT is defined as an environment variable, or in the arguments \
+ to "make". Please unset it and restart the build.
+.endif
+
post-install:
.for f in po-compat.el po-mode.el
${INSTALL_DATA} ${WRKSRC}/gettext-tools/misc/${f} ${PREFIX}/share/emacs/site-lisp