pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/editors/nvi Make this more pkglint-friendly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/108a32476b75
branches:  trunk
changeset: 538956:108a32476b75
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Feb 21 21:20:12 2008 +0000

description:
Make this more pkglint-friendly.

diffstat:

 editors/nvi/Makefile |  21 +++++++++++----------
 1 files changed, 11 insertions(+), 10 deletions(-)

diffs (42 lines):

diff -r 2ea28bc2b61b -r 108a32476b75 editors/nvi/Makefile
--- a/editors/nvi/Makefile      Thu Feb 21 21:17:45 2008 +0000
+++ b/editors/nvi/Makefile      Thu Feb 21 21:20:12 2008 +0000
@@ -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 @@
 
 .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 @@
 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"



Home | Main Index | Thread Index | Old Index