summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2005-06-17 17:05:18 +0000
committerjlam <jlam@pkgsrc.org>2005-06-17 17:05:18 +0000
commit873398634f5b24db0f3b810565ea57e99c6a6784 (patch)
tree7bcbf8131aea3b35f320122867493394c0dac839
parent975f995a88b1b8b93cbe457418d5af76ebe3de49 (diff)
downloadpkgsrc-873398634f5b24db0f3b810565ea57e99c6a6784.tar.gz
Pull out the LS and TR definitions from algae/Makefile and place them
in tools/defaults.mk where they can be more widely used.
-rw-r--r--math/algae/Makefile7
-rw-r--r--mk/tools/defaults.mk4
2 files changed, 5 insertions, 6 deletions
diff --git a/math/algae/Makefile b/math/algae/Makefile
index 24ca10ca1dc..d8514f946e4 100644
--- a/math/algae/Makefile
+++ b/math/algae/Makefile
@@ -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 @@ DEPENDS+= gnuplot>=3.5:../../graphics/gnuplot
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 --git a/mk/tools/defaults.mk b/mk/tools/defaults.mk
index 95f75b659a9..660abcd0355 100644
--- a/mk/tools/defaults.mk
+++ b/mk/tools/defaults.mk
@@ -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.gtar= TAR
_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.sort= SORT
_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