summaryrefslogtreecommitdiff
path: root/pkgtools
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools')
-rw-r--r--pkgtools/pkg_install/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgtools/pkg_install/Makefile b/pkgtools/pkg_install/Makefile
index 8c51f1ff345..197af353eb0 100644
--- a/pkgtools/pkg_install/Makefile
+++ b/pkgtools/pkg_install/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.153 2008/06/02 16:40:25 joerg Exp $
+# $NetBSD: Makefile,v 1.154 2008/06/08 21:04:30 he Exp $
# Notes to package maintainers:
#
@@ -53,10 +53,12 @@ CHECK_PERMS= no
# from an older pkg_install might required features of the new program.
#
USE_NATIVE_GCC= yes
+.if exists(${WRKSRC}/add/pkg_add)
PKG_ADD_CMD= ${WRKSRC}/add/pkg_add
PKG_CREATE_CMD= ${WRKSRC}/create/pkg_create
PKG_DELETE_CMD= ${WRKSRC}/delete/pkg_delete
PKG_INFO_CMD= ${WRKSRC}/info/pkg_info
+.endif
CPPFLAGS+= -D_LARGEFILE_SOURCE -D_LARGE_FILES
CPPFLAGS+= -D_FILE_OFFSET_BITS=64