summaryrefslogtreecommitdiff
path: root/pkgtools/pkgdiff/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkgtools/pkgdiff/Makefile')
-rw-r--r--pkgtools/pkgdiff/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgtools/pkgdiff/Makefile b/pkgtools/pkgdiff/Makefile
index 68075bfd640..5461eeb3907 100644
--- a/pkgtools/pkgdiff/Makefile
+++ b/pkgtools/pkgdiff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.67 2009/04/09 00:48:13 joerg Exp $
+# $NetBSD: Makefile,v 1.68 2009/09/20 11:57:16 tnn Exp $
#
DISTNAME= pkgdiff-0.121
@@ -25,13 +25,15 @@ MAKE_ENV+= PKGSRCDIR=${_PKGSRCDIR:Q}
BUILD_DEFS+= MANINSTALL
-.if ${OPSYS} == "SunOS"
+.if ${OPSYS} == "SunOS" || ${OPSYS} == "OSF1"
DEPENDS+= diffutils-[0-9]*:../../devel/diffutils
-DIFF?= ${LOCALBASE}/bin/${GNU_PROGRAM_PREFIX}diff
-MANINSTALL= catinstall
+DIFF?= ${PREFIX}/bin/${GNU_PROGRAM_PREFIX}diff
.else
DIFF?= diff
.endif
+.if ${OPSYS} == "SunOS"
+MANINSTALL= catinstall
+.endif
INSTALLATION_DIRS= bin
.if !empty(MANINSTALL:Mcatinstall)