summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-07-13 06:16:02 +0000
committerjlam <jlam@pkgsrc.org>2001-07-13 06:16:02 +0000
commitd3bc280f5563750d61a3f8c7dcd95a634e4fda1a (patch)
tree67fbc20aeedeab23561d72c120cc5217b87c89ce /mk
parent6a4ab80c2c0986b908b6ffefa713f87cc6583486 (diff)
downloadpkgsrc-d3bc280f5563750d61a3f8c7dcd95a634e4fda1a.tar.gz
Add definitions for CMP pointing to cmp utility and use it in bsd.pkg.mk.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk8
-rw-r--r--mk/defs.Linux.mk3
-rw-r--r--mk/defs.NetBSD.mk3
-rw-r--r--mk/defs.SunOS.mk3
4 files changed, 10 insertions, 7 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index d54202696d5..6a231606052 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.785 2001/07/10 12:04:43 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.786 2001/07/13 06:16:02 jlam Exp $
#
# This file is in the public domain.
#
@@ -2474,7 +2474,7 @@ makesum: fetch uptodate-digest
if [ -f ${DISTINFO_FILE} ]; then \
${AWK} '$$2 ~ /\(patch-[a-z0-9]+\)/ { print $$0 }' < ${DISTINFO_FILE} >> $$newfile; \
fi; \
- if cmp -s $$newfile ${DISTINFO_FILE}; then \
+ if ${CMP} -s $$newfile ${DISTINFO_FILE}; then \
${RM} -f $$newfile; \
${ECHO_MSG} "=> distinfo: distfiles part unchanged."; \
else \
@@ -2505,7 +2505,7 @@ makepatchsum mps: uptodate-digest
esac; \
done); \
fi; \
- if cmp -s $$newfile ${DISTINFO_FILE}; then \
+ if ${CMP} -s $$newfile ${DISTINFO_FILE}; then \
${RM} -f $$newfile; \
${ECHO_MSG} "=> distinfo: patches part unchanged."; \
else \
@@ -2959,7 +2959,7 @@ README.html: .PRECIOUS
-e '/%%BIN_PKGS%%/r $@.tmp4' \
-e '/%%BIN_PKGS%%/d' \
${README_NAME} >> $@.tmp
- @cmp -s $@.tmp $@ || \
+ @${CMP} -s $@.tmp $@ || \
{ ${ECHO_MSG} "${_PKGSRC_IN}> Creating README.html for ${_THISDIR_}${PKGNAME}"; \
${MV} -f $@.tmp $@; }
@${RM} -f $@.tmp $@.tmp1 $@.tmp2 $@.tmp4 $@.tmp5 $@.tmp6
diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk
index f524741ab54..67990b2f734 100644
--- a/mk/defs.Linux.mk
+++ b/mk/defs.Linux.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.Linux.mk,v 1.4 2001/06/18 19:58:55 jlam Exp $
+# $NetBSD: defs.Linux.mk,v 1.5 2001/07/13 06:16:02 jlam Exp $
#
# Variable definitions for the Linux operating system.
@@ -8,6 +8,7 @@ CAT?= /bin/cat
CHMOD?= /bin/chmod
CHOWN?= /bin/chown
CHGRP?= /bin/chgrp
+CMP?= cmp
CP?= /bin/cp
CUT?= /bin/cut
DC?= /usr/bin/dc
diff --git a/mk/defs.NetBSD.mk b/mk/defs.NetBSD.mk
index 5a9804aeb66..4194e5aa9f0 100644
--- a/mk/defs.NetBSD.mk
+++ b/mk/defs.NetBSD.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.NetBSD.mk,v 1.3 2001/06/18 19:58:55 jlam Exp $
+# $NetBSD: defs.NetBSD.mk,v 1.4 2001/07/13 06:16:02 jlam Exp $
#
# Variable definitions for the NetBSD operating system.
@@ -8,6 +8,7 @@ CAT?= /bin/cat
CHMOD?= /bin/chmod
CHOWN?= /usr/sbin/chown
CHGRP?= /usr/bin/chgrp
+CMP?= /usr/bin/cmp
CP?= /bin/cp
CUT?= /usr/bin/cut
DC?= /usr/bin/dc
diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk
index 49ab18a2bf9..8a930f25a74 100644
--- a/mk/defs.SunOS.mk
+++ b/mk/defs.SunOS.mk
@@ -1,4 +1,4 @@
-# $NetBSD: defs.SunOS.mk,v 1.3 2001/06/18 19:58:55 jlam Exp $
+# $NetBSD: defs.SunOS.mk,v 1.4 2001/07/13 06:16:02 jlam Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -8,6 +8,7 @@ CAT?= /usr/bin/cat
CHMOD?= /usr/bin/chmod
CHOWN?= /usr/bin/chown
CHGRP?= /usr/bin/chgrp
+CMP?= cmp
CP?= /usr/bin/cp
CUT?= /usr/bin/cut
DC?= /usr/bin/dc