Hi,

Subversion 1.4.6 is difficult to compile with libtool 2.2.4.
Gentoo managed to figure out how to build it:

https://bugs.gentoo.org/show_bug.cgi?id=212718

Maybe I could fix it, but I won't unless you ask me to.
This problem compiling subversion with libtool 2.2.4 should
be fixed later hopefully in a new subversion release.

Also sed fails to compile with libtool 2.2.4.  The fix
for that is below, I do not intend to commit it.

Or a workaround in case anyone want to try building
libtool 2.2.4 in KBE for some reason is:

(1) Place the following line in ~/.pkgbuildmacros

%_with_libtool_v2 1

(2) pkgrm KBElibtool

(3) Run:

kbe-install

When it says:

The following packages belong to an obsolete version of the KDE KBE.

...

Would you like to uninstall them? [yes]: no

answer: no

(4) When it says:

Package KBEpkgbuild is already installed.
Would you like uninstall it? [yes]: no

Answer: no

(5) Then just take the defaults:

Would you like skip to the next package? [yes]: 
Always skip packages that are already installed? [yes]: 

Please note though that subversion was recently added
to FOSS (as in, Dude/SUBVERSION and Dude/SPECS/subversion.pspc),
and it will not compile with libtool 2.2.4 at present.
(Would require either a new subversion release that works
wtih libtool 2.2.4, or patching around the libtool 2.2.4
issue with subversion).

Thanks, Mark

This is just a fix for compiling KBEsed with libtool 2.2.4,
which is kind of useless at the moment without a fix
for the subversion libtool 2.2.4 build failure.

goanna% diff -wc Dude/KBE/sed.spec.orig Dude/KBE/sed.spec
*** Dude/KBE/sed.spec.orig      Wed May 28 07:53:54 2008
--- Dude/KBE/sed.spec   Mon Jun 23 00:51:59 2008
***************
*** 9,14 ****
--- 9,16 ----
  %include opt_flags.inc
  %include svr4.inc
  
+ %define option_with_libtool_v2
%{?_with_libtool_v2:1}%{?!_with_libtool_v2:0}
+ 
  Name:                KBEsed
  Summary:             KDE KBE: GNU Stream Editor
  Group:                     system/kbe
***************
*** 36,45 ****
--- 38,51 ----
  export LDFLAGS="%ldflags"
  
  glib-gettextize -f 
+ %if %option_with_libtool_v2
+ autoreconf --install --force
+ %else
  libtoolize --copy --force
  aclocal -I config
  autoheader
  autoconf
+ %endif
  if test -f mkinstalldirs ; then /usr/bin/true ; else ( echo
"#! /bin/sh" ; echo "/usr/bin/mkdir -p \"\...@\"" ) > mkinstalldirs ; fi
chmod 755 mkinstalldirs 
goanna% 

-- 

Reply via email to