pkgsrc/devel/diffutils/Makefile
mef ba1e16aa0e Updated devel/diffutils to 3.4
------------------------------
* Noteworthy changes in release 3.4 (2016-08-08) [stable]

** New features

   diff accepts two new options --color and --palette to generate
   and configure colored output.  --color takes an optional argument
   specifying when to colorize a line: --color=always, --color=auto,
   --color=never.  --palette is used to configure which colors are used.

** Bug fixes

  When binary files differ, diff now exits with status 1 as POSIX requires.
  Formerly it exited with status 2.

  Unless the --ignore-file-name-case option is used, diff now
  considers file names to be equal only if they are byte-for-byte
  equivalent.  This fixes a bug where diff in an English locale might
  consider two Asian file names to be the same merely because they
  contain no English characters.

  diff -B no longer generates incorrect output if the two inputs
  each end with a one-byte incomplete line.

  diff --brief no longer reports a difference for unusual identical files.
  For example, when comparing a file like /proc/cmdline (for which the linux
  kernel reports st_size of 0 even though it is not an empty file) to a
  copy of that file's contents residing on a "normal" file system:
    $ f=/proc/cmdline; cp $f k; diff --brief $f k
    Files /proc/cmdline and k differ

** Performance changes

  diff's default algorithm has been adjusted to output higher-quality
  results at somewhat greater computational cost, as CPUs have gotten
  faster since the algorithm was last tweaked in diffutils-2.6 (1993).

(pkgsrc changes)
- Add comments on patches, picking from (old) cvs log
2016-08-09 13:35:28 +00:00

35 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.36 2016/08/09 13:35:28 mef Exp $
#
DISTNAME= diffutils-3.4
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=diffutils/}
EXTRACT_SUFX= .tar.xz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/diffutils/diffutils.html
COMMENT= GNU diff utilities - find the differences between files
LICENSE= gnu-gpl-v2
GNU_CONFIGURE= YES
INFO_FILES= YES # PLIST
CONFIGURE_ARGS+= --program-prefix=g
CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes
CONFIGURE_ENV.SunOS+= ac_cv_sys_xsi_stack_overflow_heuristic=no
AUTO_MKDIRS= yes
SUBST_CLASSES+= diff
SUBST_STAGE.diff= pre-configure
SUBST_FILES.diff= src/Makefile.in
SUBST_SED.diff= -e 's;%DEFAULT_DIFF_PROGRAM%;${PREFIX}/bin/gdiff;'
post-install:
.for f in cmp diff diff3 sdiff
${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/${PKGGNUDIR}bin/${f}
${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/${PKGGNUDIR}${PKGMANDIR}/man1/${f}.1
.endfor
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"