head	1.44;
access;
symbols
	pkgsrc-2026Q1:1.44.0.16
	pkgsrc-2026Q1-base:1.44
	pkgsrc-2025Q4:1.44.0.14
	pkgsrc-2025Q4-base:1.44
	pkgsrc-2025Q3:1.44.0.12
	pkgsrc-2025Q3-base:1.44
	pkgsrc-2025Q2:1.44.0.10
	pkgsrc-2025Q2-base:1.44
	pkgsrc-2025Q1:1.44.0.8
	pkgsrc-2025Q1-base:1.44
	pkgsrc-2024Q4:1.44.0.6
	pkgsrc-2024Q4-base:1.44
	pkgsrc-2024Q3:1.44.0.4
	pkgsrc-2024Q3-base:1.44
	pkgsrc-2024Q2:1.44.0.2
	pkgsrc-2024Q2-base:1.44
	pkgsrc-2024Q1:1.42.0.10
	pkgsrc-2024Q1-base:1.42
	pkgsrc-2023Q4:1.42.0.8
	pkgsrc-2023Q4-base:1.42
	pkgsrc-2023Q3:1.42.0.6
	pkgsrc-2023Q3-base:1.42
	pkgsrc-2023Q2:1.42.0.4
	pkgsrc-2023Q2-base:1.42
	pkgsrc-2023Q1:1.42.0.2
	pkgsrc-2023Q1-base:1.42
	pkgsrc-2022Q4:1.41.0.6
	pkgsrc-2022Q4-base:1.41
	pkgsrc-2022Q3:1.41.0.4
	pkgsrc-2022Q3-base:1.41
	pkgsrc-2022Q2:1.41.0.2
	pkgsrc-2022Q2-base:1.41
	pkgsrc-2022Q1:1.40.0.18
	pkgsrc-2022Q1-base:1.40
	pkgsrc-2021Q4:1.40.0.16
	pkgsrc-2021Q4-base:1.40
	pkgsrc-2021Q3:1.40.0.14
	pkgsrc-2021Q3-base:1.40
	pkgsrc-2021Q2:1.40.0.12
	pkgsrc-2021Q2-base:1.40
	pkgsrc-2021Q1:1.40.0.10
	pkgsrc-2021Q1-base:1.40
	pkgsrc-2020Q4:1.40.0.8
	pkgsrc-2020Q4-base:1.40
	pkgsrc-2020Q3:1.40.0.6
	pkgsrc-2020Q3-base:1.40
	pkgsrc-2020Q2:1.40.0.4
	pkgsrc-2020Q2-base:1.40
	pkgsrc-2020Q1:1.40.0.2
	pkgsrc-2020Q1-base:1.40
	pkgsrc-2019Q4:1.39.0.6
	pkgsrc-2019Q4-base:1.39
	pkgsrc-2019Q3:1.39.0.2
	pkgsrc-2019Q3-base:1.39
	pkgsrc-2019Q2:1.38.0.18
	pkgsrc-2019Q2-base:1.38
	pkgsrc-2019Q1:1.38.0.16
	pkgsrc-2019Q1-base:1.38
	pkgsrc-2018Q4:1.38.0.14
	pkgsrc-2018Q4-base:1.38
	pkgsrc-2018Q3:1.38.0.12
	pkgsrc-2018Q3-base:1.38
	pkgsrc-2018Q2:1.38.0.10
	pkgsrc-2018Q2-base:1.38
	pkgsrc-2018Q1:1.38.0.8
	pkgsrc-2018Q1-base:1.38
	pkgsrc-2017Q4:1.38.0.6
	pkgsrc-2017Q4-base:1.38
	pkgsrc-2017Q3:1.38.0.4
	pkgsrc-2017Q3-base:1.38
	pkgsrc-2017Q2:1.37.0.4
	pkgsrc-2017Q2-base:1.37
	pkgsrc-2017Q1:1.37.0.2
	pkgsrc-2017Q1-base:1.37
	pkgsrc-2016Q4:1.36.0.4
	pkgsrc-2016Q4-base:1.36
	pkgsrc-2016Q3:1.36.0.2
	pkgsrc-2016Q3-base:1.36
	pkgsrc-2016Q2:1.35.0.4
	pkgsrc-2016Q2-base:1.35
	pkgsrc-2016Q1:1.35.0.2
	pkgsrc-2016Q1-base:1.35
	pkgsrc-2015Q4:1.34.0.10
	pkgsrc-2015Q4-base:1.34
	pkgsrc-2015Q3:1.34.0.8
	pkgsrc-2015Q3-base:1.34
	pkgsrc-2015Q2:1.34.0.6
	pkgsrc-2015Q2-base:1.34
	pkgsrc-2015Q1:1.34.0.4
	pkgsrc-2015Q1-base:1.34
	pkgsrc-2014Q4:1.34.0.2
	pkgsrc-2014Q4-base:1.34
	pkgsrc-2014Q3:1.33.0.12
	pkgsrc-2014Q3-base:1.33
	pkgsrc-2014Q2:1.33.0.10
	pkgsrc-2014Q2-base:1.33
	pkgsrc-2014Q1:1.33.0.8
	pkgsrc-2014Q1-base:1.33
	pkgsrc-2013Q4:1.33.0.6
	pkgsrc-2013Q4-base:1.33
	pkgsrc-2013Q3:1.33.0.4
	pkgsrc-2013Q3-base:1.33
	pkgsrc-2013Q2:1.33.0.2
	pkgsrc-2013Q2-base:1.33
	pkgsrc-2013Q1:1.30.0.4
	pkgsrc-2013Q1-base:1.30
	pkgsrc-2012Q4:1.30.0.2
	pkgsrc-2012Q4-base:1.30
	pkgsrc-2012Q3:1.28.0.4
	pkgsrc-2012Q3-base:1.28
	pkgsrc-2012Q2:1.28.0.2
	pkgsrc-2012Q2-base:1.28
	pkgsrc-2012Q1:1.25.0.2
	pkgsrc-2012Q1-base:1.25
	pkgsrc-2011Q4:1.24.0.6
	pkgsrc-2011Q4-base:1.24
	pkgsrc-2011Q3:1.24.0.4
	pkgsrc-2011Q3-base:1.24
	pkgsrc-2011Q2:1.24.0.2
	pkgsrc-2011Q2-base:1.24
	pkgsrc-2011Q1:1.23.0.18
	pkgsrc-2011Q1-base:1.23
	pkgsrc-2010Q4:1.23.0.16
	pkgsrc-2010Q4-base:1.23
	pkgsrc-2010Q3:1.23.0.14
	pkgsrc-2010Q3-base:1.23
	pkgsrc-2010Q2:1.23.0.12
	pkgsrc-2010Q2-base:1.23
	pkgsrc-2010Q1:1.23.0.10
	pkgsrc-2010Q1-base:1.23
	pkgsrc-2009Q4:1.23.0.8
	pkgsrc-2009Q4-base:1.23
	pkgsrc-2009Q3:1.23.0.6
	pkgsrc-2009Q3-base:1.23
	pkgsrc-2009Q2:1.23.0.4
	pkgsrc-2009Q2-base:1.23
	pkgsrc-2009Q1:1.23.0.2
	pkgsrc-2009Q1-base:1.23
	pkgsrc-2008Q4:1.22.0.2
	pkgsrc-2008Q4-base:1.22
	pkgsrc-2008Q3:1.21.0.8
	pkgsrc-2008Q3-base:1.21
	cube-native-xorg:1.21.0.6
	cube-native-xorg-base:1.21
	pkgsrc-2008Q2:1.21.0.4
	pkgsrc-2008Q2-base:1.21
	cwrapper:1.21.0.2
	pkgsrc-2008Q1:1.20.0.14
	pkgsrc-2008Q1-base:1.20
	pkgsrc-2007Q4:1.20.0.12
	pkgsrc-2007Q4-base:1.20
	pkgsrc-2007Q3:1.20.0.10
	pkgsrc-2007Q3-base:1.20
	pkgsrc-2007Q2:1.20.0.8
	pkgsrc-2007Q2-base:1.20
	pkgsrc-2007Q1:1.20.0.6
	pkgsrc-2007Q1-base:1.20
	pkgsrc-2006Q4:1.20.0.4
	pkgsrc-2006Q4-base:1.20
	pkgsrc-2006Q3:1.20.0.2
	pkgsrc-2006Q3-base:1.20
	pkgsrc-2006Q2:1.18.0.2
	pkgsrc-2006Q2-base:1.18
	pkgsrc-2006Q1:1.17.0.2
	pkgsrc-2006Q1-base:1.17
	pkgsrc-2005Q4:1.16.0.2
	pkgsrc-2005Q4-base:1.16
	pkgsrc-2005Q3:1.14.0.12
	pkgsrc-2005Q3-base:1.14
	pkgsrc-2005Q2:1.14.0.10
	pkgsrc-2005Q2-base:1.14
	pkgsrc-2005Q1:1.14.0.8
	pkgsrc-2005Q1-base:1.14
	pkgsrc-2004Q4:1.14.0.6
	pkgsrc-2004Q4-base:1.14
	pkgsrc-2004Q3:1.14.0.4
	pkgsrc-2004Q3-base:1.14
	pkgsrc-2004Q2:1.14.0.2
	pkgsrc-2004Q2-base:1.14
	pkgsrc-2004Q1:1.13.0.4
	pkgsrc-2004Q1-base:1.13
	pkgsrc-2003Q4:1.13.0.2
	pkgsrc-2003Q4-base:1.13
	netbsd-1-6-1:1.9.0.2
	netbsd-1-6-1-base:1.9
	netbsd-1-6:1.7.0.8
	netbsd-1-6-RELEASE-base:1.7
	pkgviews:1.7.0.4
	pkgviews-base:1.7
	buildlink2:1.7.0.2
	buildlink2-base:1.7
	netbsd-1-5-PATCH003:1.7
	netbsd-1-5-PATCH001:1.6
	netbsd-1-5-RELEASE:1.4
	netbsd-1-4-PATCH003:1.4
	netbsd-1-4-PATCH002:1.4
	comdex-fall-1999:1.4
	netbsd-1-4-PATCH001:1.4
	netbsd-1-4-RELEASE:1.2
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.44
date	2024.05.26.07.05.45;	author adam;	state Exp;
branches;
next	1.43;
commitid	PYzglpsFEZQ1HtbF;

