You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Sander Striker <st...@apache.org> on 2002/04/12 10:04:03 UTC

[PATCH] mod_dav_svn instead of libmod_dav_svn

This has been bothering me for a while now.  Might aswell
scratch this itch.

Comments?

Sander

Log:
* (build.conf): Rename libmod_dav_svn target to mod_dav_svn.
    Pass -module to libtool to keep it happy; it won't except
    names starting with anything else than 'lib' otherwise.

* build/

  (gen_base.py): Adjust to the above change on install.

Index: ./build.conf
===================================================================
--- ./build.conf
+++ ./build.conf        Fri Apr 12 11:37:53 2002
@@ -152,12 +152,13 @@
 libs = libsvn_delta libsvn_subr $(SVN_APR_LIBS)

 # Subversion plugin for Apache's mod_dav
-[libmod_dav_svn]
+[mod_dav_svn]
 type = lib
 path = subversion/mod_dav_svn
 libs = libsvn_repos libsvn_fs libsvn_delta libsvn_subr
 # we don't need the .so version stuff for an Apache module, so avoid them
-link-flags = -avoid-version
+# pass -module to allow name to start with something else than 'lib'
+link-flags = -avoid-version -module
 # need special build rules to include the Apache headers
 custom = apache-mod
 install = apache-mod
Index: ./build/gen_base.py
===================================================================
--- ./build/gen_base.py
+++ ./build/gen_base.py Fri Apr 12 11:45:47 2002
@@ -213,7 +213,7 @@
           # cd to dirname before install to work around libtool 1.4.2 bug.
           dirname, fname = os.path.split(file)
           base, ext = os.path.splitext(fname)
-          name = string.replace(base, 'libmod_', '')
+          name = string.replace(base, 'mod_', '')
           self.ofile.write('\tcd %s ; $(INSTALL_MOD_SHARED) -n %s %s\n'
                            % (dirname, name, fname))
           if ext == '.la':

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] mod_dav_svn instead of libmod_dav_svn

Posted by Greg Stein <gs...@lyra.org>.
On Fri, Apr 12, 2002 at 12:04:03PM +0200, Sander Striker wrote:
> This has been bothering me for a while now.  Might aswell
> scratch this itch.
> 
> Comments?
> 
> Sander
> 
> Log:
> * (build.conf): Rename libmod_dav_svn target to mod_dav_svn.
>     Pass -module to libtool to keep it happy; it won't except
>     names starting with anything else than 'lib' otherwise.


+1

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: [PATCH] mod_dav_svn instead of libmod_dav_svn

Posted by Justin Erenkrantz <je...@apache.org>.
On Fri, Apr 12, 2002 at 12:04:03PM +0200, Sander Striker wrote:
> This has been bothering me for a while now.  Might aswell
> scratch this itch.
> 
> Comments?
> 
> Sander
> 
> Log:
> * (build.conf): Rename libmod_dav_svn target to mod_dav_svn.
>     Pass -module to libtool to keep it happy; it won't except
>     names starting with anything else than 'lib' otherwise.

+1.  -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org