summaryrefslogtreecommitdiff
path: root/devel/libtool/patches/manual.README
blob: ec087c381823bd879f8c968f5bb96914642c22cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
$NetBSD: manual.README,v 1.6 2005/01/18 18:44:14 tv Exp $

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.  So, when it comes time to update
libtool, the following process should be used:

=====

cd /usr/pkgsrc/devel/libtool-base
make patch
cd work*/libtool-*
cat /usr/pkgsrc/devel/libtool/patches/manual-* | patch -s

[edit *.m4 files and put patches back to manual-*]

./configure
make ./configure
pkgdiff configure >/usr/pkgsrc/devel/libtool/patches/patch-ab
cp -f acinclude.m4 libltdl/
(cd libltdl && 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, 4 Oct 2004