1.43
date	2024.05.01.21.30.47;	author cheusov;	state Exp;
branches;
next	1.42;
commitid	ZWL3PhAmEHpIhl8F;

1.42
date	2023.02.18.22.54.35;	author fcambus;	state Exp;
branches;
next	1.41;
commitid	FHcMJcYHiiEiP3eE;

1.41
date	2022.04.12.14.24.16;	author nia;	state Exp;
branches;
next	1.40;
commitid	gyDT5PqdK9FZ1VzD;

1.40
date	2020.01.18.23.30.26;	author rillig;	state Exp;
branches;
next	1.39;
commitid	shGUwZfkr7sleeTB;

1.39
date	2019.07.07.18.02.43;	author schwarz;	state Exp;
branches;
next	1.38;
commitid	irehR98kweMfH8uB;

1.38
date	2017.09.08.09.42.34;	author adam;	state Exp;
branches;
next	1.37;
commitid	JSiyGXefLr8snn6A;

1.37
date	2017.01.04.14.04.30;	author mef;	state Exp;
branches;
next	1.36;
commitid	BfkiNTbvFFgkLEAz;

1.36
date	2016.08.09.13.35.28;	author mef;	state Exp;
branches;
next	1.35;
commitid	wtB1d0YpA4M8mDhz;

