summaryrefslogtreecommitdiff
path: root/editors/nvi
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-02-21 21:20:12 +0000
committerjlam <jlam@pkgsrc.org>2008-02-21 21:20:12 +0000
commitb57da2cceeef131e0ffea3043ca2c9c197ef7ce2 (patch)
tree3b817d43dff7e2da8249ac0ec7ff39decef7fa66 /editors/nvi
parenta481ea2ec6f8fc44b760e28bf9b91e89730899eb (diff)
downloadpkgsrc-b57da2cceeef131e0ffea3043ca2c9c197ef7ce2.tar.gz
Make this more pkglint-friendly.
Diffstat (limited to 'editors/nvi')
-rw-r--r--editors/nvi/Makefile21
1 files changed, 11 insertions, 10 deletions
diff --git a/editors/nvi/Makefile b/editors/nvi/Makefile
index 610d43ab5ff..5cd8eb7d809 100644
--- a/editors/nvi/Makefile
+++ b/editors/nvi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2008/02/21 21:17:45 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2008/02/21 21:20:12 jlam Exp $
#
DISTNAME= nvi-1.81.5
@@ -15,6 +15,16 @@ PKG_DESTDIR_SUPPORT= user-destdir
.include "options.mk"
+WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix
+USE_TOOLS+= sh
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+
+CONFIGURE_SCRIPT= ../dist/configure
+CONFIGURE_ARGS+= --with-db3=${BUILDLINK_PREFIX.db3}
+CONFIGURE_ARGS+= --program-transform-name='s,^,n,'
+CONFIGURE_ENV+= vi_cv_path_shell=${TOOLS_SH:Q}
+
.if ${OPSYS} == "NetBSD"
. if !empty(OS_VERSION:M[2-9].*) || !empty(OS_VERSION:M1.6[A-Z]*)
CONFIGURE_ENV+= vi_cv_include_sys_select=no
@@ -29,15 +39,6 @@ CONFIGURE_ENV+= vi_cv_sys5_pty=no
LDFLAGS+= -flat_namespace
.endif
-WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix
-GNU_CONFIGURE= YES
-CONFIGURE_SCRIPT= ../dist/configure
-CONFIGURE_ARGS+= --with-db3=${BUILDLINK_PREFIX.db3}
-CONFIGURE_ARGS+= --program-transform-name='s,^,n,'
-CONFIGURE_ENV+= vi_cv_path_shell=${TOOLS_SH:Q}
-USE_TOOLS+= sh
-USE_LIBTOOL= YES
-
# We need exactly the db3 API.
BUILDLINK_TRANSFORM+= l:db:db3
.include "../../databases/db3/buildlink3.mk"