34935b386b
** New features When one file is a prefix of the other, cmp now appends the shorter file's size to the EOF diagnostic. ** Bug fixes Using an invalid regular expression with --ignore-matching-lines=RE (-I) no longer causes stack overflow. Before, with an invocation like the following, diff would diagnose the error, but would still proceed to blow the stack: diff -Ia -I\\ <(echo) <(echo b) [bug introduced in 2.9] diff no longer mishandles line numbers exceeding 2**31 on Mingw-w64. the ---presume-output-tty (ostensibly test-only) option would cause diff --color to read an uninitialized variable [bug introduced in 3.4] ** Performance changes diff's default algorithm has been tweaked to deal better with larger files, reversing some of the changes made in diffutils-3.4.
32 lines
1 KiB
Makefile
32 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.38 2017/09/08 09:42:34 adam Exp $
|
|
|
|
DISTNAME= diffutils-3.6
|
|
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
|
|
|
|
AUTO_MKDIRS= yes
|
|
INFO_FILES= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --program-prefix=g
|
|
CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes
|
|
CONFIGURE_ENV.SunOS+= ac_cv_sys_xsi_stack_overflow_heuristic=no
|
|
|
|
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"
|