1.35
date	2016.02.25.12.12.47;	author jperkin;	state Exp;
branches;
next	1.34;
commitid	DLROVrVW2OU1fiWy;

1.34
date	2014.10.09.14.06.08;	author wiz;	state Exp;
branches;
next	1.33;
commitid	fBDATFVmQ3454xTx;

1.33
date	2013.05.30.16.31.33;	author richard;	state Exp;
branches;
next	1.32;
commitid	0Jbo80DeIUrJQFRw;

1.32
date	2013.05.24.11.40.52;	author richard;	state Exp;
branches;
next	1.31;
commitid	lKXZs1Z3NDkYqSQw;

1.31
date	2013.05.19.03.21.40;	author ryoon;	state Exp;
branches;
next	1.30;
commitid	DHqtY6WqylfDPbQw;

1.30
date	2012.12.06.11.40.58;	author jperkin;	state Exp;
branches;
next	1.29;

1.29
date	2012.10.31.11.16.53;	author asau;	state Exp;
branches;
next	1.28;

1.28
date	2012.06.02.08.18.35;	author cheusov;	state Exp;
branches;
next	1.27;

1.27
date	2012.05.29.21.01.25;	author cheusov;	state Exp;
branches;
next	1.26;

1.26
date	2012.04.07.16.30.05;	author schwarz;	state Exp;
branches;
next	1.25;

