summaryrefslogtreecommitdiff
path: root/fonts
diff options
context:
space:
mode:
authorjperkin <jperkin>2012-06-14 09:59:12 +0000
committerjperkin <jperkin>2012-06-14 09:59:12 +0000
commit2816acc2b8a4586f4b577547a36523c4b301c0a6 (patch)
tree7a4ba093548062cc1ba7e47334fd189ccd0067f9 /fonts
parent6409fb37203d41f5b2c34f9e91478ff992b36e30 (diff)
downloadpkgsrc-2816acc2b8a4586f4b577547a36523c4b301c0a6.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} ; \