pkgsrc/devel/rcs/Makefile
wiz b3aed71f25 Update to 5.9.2:
- 5.9.2 | 2013-11-28

  - bugfixes

    - avoid possibly failing command in backticks

      Some versions of Solaris /bin/sh would cause the extract-help
      build script to exit failurefully when the grep command in the
      backticks failed (in the presence of "set -e").  Sigh.

    - handle low-memory situations like RCS 5.7 (mostly)

      For reading comma-v files, RCS 5.7 tries mmap(2), in-core
      snarfing, and stdio access, falling back to slower methods
      on failure of the faster method.  RCS 5.8 maintained the order,
      but did not fall back; on failure, it gave up immediately.
      This change was originally viewed as a feature, but lately it
      seemed more like a bug.

      Now, RCS 5.7 behavior is for the most part restored.  The
      exception is when env var ‘RCS_MEM_LIMIT’ is set; in that case,
      failure of a fast method does not fall back to the slower one.

  - default for env var ‘RCS_MEM_LIMIT’ relaxed

    This used to be 256 kilobytes, a reasonable value a long time
    ago, but ridiculously low nowadays.  Now, it is "unlimited",
    which is more in line w/ the GNU philosophy, anyway:

     (info "(standards) Semantics")

    Since the env var is mostly intended for testing RCS, you can
    normally leave it unset.  (Probably it will be removed in a
    future release.)

  - maintenance tools updated
    - automake (GNU automake) 1.14
    - gnulib-tool (GNU gnulib 2013-11-28 08:46:06) 0.1.21-37f8a
2013-11-29 18:23:45 +00:00

39 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.37 2013/11/29 18:23:45 wiz Exp $
DISTNAME= rcs-5.9.2
CATEGORIES= devel scm
MASTER_SITES= ${MASTER_SITE_GNU:=rcs/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.cs.purdue.edu/homes/trinkle/RCS/
COMMENT= GNU Revision Control System - version control software
LICENSE= gnu-gpl-v3
USE_TOOLS+= gmake
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS" || ${OPSYS} == "OSF1" || ${OPSYS} == "AIX" || ${OPSYS} == "Minix"
DEPENDS+= diffutils>=2.7:../../devel/diffutils
CONFIGURE_ARGS+= --with-diffutils
# the native diff/diff3 is not sufficient for rcs
TOOLS_PLATFORM.diff= ${LOCALBASE}/bin/gdiff
.endif
GNU_CONFIGURE= yes
CONFIGURE_ENV+= PATH=${LOCALBASE}/bin:"$$PATH"
REPLACE_SH= build-aux/extract-help
INFO_FILES= yes
# configure will be modified by pkgsrc framework with timestamp update.
# sync timestamp with man/REL to avoid regeneration of man.
post-configure:
${TOUCH} -r ${WRKSRC}/man/REL ${WRKSRC}/configure
post-install:
${LN} -s ${DESTDIR}${PREFIX}/bin/rlog ${DESTDIR}${PREFIX}/bin/rcslog
${LN} -s ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/rlog.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/rcslog.1
.include "../../mk/bsd.pkg.mk"