1.25
date	2012.03.09.13.11.05;	author fhajny;	state Exp;
branches;
next	1.24;

1.24
date	2011.04.22.13.43.17;	author obache;	state Exp;
branches;
next	1.23;

1.23
date	2009.03.10.14.06.06;	author apb;	state Exp;
branches;
next	1.22;

1.22
date	2008.11.24.08.02.16;	author obache;	state Exp;
branches;
next	1.21;

1.21
date	2008.06.12.02.14.22;	author joerg;	state Exp;
branches;
next	1.20;

1.20
date	2006.07.23.12.47.21;	author joerg;	state Exp;
branches;
next	1.19;

1.19
date	2006.07.20.17.09.14;	author minskim;	state Exp;
branches;
next	1.18;

1.18
date	2006.03.30.03.44.42;	author jlam;	state Exp;
branches;
next	1.17;

1.17
date	2006.03.04.21.29.14;	author jlam;	state Exp;
branches;
next	1.16;

1.16
date	2005.12.05.23.55.05;	author rillig;	state Exp;
branches;
next	1.15;

1.15
date	2005.12.05.20.50.03;	author rillig;	state Exp;
branches;
next	1.14;

1.14
date	2004.05.18.11.58.04;	author recht;	state Exp;
branches;
next	1.13;

1.13
date	2003.08.09.10.44.39;	author seb;	state Exp;
branches;
next	1.12;

1.12
date	2003.07.17.21.30.16;	author grant;	state Exp;
branches;
next	1.11;

1.11
date	2003.06.23.10.39.55;	author seb;	state Exp;
branches;
next	1.10;

1.10
date	2003.06.02.01.20.52;	author jschauma;	state Exp;
branches;
next	1.9;

1.9
date	2003.01.19.05.15.20;	author wiz;	state Exp;
branches;
next	1.8;

1.8
date	2002.12.22.17.39.07;	author wiz;	state Exp;
branches;
next	1.7;

1.7
date	2002.02.18.15.14.09;	author seb;	state Exp;
branches;
next	1.6;

1.6
date	2001.02.16.14.38.22;	author wiz;	state Exp;
branches;
next	1.5;

1.5
date	2001.01.13.16.17.48;	author tron;	state Exp;
branches;
next	1.4;

1.4
date	99.07.02.08.46.51;	author agc;	state Exp;
branches;
next	1.3;

1.3
date	99.05.24.20.39.37;	author tv;	state Exp;
branches;
next	1.2;

1.2
date	99.04.14.21.39.03;	author tron;	state Exp;
branches;
next	1.1;

1.1
date	99.03.12.15.38.07;	author agc;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.03.12.15.38.07;	author agc;	state Exp;
branches;
next	;


desc
@@


1.44
log
@diffutils: updated to 3.10

Noteworthy changes in release 3.10 (2023-05-21)

** Bug fixes

  cmp/diff can again work with file dates past Y2K38

  diff -D no longer fails to output #ifndef lines.
@
text
@# $NetBSD: Makefile,v 1.43 2024/05/01 21:30:47 cheusov Exp $

DISTNAME=	diffutils-3.10
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNU:=diffutils/}
EXTRACT_SUFX=	.tar.xz

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://www.gnu.org/software/diffutils/diffutils.html
COMMENT=	GNU diff utilities - find the differences between files
LICENSE=	gnu-gpl-v3

USE_TOOLS+=		gmake
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;'

.include "options.mk"

INSTALLATION_DIRS+=	${PKGGNUDIR}bin ${PKGGNUDIR}${PKGMANDIR}/man1

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 "../../mk/bsd.pkg.mk"
@


