summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2022-11-06 13:22:01 +0000
committertnn <tnn@pkgsrc.org>2022-11-06 13:22:01 +0000
commit853939af39b294edde10a7b2eadd0f8100eee294 (patch)
tree7b90f52e3a619e90c8e9e00e2e19b210be4e52ff /pkgtools
parent6e6a77c853686f897136dde56d4450e227c26023 (diff)
downloadpkgsrc-853939af39b294edde10a7b2eadd0f8100eee294.tar.gz
pkgdiff: fix on macOS >= 13
Apple switched from GNU diff to their own diff. It does not support combining -q with -U so depend on GNU diff from pkgsrc.
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkgdiff/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgtools/pkgdiff/Makefile b/pkgtools/pkgdiff/Makefile
index 208dabeaf50..0c964d04793 100644
--- a/pkgtools/pkgdiff/Makefile
+++ b/pkgtools/pkgdiff/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.101 2022/06/28 11:35:25 wiz Exp $
+# $NetBSD: Makefile,v 1.102 2022/11/06 13:22:01 tnn Exp $
PKGNAME= pkgdiff-1.10
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= pkgtools devel
MAINTAINER= wiz@NetBSD.org
@@ -21,7 +21,10 @@ MAKE_ENV+= PKGSRCDIR=${_PKGSRCDIR:Q}
BUILD_DEFS+= MANINSTALL
-.if ${OPSYS} == "SunOS" || ${OPSYS} == "OSF1"
+.if \
+ ${OPSYS} == "SunOS" || \
+ ${OPSYS} == "OSF1" || \
+ ${OPSYS} == "Darwin" && empty(OSX_VERSION:M[0-9].*) && empty(OSX_VERSION:M1[0-2].*)
DEPENDS+= diffutils-[0-9]*:../../devel/diffutils
DIFF?= ${PREFIX}/bin/gdiff
.else