Subject: Re: subversion: /usr/bin/ld: cannot find -lsvn_subr-1
To: Jeremy C. Reed <reed@reedmedia.net>
From: Johnny C. Lam <jlam@NetBSD.org>
List: tech-pkg
Date: 03/23/2004 19:02:44
--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
On Tue, Mar 23, 2004 at 08:22:42AM -0800, Jeremy C. Reed wrote:
> On Tue, 23 Mar 2004, Johnny C. Lam wrote:
>
> > > -lsvn_subr-1 -Wl,-R/usr/gcc3/lib/gcc-lib/i386-pc-linux/3.3.3 -Wl,-soname
> > > -Wl,mod_authz_svn.so -o .libs/mod_authz_svn.so
> >
> > Why is your subversion_base package trying to build the mod_authz_svn
> > Apache module? My build of subversion_base doesn't do that.
>
> Thank you, Johnny, for the clue.
>
> I uninstalled the apache-2.0.49 package and then subversion-base built
> fine (after I did a make clean first).
>
> I carbon-coped this to the pkgsrc/devel/subversion-base maintainer.
> Eric: do you know about this problem?
I had some time today to take a closer look at the subversion-base
package. I believe the attached patch will work, but I can't test
the patch locally. Can you please let me know if it fixes the problem
you saw?
Thanks,
-- Johnny Lam <jlam@NetBSD.org>
--ew6BAiZeqk4r7MaW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="svn.diff"
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/subversion-base/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 8 Mar 2004 00:15:53 -0000 1.10
+++ Makefile 23 Mar 2004 19:01:55 -0000
@@ -7,6 +7,9 @@
.include "../subversion/Makefile.common"
+CONFIGURE_ARGS+= --without-apache
+CONFIGURE_ARGS+= --without-apxs
+
post-patch:
${SED} -e 's|@BUILDLINK_PREFIX.db4@|${BUILDLINK_PREFIX.db4}|g' \
< ${WRKSRC}/tools/backup/hot-backup.py.in \
--ew6BAiZeqk4r7MaW--