diff options
author | Lev A. Serebryakov <lev@FreeBSD.org> | 2010-11-24 22:51:10 +0000 |
---|---|---|
committer | Lev A. Serebryakov <lev@FreeBSD.org> | 2010-11-24 22:51:10 +0000 |
commit | e6358c3d66e6cf8f9500398abec8d2e52799a7b5 (patch) | |
tree | 3099e9e1db5baaeec27396b8b7db5d057d50fb46 /devel/subversion16 | |
parent | fe17f600246b3f7dc367caded4e588ffa478ba35 (diff) |
Notes
Diffstat (limited to 'devel/subversion16')
-rw-r--r-- | devel/subversion16/Makefile | 15 | ||||
-rw-r--r-- | devel/subversion16/Makefile.common | 2 | ||||
-rw-r--r-- | devel/subversion16/distinfo | 8 | ||||
-rw-r--r-- | devel/subversion16/files/patch-configure | 37 |
4 files changed, 44 insertions, 18 deletions
diff --git a/devel/subversion16/Makefile b/devel/subversion16/Makefile index e7a8f52cac5a..e7ebb89cd424 100644 --- a/devel/subversion16/Makefile +++ b/devel/subversion16/Makefile @@ -22,7 +22,7 @@ OPTIONS= MOD_DAV_SVN "mod_dav_svn module for Apache 2.X" off \ NEON "WebDAV/Delta-V repo access module (neon)" on \ SERF "WebDAV/Delta-V repo access module (serf)" off \ SASL "SASL2 authorization support" off \ - BDB "db4 repository backend" on \ + BDB "Berkeley DB (4 or 5) repository backend" on \ ASVN "Build and install Archive SVN (asvn)" off \ MAINTAINER_DEBUG "Build debug version" off \ SVNSERVE_WRAPPER "Enable svnserve wrapper" off \ @@ -85,9 +85,9 @@ pre-everything:: .endif @${ECHO_MSG} "" .if defined(WITH_BDB) - @${ECHO_MSG} "db4 repository backend enabled." + @${ECHO_MSG} "Berkeley DB (4 or 5) repository backend enabled." .else - @${ECHO_MSG} "db4 repository backend disabled." + @${ECHO_MSG} "Berkeley DB (4 or 5) repository backend disabled." .endif @${ECHO_MSG} "" .if defined(WITH_MAINTAINER_DEBUG) @@ -159,13 +159,14 @@ pre-everything:: pre-configure: .if !defined(WITHOUT_BDB) - @if [ `${APR_APU_DIR}/${APU_CONFIG} --db-version` != "4" ] ; then \ + @BDB_VERSION=`${APR_APU_DIR}/${APU_CONFIG} --db-version`; \ + if [ "$${BDB_VERSION}" != "4" -a "$${BDB_VERSION}" != "5" ] ; then \ ${ECHO_MSG} "" ; \ - ${ECHO_MSG} 'You should build `'"${APR_PORT}' with db4 support to use subversion with it." ; \ + ${ECHO_MSG} 'You should build `'"${APR_PORT}' with Berkeley DB (4 or 5) support to use subversion with it." ; \ ${ECHO_MSG} 'Please rebuild `'"${APR_PORT}' with option "'`'"${OPT_NAME}' and try again." ; \ ${ECHO_MSG} "" ; \ - ${ECHO_MSG} "Or you can disable db4 support. Only 'fs' repository backend will be available." ; \ - ${ECHO_MSG} "To disable db4 support, define WITHOUT_BDB." ; \ + ${ECHO_MSG} "Or you can disable Berkeley DB support. Only 'fs' repository backend will be available." ; \ + ${ECHO_MSG} "To disable Berkeley DB support, define WITHOUT_BDB." ; \ ${ECHO_MSG} "" ; \ ${FALSE} ; \ fi diff --git a/devel/subversion16/Makefile.common b/devel/subversion16/Makefile.common index 748d115b8f60..b914de531108 100644 --- a/devel/subversion16/Makefile.common +++ b/devel/subversion16/Makefile.common @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= subversion -PORTVERSION= 1.6.13 +PORTVERSION= 1.6.15 PORTREVISION?= 0 CATEGORIES+= devel MASTER_SITES= http://subversion.tigris.org/downloads/:main \ diff --git a/devel/subversion16/distinfo b/devel/subversion16/distinfo index 610ce05110fb..97260e212fcf 100644 --- a/devel/subversion16/distinfo +++ b/devel/subversion16/distinfo @@ -1,12 +1,8 @@ -MD5 (subversion/subversion-1.6.13.tar.bz2) = 7ae1c827689f21cf975804005be30aeb -SHA256 (subversion/subversion-1.6.13.tar.bz2) = 3a30327bdb04109f369586196ee4a6993cdab2cfa85c3134549f02c229bf0d15 -SIZE (subversion/subversion-1.6.13.tar.bz2) = 5513370 -MD5 (subversion/svn-book-html.tar.bz2) = b5c8723bf2951e93bc468441ebc71011 +SHA256 (subversion/subversion-1.6.15.tar.bz2) = b2919d603a5f3c19f42e3265c4b930e2376c43b3969b90ef9c42b2f72d5aaa45 +SIZE (subversion/subversion-1.6.15.tar.bz2) = 5515056 SHA256 (subversion/svn-book-html.tar.bz2) = 5c4788e1f225b3186db5979b071fcc4c9543bfb5916cd62e003eea4507b8c8cb SIZE (subversion/svn-book-html.tar.bz2) = 406484 -MD5 (subversion/svn-book.pdf) = a2d503ce36f6a72a8f136a127f3e14d3 SHA256 (subversion/svn-book.pdf) = 64e483cd27be6752eb8dfc1b00749f8dc46adfc4fb1ab1356dd8e2406d878225 SIZE (subversion/svn-book.pdf) = 1671317 -MD5 (subversion/svn_hacks_1.4.diff) = 14090c8c4a3b4cbb2c9e32d0f6104fec SHA256 (subversion/svn_hacks_1.4.diff) = 94ce0682d86aece56eee955b1af0595866faaddb9863390be4cbc2d32d791882 SIZE (subversion/svn_hacks_1.4.diff) = 18107 diff --git a/devel/subversion16/files/patch-configure b/devel/subversion16/files/patch-configure index ca1fd0253976..28d6e19ffcf8 100644 --- a/devel/subversion16/files/patch-configure +++ b/devel/subversion16/files/patch-configure @@ -1,6 +1,35 @@ ---- configure.orig 2009-07-09 17:23:21.000000000 +0400 -+++ configure 2009-07-09 17:25:20.000000000 +0400 -@@ -27683,7 +27683,10 @@ +--- configure.orig 2010-11-23 17:33:28.000000000 +0300 ++++ configure 2010-11-25 01:47:25.000000000 +0300 +@@ -21458,8 +21458,8 @@ + fi + + if test "$withval" = "yes"; then +- if test "$apu_db_version" != "4"; then +- as_fn_error "APR-UTIL wasn't linked against Berkeley DB 4, ++ if test "$apu_db_version" != "4" -a "$apu_db_version" != "5"; then ++ as_fn_error "APR-UTIL wasn't linked against Berkeley DB 4 or 5, + while the fs component is required. Reinstall + APR-UTIL with the appropiate options." "$LINENO" 5 + fi +@@ -21467,7 +21467,7 @@ + status=required + + elif test "$apu_found" != "reconfig"; then +- if test "$apu_db_version" != 4; then ++ if test "$apu_db_version" != 4 -a "$apu_db_version" != "5"; then + as_fn_error "APR-UTIL was installed independently, it won't be + possible to use the specified Berkeley DB: $withval" "$LINENO" 5 + fi +@@ -21513,7 +21513,7 @@ + whether apr-util is linked against Berkeley DB + $db_version" >&2;} + status=try-link +- elif test "$apu_db_version" != "4"; then ++ elif test "$apu_db_version" != "4" -a "$apu_db_version" != "5"; then + status=skip + else + status=try-link +@@ -23801,7 +23801,10 @@ if test "$RUBY" != "none"; then @@ -11,4 +40,4 @@ + if "$RUBY" -r mkmf -e 'with_ldflags("'"$PTHREAD_LIBS"'") { exit(have_func("rb_hash_foreach") ? 0 : 1) }'; then # Extract the first word of "rdoc", so it can be a program name with args. set dummy rdoc; ac_word=$2 - { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |