pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Pull out the LS and TR definitions from algae/Makefile...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef4bcce49602
branches:  trunk
changeset: 495692:ef4bcce49602
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Jun 17 17:05:18 2005 +0000

description:
Pull out the LS and TR definitions from algae/Makefile and place them
in tools/defaults.mk where they can be more widely used.

diffstat:

 math/algae/Makefile  |  7 ++-----
 mk/tools/defaults.mk |  4 +++-
 2 files changed, 5 insertions(+), 6 deletions(-)

diffs (49 lines):

diff -r 55bf494f6967 -r ef4bcce49602 math/algae/Makefile
--- a/math/algae/Makefile       Fri Jun 17 16:27:58 2005 +0000
+++ b/math/algae/Makefile       Fri Jun 17 17:05:18 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2005/06/17 12:56:04 kristerw Exp $
+# $NetBSD: Makefile,v 1.16 2005/06/17 17:05:18 jlam Exp $
 
 DISTNAME=              algae-4.1.3
 PKGREVISION=           3
@@ -13,13 +13,10 @@
 
 GNU_CONFIGURE=         yes
 USE_LANGUAGES=         fortran
+USE_TOOLS+=            ls tr
 USE_GNU_READLINE=      # uses history_truncate_file
 
 INFO_FILES=            algae.info
 
-USE_TOOLS+=            ls tr
-CONFIGURE_ENV+=                ac_cv_path_LS="${TOOLS_LS}"
-CONFIGURE_ENV+=                ac_cv_path_TR="${TOOLS_TR}"
-
 .include "../../devel/readline/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 55bf494f6967 -r ef4bcce49602 mk/tools/defaults.mk
--- a/mk/tools/defaults.mk      Fri Jun 17 16:27:58 2005 +0000
+++ b/mk/tools/defaults.mk      Fri Jun 17 17:05:18 2005 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: defaults.mk,v 1.29 2005/06/17 16:24:51 jlam Exp $
+# $NetBSD: defaults.mk,v 1.30 2005/06/17 17:05:18 jlam Exp $
 #
 # Copyright (c) 2005 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -150,6 +150,7 @@
 _TOOLS_VARNAME_GNU.hostname=   HOSTNAME
 _TOOLS_VARNAME_GNU.lex=                LEX
 _TOOLS_VARNAME_GNU.ln=         LN
+_TOOLS_VARNAME_GNU.ls=         LS
 _TOOLS_VARNAME_GNU.m4=         M4
 _TOOLS_VARNAME_GNU.mkdir=      MKDIR
 _TOOLS_VARNAME_GNU.mv=         MV
@@ -161,6 +162,7 @@
 _TOOLS_VARNAME_GNU.tar=                TAR
 _TOOLS_VARNAME_GNU.test=       TEST ac_cv_path_TEST
 _TOOLS_VARNAME_GNU.touch=      TOUCH
+_TOOLS_VARNAME_GNU.tr=         TR
 _TOOLS_VARNAME_GNU.true=       TRUE ac_cv_path_TRUE
 _TOOLS_VARNAME_GNU.xmkmf=      XMKMF
 _TOOLS_VARNAME_GNU.yacc=       YACC



Home | Main Index | Thread Index | Old Index