1.43
log
@Add option "nls" enabled by default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.42 2023/02/18 22:54:35 fcambus Exp $
d3 1
a3 1
DISTNAME=	diffutils-3.9
d13 1
a13 4
.include "../../mk/bsd.prefs.mk"
.include "options.mk"

AUTO_MKDIRS=		yes
d25 3
a27 1
USE_TOOLS+=		gmake
@


1.42
log
@diffutils: update to 3.9.

* Noteworthy changes in release 3.9 (2023-01-15) [stable]

** Bug fixes

  diff -c and -u no longer output incorrect timezones in headers
  on platforms like Solaris where struct tm lacks tm_gmtoff.
  [bug#51228 introduced in 3.4]
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.41 2022/04/12 14:24:16 nia Exp $
d13 3
a35 1
.include "../../devel/gettext-lib/buildlink3.mk"
@


1.41
log
@diffutils: update to 3.8

* Noteworthy changes in release 3.8 (2021-08-01) [stable]

** Incompatible changes

  diff no longer treats a closed stdin as representing an absent file
  in usage like 'diff --new-file - foo <&-'.  This feature was rarely
  if ever used and was not portable to POSIX platforms that reopen
  stdin on exec, such as SELinux if the process underwent an AT_SECURE
  transition, or HP-UX even if not setuid.

** Bug fixes

  diff and related programs no longer get confused if stdin, stdout,
  or stderr are closed.  Previously, they sometimes opened files into
  file descriptors 0, 1, or 2 and then mistakenly did I/O with them
  that was intended for stdin, stdout, or stderr.

  cmp, diff and sdiff no longer treat negative command-line
  option-arguments as if they were large positive numbers.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.40 2020/01/18 23:30:26 rillig Exp $
d3 1
a3 1
DISTNAME=	diffutils-3.8
d25 2
@


1.40
log
@all: migrate several HOMEPAGEs to https

pkglint --only "https instead of http" -r -F

With manual adjustments afterwards since pkglint 19.4.4 fixed a few
indentations in unrelated lines.

This mainly affects projects hosted at SourceForce, as well as
freedesktop.org, CTAN and GNU.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.39 2019/07/07 18:02:43 schwarz Exp $
d3 1
a3 1
DISTNAME=	diffutils-3.7
@


1.39
log
@
Updated devel/diffutils to 3.7

Changes: bug fixes, diff --color now produces output compatible with less -R.
(cf. https://savannah.gnu.org/forum/forum.php?forum_id=9341)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.38 2017/09/08 09:42:34 adam Exp $
d9 1
a9 1
HOMEPAGE=	http://www.gnu.org/software/diffutils/diffutils.html
@


1.38
log
@release 3.6:

** 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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.37 2017/01/04 14:04:30 mef Exp $
d3 1
a3 1
DISTNAME=	diffutils-3.6
d11 1
a11 1
LICENSE=	gnu-gpl-v2
@


1.37
log
@Updated devel/diffutils to 3.5
------------------------------
* Noteworthy changes in release 3.5 (2016-08-20) [stable]
** Bug fixes
  diff3 no longer malfunctions due to use-after-free
  [bug introduced in 3.4]

  diff --color no longer colorizes when TERM=dumb
@
text
@d1 1
a1 2
# $NetBSD: Makefile,v 1.36 2016/08/09 13:35:28 mef Exp $
#
d3 9
a11 12
DISTNAME=		diffutils-3.5
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
d13 3
a19 2
AUTO_MKDIRS=		yes

@


1.36
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.35 2016/02/25 12:12:47 jperkin Exp $
d4 1
a4 1
DISTNAME=		diffutils-3.4
@


1.35
log
@Use OPSYSVARS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.34 2014/10/09 14:06:08 wiz Exp $
d4 1
a4 1
DISTNAME=		diffutils-3.3
@


1.34
log
@Remove pkgviews: don't set PKG_INSTALLATION_TYPES in Makefiles.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.33 2013/05/30 16:31:33 richard Exp $
d17 3
a19 1
CONFIGURE_ENV+=	gt_cv_func_gnugettext1_libintl=yes
d21 1
a21 1
.include "../../mk/bsd.prefs.mk"
d23 4
a26 5
.if ${OPSYS} == "SunOS"
CONFIGURE_ENV+=	ac_cv_sys_xsi_stack_overflow_heuristic=no
.endif

AUTO_MKDIRS=		yes
a33 7
CONFIGURE_ARGS+=	--program-prefix=g

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;'

@


1.33
log
@let us backout and not be hasty to use autotools in devel/diffutils
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.31 2013/05/19 03:21:40 ryoon Exp $
a13 2
PKG_INSTALLATION_TYPES=	overwrite pkgviews

@


1.32
log
@fix autotools problem with @@mkdir_p@@ in devel/diffutils
@
text
@a4 1
PKGREVISION=		1
a15 2
USE_TOOLS+=		autoreconf automake m4

a41 3
pre-configure:
	cd ${WRKSRC} && autoreconf -vfi

@


1.31
log
@Update to 3.3

Changelog:
* Noteworthy changes in release 3.3 (2013-03-24) [stable]

** New features

  --new-file (-N) and --unidirectional-new-file now allow comparisons to "-".
  A standard input that's closed acts like a nonexistent file.

  A file name containing spaces, double quotes, backslashes or control
  characters is now encoded in a diff header as a double-quoted C string
  literal.  The escape sequences \\, \", \a, \b, \f, \n, \r, \t, \v and
  \ooo (a three-digit octal number between 0 and 255) are used.

** Packaging

  diffutils is now designed to build with Cygwin or MinGW rather than DJGPP.
  The ms subdirectory has been removed.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.30 2012/12/06 11:40:58 jperkin Exp $
d5 1
d17 2
d45 3
@


1.30
log
@Add PKGGNUDIR support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.29 2012/10/31 11:16:53 asau Exp $
d4 1
a4 2
DISTNAME=		diffutils-3.2
PKGREVISION=		2
d7 1
@


1.29
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.28 2012/06/02 08:18:35 cheusov Exp $
d31 2
a32 2
	${LN} -sf ${PREFIX}/bin/g${f} ${DESTDIR}${PREFIX}/gnu/bin/${f}
	${LN} -sf ${PREFIX}/${PKGMANDIR}/man1/g${f}.1 ${DESTDIR}${PREFIX}/gnu/man/man1/${f}.1
@


1.28
log
@
Add symlinks in gnu/man/man1/
++pkgrevision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.27 2012/05/29 21:01:25 cheusov Exp $
a14 1
PKG_DESTDIR_SUPPORT=	user-destdir
@


1.27
log
@
Remove GNU_PROGRAM_PREFIX variable (discussed in pkgsrc-users@@).
All utilities are installed with a prefix 'g'. Symlinks with original
names are created in ${PREFIX}/gnu/bin.

++pkgrevision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2012/04/07 16:30:05 schwarz Exp $
d5 1
a5 1
PKGREVISION=		1
d28 1
a28 3
PROGS=	cmp diff diff3 sdiff

INSTALLATION_DIRS+=	gnu/bin
d31 4
a34 5
	set -e; \
	cd ${DESTDIR}${PREFIX}/gnu/bin; \
	for p in ${PROGS}; do \
	   ln -f -s "../../bin/g$${p}" "$${p}"; \
	done
@


1.26
log
@updated devel/diffutils to 3.2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2012/03/09 13:11:05 fhajny Exp $
d5 1
d28 12
a39 5
.if defined(GNU_PROGRAM_PREFIX)
CONFIGURE_ARGS+=	--program-prefix=${GNU_PROGRAM_PREFIX:Q}
.endif
PLIST_SUBST+=		GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q}
BUILD_DEFS+=		GNU_PROGRAM_PREFIX
d44 1
a44 1
SUBST_SED.diff=		-e 's;%DEFAULT_DIFF_PROGRAM%;${PREFIX}/bin/${GNU_PROGRAM_PREFIX}diff;'
@


1.25
log
@Prevent a hang in configure on SunOS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2011/04/22 13:43:17 obache Exp $
d4 1
a4 2
DISTNAME=		diffutils-2.8.1
PKGREVISION=		5
d17 1
a17 1
INFO_FILES=		# PLIST
d35 1
a35 1
SUBST_FILES.diff=	configure
@


1.24
log
@recursive bump from gettext-lib shlib bump.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2009/03/10 14:06:06 apb Exp $
d12 1
d24 4
@


1.23
log
@Fix a build failure on platforms where time_t is larger than long, by
using long long instead.  (Not using time_t, because there's no easy and
portable printf format for time_t.)  Bump PKGREVISION to 4.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2008/11/24 08:02:16 obache Exp $
d5 1
a5 1
PKGREVISION=		4
@


1.22
log
@Let to exactly point to own diff program.
Fixes PR 39941.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2008/06/12 02:14:22 joerg Exp $
d5 1
a5 1
PKGREVISION=		3
@


1.21
log
@Add DESTDIR support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2006/07/23 12:47:21 joerg Exp $
d5 1
a5 1
PKGREVISION=		2
d29 5
@


1.20
log
@When forcing the gettext detection to be successfull, also include
gettext-lib. Bump revision.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2006/07/20 17:09:14 minskim Exp $
d14 1
@


1.19
log
@Enable NLS explicitly.  Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2006/03/30 03:44:42 jlam Exp $
d5 1
a5 1
PKGREVISION=		1
d28 1
@


1.18
log
@* Honor PKGINFODIR.
* List the info files directly in the PLIST.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2006/03/04 21:29:14 jlam Exp $
d5 1
d18 2
@


1.17
log
@Point MAINTAINER to pkgsrc-users@@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2005/12/05 23:55:05 rillig Exp $
d15 1
a15 1
INFO_FILES=		diff.info
@


1.16
log
@Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2005/12/05 20:50:03 rillig Exp $
d8 1
a8 1
MAINTAINER=		tech-pkg@@NetBSD.org
@


1.15
log
@Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2004/05/18 11:58:04 recht Exp $
d20 1
a20 1
CONFIGURE_ARGS+=	--program-prefix=${GNU_PROGRAM_PREFIX}
@


1.14
log
@Enable pkgviews installation.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2003/08/09 10:44:39 seb Exp $
d22 1
a22 1
PLIST_SUBST+=		GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX}
@


