summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2012-06-14 09:59:12 +0000
committerjperkin <jperkin@pkgsrc.org>2012-06-14 09:59:12 +0000
commitb35559977aae356ecbc30daa0af87a1370dc118f (patch)
tree7a4ba093548062cc1ba7e47334fd189ccd0067f9 /fonts
parentc01d490df35e8e84543faacd6daca24b7dc72207 (diff)
downloadpkgsrc-b35559977aae356ecbc30daa0af87a1370dc118f.tar.gz
Force dependency on archivers/pax on Solaris, the native pax cannot handle
cpio archives produced by rpm2cpio.
Diffstat (limited to 'fonts')
-rw-r--r--fonts/chkfontpath/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/fonts/chkfontpath/Makefile b/fonts/chkfontpath/Makefile
index 8b3f9de950b..bca772d1bc1 100644
--- a/fonts/chkfontpath/Makefile
+++ b/fonts/chkfontpath/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2011/04/22 13:43:31 obache Exp $
+# $NetBSD: Makefile,v 1.20 2012/06/14 09:59:12 jperkin Exp $
#
DISTNAME= chkfontpath-1.9.7
@@ -19,6 +19,14 @@ USE_TOOLS+= gmake gtar pax
INSTALLATION_DIRS= bin ${PKGMANDIR}/man8
+.include "../../mk/bsd.prefs.mk"
+
+# Native Solaris pax cannot handle cpio archives produced by rpm2cpio.pl, cpio
+# can but it is not a tool.
+.if ${OPSYS} == "SunOS"
+TOOLS_PLATFORM.pax=
+.endif
+
# Might as well make this a general scheme for .src.rpm files... - HF
do-extract:
cd ${WRKDIR} ; \