summaryrefslogtreecommitdiff
path: root/devel/libtool/patches/manual.README
blob: 3378d6381308951ee3c32079c12110c86bbc9eb2 (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
$NetBSD: manual.README,v 1.3 2004/04/21 14:55:32 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 configure
cd work*/libtool-*
cat /usr/pkgsrc/devel/libtool/patches/manual-* | patch -s

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

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
cvs commit

=====

- tv@duh.org, 20 Apr 2004