[24820] trunk/base

source_changes at macosforge.org source_changes at macosforge.org
Sat May 5 10:18:27 PDT 2007


Revision: 24820
          http://trac.macosforge.org/projects/macports/changeset/24820
Author:   jberry at macports.org
Date:     2007-05-05 10:18:27 -0700 (Sat, 05 May 2007)

Log Message:
-----------
Autoconf for svn command, defining SVN as precious so it can be overridden at configure time

Modified Paths:
--------------
    trunk/base/configure.ac
    trunk/base/src/port1.0/port_autoconf.tcl.in
    trunk/base/src/port1.0/portfetch.tcl

Modified: trunk/base/configure.ac
===================================================================
--- trunk/base/configure.ac	2007-05-05 11:01:46 UTC (rev 24819)
+++ trunk/base/configure.ac	2007-05-05 17:18:27 UTC (rev 24820)
@@ -15,6 +15,7 @@
 AC_PROG_LN_S
 AC_PATH_PROG(MTREE, [mtree], [])
 AC_PATH_PROG(CVS, [cvs], [])
+AC_PATH_PROG(SVN, [svn], [])
 AC_PATH_PROG(RSYNC, [rsync], [])
 AC_CHECK_PROG(HAVE_LAUNCHD, [launchd], [yes], [])
 AC_PATH_PROG(LAUNCHCTL, [launchctl], [])
@@ -26,6 +27,7 @@
 # Define some precious variables allowing user to override PATH for some programs
 AC_ARG_VAR(MTREE, [path to mtree command])
 AC_ARG_VAR(CVS, [path to cvs command])
+AC_ARG_VAR(SVN, [path to svn command])
 AC_ARG_VAR(RSYNC, [path to rsync command])
 AC_ARG_VAR(TAR, [path to tar command])
 AC_ARG_VAR(GNUTAR, [path to gnutar command])

Modified: trunk/base/src/port1.0/port_autoconf.tcl.in
===================================================================
--- trunk/base/src/port1.0/port_autoconf.tcl.in	2007-05-05 11:01:46 UTC (rev 24819)
+++ trunk/base/src/port1.0/port_autoconf.tcl.in	2007-05-05 17:18:27 UTC (rev 24820)
@@ -32,6 +32,7 @@
 
 namespace eval portutil::autoconf {
 	variable cvs_path "@CVS@"
+	variable svn_path "@SVN@"
 	variable rsync_path "@RSYNC@"
 	variable mtree_path "@MTREE@"
 	variable xar_path "@XAR@"

Modified: trunk/base/src/port1.0/portfetch.tcl
===================================================================
--- trunk/base/src/port1.0/portfetch.tcl	2007-05-05 11:01:46 UTC (rev 24819)
+++ trunk/base/src/port1.0/portfetch.tcl	2007-05-05 17:18:27 UTC (rev 24820)
@@ -67,7 +67,7 @@
 default cvs.args ""
 default cvs.post_args {"${cvs.module}"}
 
-default svn.cmd {svn}
+default svn.cmd {$portutil::autoconf::svn_path}
 default svn.dir {${workpath}}
 default svn.tag ""
 default svn.env {}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070505/f1cb211f/attachment.html


More information about the macports-changes mailing list