diff -u -r -P -p ports-mgmt/pkg_rmleaves/Makefile.orig ports-mgmt/pkg_rmleaves/Makefile --- ports-mgmt/pkg_rmleaves/Makefile.orig 2015-09-09 02:00:03.629555000 +0900 +++ ports-mgmt/pkg_rmleaves/Makefile 2017-05-14 02:20:31.547549000 +0900 @@ -13,6 +13,8 @@ LICENSE= BSD2CLAUSE NO_BUILD= yes +RUN_DEPENDS= gdiff:textproc/diffutils + WRKSRC= ${WRKDIR} PLIST_FILES= sbin/pkg_rmleaves man/man1/pkg_rmleaves.1.gz diff -u -r -P -p ports-mgmt/pkg_rmleaves/files/patch-pkg_rmleaves.orig ports-mgmt/pkg_rmleaves/files/patch-pkg_rmleaves --- ports-mgmt/pkg_rmleaves/files/patch-pkg_rmleaves.orig 1970-01-01 09:00:00.000000000 +0900 +++ ports-mgmt/pkg_rmleaves/files/patch-pkg_rmleaves 2017-05-14 02:22:57.050609000 +0900 @@ -0,0 +1,11 @@ +--- pkg_rmleaves.orig 2014-02-22 21:21:47.000000000 +0900 ++++ pkg_rmleaves 2017-05-14 02:16:55.751443000 +0900 +@@ -74,7 +74,7 @@ checkLeafs() { + fi | sort | sed -e "y/\"/'/" -e 's/#"#/"/g' > "$PKGFILE" + + if [ -f "$PREV" ]; then +- diff --unchanged-line-format='' --old-line-format='' --new-line-format='%L' "$PREV" "$PKGFILE" > "$TMPFILE" ++ gdiff --unchanged-line-format='' --old-line-format='' --new-line-format='%L' "$PREV" "$PKGFILE" > "$TMPFILE" + else + cp "$PKGFILE" "$TMPFILE" + fi