summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-08-21 02:23:04 +0000
committergrant <grant@pkgsrc.org>2002-08-21 02:23:04 +0000
commit4525f6f63cac265bbdeb933e70cd82af6e489e5e (patch)
tree5495b470568b1087fb882925053bb4b3e58a124f
parent2fb70c6c872b94da68f10677f0a8ee7e097d354b (diff)
downloadpkgsrc-4525f6f63cac265bbdeb933e70cd82af6e489e5e.tar.gz
reverse if ${USE_INET6} condition, as USE_INET6 is not guaranteed to
be defined.
-rw-r--r--editors/emacs/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/editors/emacs/Makefile b/editors/emacs/Makefile
index 7cc019c996d..1a097b9f809 100644
--- a/editors/emacs/Makefile
+++ b/editors/emacs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.46 2002/05/29 14:45:56 yyamano Exp $
+# $NetBSD: Makefile,v 1.47 2002/08/21 02:23:04 grant Exp $
# FreeBSD Id: Makefile,v 1.30 1997/12/14 02:03:53 asami Exp
DISTNAME= emacs-20.7
@@ -30,10 +30,10 @@ CONFIGURE_ARGS+=--with-x=${EMACS_USE_X}
.if defined(EMACS_USE_X_TOOLKIT)
CONFIGURE_ARGS+=--with-x-toolkit=${EMACS_USE_X_TOOLKIT}
.endif
-.if (defined(USE_INET6) && ${USE_INET6} == NO)
-CONFIGURE_ARGS+=--without-ipv6
-.else
+.if defined(USE_INET6) && ${USE_INET6} == YES
CONFIGURE_ARGS+=--with-ipv6
+.else
+CONFIGURE_ARGS+=--without-ipv6
.endif
MAKE_ENV+= INSTALL_STRIP=${_STRIPFLAG_INSTALL}
INFO_FILES= emacs vip viper forms gnus mh-e cl sc dired-x ediff \