Re: RCS 5.9.0 does not compile on Solaris

Thien-Thi Nguyen <[email protected]> Tue, 04 Jun 2013 11:20:21 +0200
Newsgroups gmane.comp.version-control.rcs.bugs
Message-ID <[email protected]>
() Jörn Clausen <[email protected]>
() Tue, 04 Jun 2013 10:01:10 +0200

   extract-help now sets a positive return value, so make stops:

   [...]
   $ .../rcs-5.9.0/src> echo $?
   1

   which probably means, that the last condition in the script still
   does not work as expected. The line

   #include "b-yacmd.h"

   is still not included in the help file.

How about if you add "exit 0" as the last command in extract-help?

   The solution in pkgsrc (which is the source of this software for me)
   was to switch to ksh:

   $ .../rcs-5.9.0/src> ksh ../build-aux/extract-help -o ci.help ci.c
   $ .../rcs-5.9.0/src> echo $?
   0

   which also generates the correct include line.

OK.  I'll keep this (Solaris) sh/ksh difference in mind.

   In the end, the pkgsrc maintainer decided not to use the generated
   man-pages at all, but to install the pregenerated ones:

    * Do not make man pages, use shipped version.
      Generating man pages required groff's soelim and pic.

That's a different issue altogether.  But anyway, i'm glad the
pregenerated manpages pass muster w/ the pkgsrc maintainer.

-- 
Thien-Thi Nguyen
GPG key: 4C807502
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAlGtsVkACgkQZwMiJEyAdQKrLwCgpDQucvg3sobKEUvE+KXuIPl8
QSAAn1YMzlgxX9F844f51QB5gP0YBFg5
=UKIQ
-----END PGP SIGNATURE-----