Subject: devel/automake/patches/patch-ab weirdness
To: None <tech-pkg@netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: tech-pkg
Date: 10/12/2002 17:08:05
--PEIAKu/WMn1b1Hv9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

hi,

can someone please confirm that hardcoding MAKEINFO in the patch is only a
mistake (and fix it) or shed some light on what is the purpose of doing it =
this
way?

it prevents systems which doesn't have /usr/bin/makeinfo (e.g. Solaris) from
building this package.  the same for /usr/bin/install-info.


$NetBSD: patch-ab,v 1.1.1.1 2002/10/03 19:26:12 wiz Exp $

--- Makefile.in.orig    Sat Jul 27 23:09:40 2002
+++ Makefile.in
@@ -59,7 +59,7 @@ PRE_UNINSTALL =3D :

=2E..

-MAKEINFO =3D @MAKEINFO@
+MAKEINFO =3D /usr/bin/makeinfo

=2E..

-       @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i d=
ebian' >/dev/null 2>&1; then \
-         list=3D'$(INFO_DEPS)'; \
-         for file in $$list; do \
-           echo " install-info --info-dir=3D$(DESTDIR)$(infodir) $(DESTDIR=
)$(infodir)/$$file";\
-           install-info --info-dir=3D$(DESTDIR)$(infodir) $(DESTDIR)$(info=
dir)/$$file || :;\
-         done; \
+       @if $(SHELL) -c '/usr/bin/install-info --version | sed 1q | fgrep -=
s -v -i debian' >/dev/null 2>&1; then \
+           echo " /usr/bin/install-info --info-dir=3D$(DESTDIR)$(infodir) =
$(DESTDIR)$(infodir)/automake14.info";\
+           /usr/bin/install-info --info-dir=3D$(DESTDIR)$(infodir) $(DESTD=
IR)$(infodir)/automake14.info || :;\
        else : ; fi

=2E..

-       @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i d=
ebian' >/dev/null 2>&1; then \
+       @if $(SHELL) -c '/usr/bin/install-info --version | sed 1q | fgrep -=
s -v -i debian' >/dev/null 2>&1; then \

=2E..

-           || install-info --info-dir=3D$(DESTDIR)$(infodir) --remove $$fi=
le; \
+           || /usr/bin/install-info --info-dir=3D$(DESTDIR)$(infodir) --re=
move $$file; \


regards,


--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org>   ASCII Ribbon campaign against  /"\=
 --
--                  <salo@silcnet.org>   e-mail in gratuitous HTML and  \ /=
 --
--                                       Microsoft proprietary formats   X =
 --
-- PGPkey: http://Xtrmntr.org/salo.pgp                                  / \=
 --
-- Key Fingerprint: 75B2 2B96 CD75 0385 1C49  39B8 8B08 C30E 54BC 7263     =
 --

--PEIAKu/WMn1b1Hv9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (NetBSD)

iD8DBQE9qDrViwjDDlS8cmMRAmIPAKCABBfXmvHIOoJpo9nJIkpRKNKC/wCfVHGI
ejcHjGH3nqJJB4gbo6+kTkg=
=p8jW
-----END PGP SIGNATURE-----

--PEIAKu/WMn1b1Hv9--