1.13
log
@USE_NEW_TEXINFO is unnecessary now.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2003/07/17 21:30:16 grant Exp $
d12 2
@


1.12
log
@s/netbsd.org/NetBSD.org/
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2003/06/23 10:39:55 seb Exp $
a12 1
USE_NEW_TEXINFO=	YES
@


1.11
log
@Convert to USE_NEW_TEXINFO.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2003/06/02 01:20:52 jschauma Exp $
d8 1
a8 1
MAINTAINER=		tech-pkg@@netbsd.org
@


1.10
log
@Use tech-pkg@@ in favor of packages@@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2003/01/19 05:15:20 wiz Exp $
d13 1
a23 1
.include "../../mk/texinfo.mk"
@


1.9
log
@Update to 2.8.1:
* cmp and diff now conform to POSIX 1003.1-2001 (IEEE Std 1003.1-2001)
  if the underlying system conforms to POSIX and if the _POSIX2_VERSION
  environment variable is set to 200112.  Conformance removes support
  for `diff -NUM', where NUM is a number.  Use -C NUM or -U NUM instead.
* cmp now supports trailing operands SKIP1 and SKIP2, like BSD cmp.
* cmp -i or --ignore-initial now accepts SKIP1:SKIP2 option value.
* New cmp option: -n or --bytes.
* cmp's old -c or --print-chars option has been renamed;
  use -b or --print-bytes instead.
* cmp now outputs "byte" rather than "char" outside the POSIX locale.
* cmp -l's index column width now adjusts to fit larger (or smaller) files.
* cmp -l -s and cmp -s -l are not allowed.  Use cmp -s or cmp -l instead.
* diff uses ISO 8601 style time stamps for output times (e.g. "2001-11-23
  16:44:36.875702460 -0800") unless in the C or POSIX locale and the
  -c style is specified.
* diff's -I and -F options use the regexp syntax of grep, not of Emacs.
* diff now accepts multiple context arguments, and uses their maximum value.
* New diff and sdiff options:
  -E  --ignore-tab-expansion
  --strip-trailing-cr
* New diff options:
  --from-file=FILE, --to-file=FILE
  --ignore-file-name-case
  --no-ignore-file-name-case
* New diff3 and sdiff option:
  --diff-program=PROGRAM
* The following diff options are still accepted, but are no longer documented.
  They may be withdrawn in future releases.
  -h (omit; it has no effect)
  -H (use --speed-large-files instead)
  -L (use --label instead)
  -P (use --unidirectional-new-file instead)
  --inhibit-hunk-merge (omit; it has no effect)
* Recursive diffs now sort file names according to the LC_COLLATE locale
  category if possible, instead of using native byte comparison.
* Diff printf specs can now use the "0" and "'" flags.
* The new sdiff interactive command `ed' precedes each version with a header.
* On 64-bit hosts, files larger than 2 GB can be compared.
* Some internationalization support has been added, but multibyte locales
  are still not completely supported yet.
