aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-11 10:39:59 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-12-11 10:39:59 +0000
commit0cc9027fbf799cb08519d5fc77abe671d3fe6446 (patch)
treecfd6ba09ac2db66f6fe76272c2b95ab23b25b79e
parenteb899af3049fb5df96dc2305f892a4854d2bd099 (diff)
downloadpaludis-0cc9027fbf799cb08519d5fc77abe671d3fe6446.tar.gz
paludis-0cc9027fbf799cb08519d5fc77abe671d3fe6446.tar.xz
Allow --with-repositories=defaults. Don't build cran or gems by default.
-rw-r--r--configure.ac8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 246f350..e6d4cf9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -646,11 +646,13 @@ dnl }}}
dnl {{{ repositories
ALL_REPOSITORIES="cran fake nothing portage vdb gems virtuals"
-DEFAULT_REPOSITORIES="cran fake nothing portage vdb virtuals"
+DEFAULT_REPOSITORIES="fake nothing portage vdb virtuals"
AC_MSG_CHECKING([which repositories to build...])
AC_ARG_WITH([repositories],
[ --with-repositories=foo,bar,...
- Build the specified repositories. Available repositories are:
+ Build the specified repositories:
+ default Equivalent to fake,nothing,portage,vdb,virtuals
+
cran The Comprehensive R Archive Network
fake A fake repository for test cases
gems Ruby Gems (requires libyaml) (UNUSABLE)
@@ -660,7 +662,7 @@ AC_ARG_WITH([repositories],
virtuals Old style Portage virtuals],
[repositories="`echo $with_repositories | tr ',' ' '`"],
[repositories="$DEFAULT_REPOSITORIES"])
-repositories=`echo $repositories | tr ' ' '\n' | sort | uniq | tr '\n' ' '`
+repositories=`echo $repositories | tr ' ' '\n' | sed -e "s,^default\$,$DEFAULT_REPOSITORIES," | tr ' ' '\n' | sort | uniq | tr '\n' ' '`
AC_MSG_RESULT([$repositories])
BUILD_REPOSITORIES="$repositories"
AC_SUBST([ALL_REPOSITORIES])