[kde-freebsd] Removal of gnu-autoconf/make

Michael Nottebrock lofi at freebsd.org
Tue Aug 14 15:54:10 CEST 2007


Adriaan de Groot schrieb:
> tosti386$pkg_info  | grep auto
> autoconf-wrapper-20070404 Wrapper script for GNU autoconf
> automake-wrapper-20070404 Wrapper script for GNU automake
> gnu-autoconf-2.61   Automatically configure source code on many Un*x platforms
> gnu-automake-1.10   GNU Standards-compliant Makefile generator (GNU 
> unmodified)
> tosti386$automake
> automake: not installed
> tosti386$autoconf
> autoconf: not installed
> tosti386$aclocal
> aclocal: not installed
>   
That looks a little screwy - you only have the wrapper, but none of the
actual autotools ports (except the gnu ones, which this whole thing is
meant to make obsolete) installed. The next big portupgrade you do will
probably fix this, see also /usr/ports/UPDATING, entry 20070727.
> So there's one problem to start with, if we ever wanted gnu-auto* as a 
> dependency for kdevelop. The next problem occurs because the script 
> detects -wrapper as a valid suffix for the auto* (like -1.10 or 2.53 would 
> be) and sorts that to the end; that's then the "best" suffix and it goes on 
> to look for aclocal-wrapper, which we don't have.
>
> Patch attached. Committed in KDE SVN, too.
>
>
>
>
>
>   
> ------------------------------------------------------------------------
>
> Index: detect-autoconf.pl
> ===================================================================
> --- detect-autoconf.pl	(revision 699975)
> +++ detect-autoconf.pl	(working copy)
> @@ -46,6 +46,8 @@
>  
>  	    ($version) = $file =~ /$prefix\/$program-?(.*)$/;
>  	    $version =~ s/-|\.//g;
> +	    # Don't check the -wrapper ones
> +	    next if $version eq "wrapper";
>  
>  	    # Special case some programs to make sure it has a minimum version.
>  	    if (not $version and exists $minimumVersions{$program})
>   
Okay, I guess I will have to patch detect-autoconf.pl in the appwizard
templates after all then. Just to make sure though, does the script now
preferrably go with unsuffixed auto* if it finds them? That's what we
want, ideally (I can only test later tonight).

Cheers,
-- 
   ,_,   | Michael Nottebrock               | lofi at freebsd.org
 (/^ ^\) | FreeBSD - The Power to Serve     | http://www.freebsd.org
   \u/   | K Desktop Environment on FreeBSD | http://freebsd.kde.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-freebsd/attachments/20070814/bbbbf978/attachment.pgp 


More information about the kde-freebsd mailing list