summaryrefslogtreecommitdiff
path: root/mk/pkginstall
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-06-07 17:44:29 +0000
committerjlam <jlam@pkgsrc.org>2006-06-07 17:44:29 +0000
commit377d2c27f2e649f829149d7be80f30912ab95d71 (patch)
tree9f816740eb37d39f629635a73c58be277e0393ae /mk/pkginstall
parentaa012e72aa84ad5cf2b9c243d86b6af488e9d411 (diff)
downloadpkgsrc-377d2c27f2e649f829149d7be80f30912ab95d71.tar.gz
Move _ZERO_FILESIZE_P ftom bsd.pkginstall.mk to bsd.pkg.mk so it can more
clearly be used in other modules.
Diffstat (limited to 'mk/pkginstall')
-rw-r--r--mk/pkginstall/bsd.pkginstall.mk7
1 files changed, 1 insertions, 6 deletions
diff --git a/mk/pkginstall/bsd.pkginstall.mk b/mk/pkginstall/bsd.pkginstall.mk
index b2c48836178..0d81f898211 100644
--- a/mk/pkginstall/bsd.pkginstall.mk
+++ b/mk/pkginstall/bsd.pkginstall.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkginstall.mk,v 1.6 2006/06/06 19:49:52 jlam Exp $
+# $NetBSD: bsd.pkginstall.mk,v 1.7 2006/06/07 17:44:29 jlam Exp $
#
# This Makefile fragment is included by bsd.pkg.mk and implements the
# common INSTALL/DEINSTALL scripts framework. To use the pkginstall
@@ -20,11 +20,6 @@ _FUNC_STRIP_PREFIX= \
}' s="$$1" prefix=${PREFIX:Q}/ /dev/null; \
}
-# This is a command that exits with a zero status if the given file
-# is zero-length.
-#
-_ZERO_FILESIZE_P= ${AWK} 'END { exit NR ? 1 : 0; }'
-
_PKGINSTALL_DIR= ${WRKDIR}/.pkginstall
# XXX This should not be duplicated from the install module, but we