pkgsrc/devel/libtool/patches/manual.README
2006-03-02 18:50:17 +00:00

53 lines
2 KiB
Text

$NetBSD: manual.README,v 1.9 2006/03/02 18:50:17 tv Exp $
************************************************************************
**** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***
Currently (as of libtool 1.5.22), libtool requires "autoconf 2.59c", a
pre-release build of Autoconf. The instructions below should still be
followed, but Autoconf must be built from its CVS sources of at least
"-D2005/12/01". Ensure that PATH is set appropriately to include that
version's install directory first. Once autoconf 2.60 is released and
pkgsrc is updated to use it, this hack will no longer be required.
**** WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING ***
************************************************************************
The "manual-*" patch files are used to maintain the pkgsrc version of
libtool. These files contain patches for the .m4 files in libtool which are
used to generate libtool's own "configure" scripts.
These patches are not part of the automatic patches because libtool also
installs these .m4 files at runtime, and we want the "off-the-shelf"
versions of those files used instead -- we do NOT want the modified
libtool.m4 copied into third party packages for reproducability and GPL
reasons. So, when it comes time to update libtool, the following process
must be used:
=====
cd /usr/pkgsrc/devel/libtool-base
make extract # not "make patch"
cd work*/libtool-*
cat /usr/pkgsrc/devel/libtool/patches/manual-* | patch -s
[edit *.m4 files and put patches back to manual-*]
cp -f configure configure.orig
cp -f libltdl/configure libltdl/configure.orig
./configure
aclocal && make ./configure
pkgdiff configure >/usr/pkgsrc/devel/libtool/patches/patch-ab
cp -f acinclude.m4 libltdl/
(cd libltdl && aclocal && make ./configure)
pkgdiff libltdl/configure >/usr/pkgsrc/devel/libtool/patches/patch-ad
cd /usr/pkgsrc/devel/libtool
make makepatchsum
[clean and test new libtool-base]
[bump PKGREVISION of libtool-base and commit libtool & libtool-base dirs]
=====
- tv@duh.org, 30 Jan 2006