summaryrefslogtreecommitdiff
path: root/editors/nvi/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2008-02-21 21:20:12 +0000
committerjlam <jlam>2008-02-21 21:20:12 +0000
commit055282c653378b445cd071e65bbfa926ad8853a5 (patch)
tree3b817d43dff7e2da8249ac0ec7ff39decef7fa66 /editors/nvi/Makefile
parent6a617b7a068462f3c37154630b22fcc7cdbe354f (diff)
downloadpkgsrc-055282c653378b445cd071e65bbfa926ad8853a5.tar.gz
Make this more pkglint-friendly.
Diffstat (limited to 'editors/nvi/Makefile')
-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"