summaryrefslogtreecommitdiff
path: root/editors/vim-xaw
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vim-xaw')
-rw-r--r--editors/vim-xaw/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/editors/vim-xaw/Makefile b/editors/vim-xaw/Makefile
index 15901ea6360..4646111f618 100644
--- a/editors/vim-xaw/Makefile
+++ b/editors/vim-xaw/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2000/07/28 10:33:57 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2000/11/02 03:25:33 wiz Exp $
.include "../vim-share/Makefile.common"
@@ -29,13 +29,7 @@ post-install:
${LN} -s vim ${PREFIX}/bin/$$f; \
done
-.include "../../mk/bsd.pkg.mk"
-
-.if (${XAW_TYPE} == "standard")
-MAKE_ENV+= XAW_LIB=Xaw
-.else
-MAKE_ENV+= XAW_LIB=Xaw3d
-.endif
+.include "../../mk/bsd.prefs.mk"
.if ${NEED_NCURSES} == "YES"
CONFIGURE_ARGS+= --with-tlib=ncurses
@@ -43,3 +37,11 @@ CONFIGURE_ARGS+= --with-tlib=ncurses
CPPFLAGS=
CONFIGURE_ARGS+= --with-tlib=curses
.endif
+
+.include "../../mk/bsd.pkg.mk"
+
+.if (${XAW_TYPE} == "standard")
+MAKE_ENV+= XAW_LIB=Xaw
+.else
+MAKE_ENV+= XAW_LIB=Xaw3d
+.endif