* Some diagnostics have been reworded slightly for consistency.
  Also, `diff -D FOO' now outputs `/* ! FOO */' instead of `/* not FOO */'.
* The `patch' part of the manual now describes `patch' version 2.5.4.
* Man pages are now distributed and installed.
* There is support for DJGPP; see the 'ms' subdirectory and the files
  m4/dos.m4 and */setmode.*.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2002/12/22 17:39:07 wiz Exp $
d8 1
a8 1
MAINTAINER=		packages@@netbsd.org
@


1.8
log
@Use GNU_PROGRAM_PREFIX, based on a patch by Jeremy C. Reed.
Also lose restriction (only for SunOS).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2002/02/18 15:14:09 seb Exp $
d4 1
a4 1
DISTNAME=		diffutils-2.7
@


1.7
log
@Introduce new framework for handling info files generation and installation.

Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
    removal of USE_GTEXINFO
    INSTALL_INFO added to PLIST_SUBST
    `${INSTALL_INFO}' replace `install-info' in target rules
    print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
  makeinfo command usage

See -newly added by this commit- section 10.24 of Packages.txt for
further information.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2001/02/16 14:38:22 wiz Exp $
a11 2
ONLY_FOR_PLATFORM=	SunOS-*-*	# in NetBSD base system

a12 1
CONFIGURE_ARGS+=	--program-prefix=g
d14 8
@


1.6
log
@Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2001/01/13 16:17:48 tron Exp $
d18 1
@


1.5
log
@Install binaries as "g..." e.g. "gdiff" to avoid name conflicts.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 1999/05/24 20:39:37 tv Exp $
d10 1
@


1.4
log
@For packages that are in the NetBSD base system, but needed for
Solaris, narrow down the platforms, and use specific inclusion rather
than disclusion:  mark them as ONLY_FOR_PLATFORM=SunOS-*-*, rather
than NOT_FOR_PLATFORM=NetBSD-*-*.
@
text
@d11 1
a11 1
GNU_CONFIGURE=		yes
d13 2
a15 2

ONLY_FOR_PLATFORM=	SunOS-*-*	# in NetBSD base system
@


1.3
log
@Change {ONLY,NOT}_FOR_{ARCH,OPSYS} format to {ONLY,NOT}_FOR_PLATFORM
pattern match format.  Minor pkglint along the way.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 1999/04/14 21:39:03 tron Exp $
d11 1
a11 1
GNU_CONFIGURE=
d15 1
a15 1
NOT_FOR_PLATFORM=	NetBSD-*-*	# in base system
@


1.2
log
@Remove unnecessary slash from master site list.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 1999/03/12 15:38:07 agc Exp $
d4 3
a6 3
DISTNAME=       diffutils-2.7
CATEGORIES=	devel
MASTER_SITES=   ${MASTER_SITE_GNU:=diffutils/}
d8 2
a9 2
MAINTAINER=	packages@@netbsd.org
HOMEPAGE=	http://www.gnu.org/software/diffutils/diffutils.html
d11 1
a11 1
GNU_CONFIGURE=	yes
d13 1
a13 1
INFO_FILES=	diff.info
d15 1
a15 1
NOT_FOR_OPSYS=	NetBSD # in base system
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d6 1
a6 1
MASTER_SITES=   ${MASTER_SITE_GNU:=/diffutils/}
@


1.1.1.1
log
@Initial import of GNU diffutils, version 2.7. This package is only for
Solaris, as the GNU diffutils are in the base NetBSD distribution.

The diff utilities are: cmp, diff, diff3 and sdiff, and are used to compare
files.
@
text
@@
