Subject: pkg/15465: ghostscript-fonts requires -z of PAX
To: None <gnats-bugs@gnats.netbsd.org>
From: None <eric@cirr.com>
List: netbsd-bugs
Date: 02/02/2002 21:39:25
>Number:         15465
>Category:       pkg
>Synopsis:       not all PAXen have `-z'
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 02 19:40:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Eric Schnoebelen
>Release:        Solaris 2.8/pkgsrc 20020202
>Organization:
Eric Schnoebelen		eric@cirr.com		http://www.cirr.com
    Glossary:  compu-dinosaur: N, A computer guru stuck in time. (is
    happy with a TeleVideo terminal and a modem).  Most probably the
	      guy you learned everything you know from.
>Environment:
	
System: SunOS netra4918 5.8 Generic_108528-08 sun4u sparc

>Description:
	fonts/ghostscript-fonts has the following rules:
		${PAX} -zrf ${_DISTDIR}/${GS_FONTS_STD};\
		${PAX} -zrf ${_DISTDIR}/${GS_FONTS_OTHER}

	The only problem is, (/usr/bin/)pax on Solaris doesn't
	understand the -z flag.  Changing to ${GTAR} allows the
	package to build on Solaris/Zoularis.

>How-To-Repeat:
	slogin solaris;
	cd pkgsrc/fonts/ghostscript-fonts;
	bmake install

>Fix:
cvs server: Diffing .
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/fonts/ghostscript-fonts/Makefile,v
retrieving revision 1.1.1.1
diff -b -u -w -r1.1.1.1 Makefile
--- Makefile	2001/04/03 14:42:09	1.1.1.1
+++ Makefile	2002/02/03 03:38:44
@@ -31,8 +31,8 @@
 do-install:
 	${INSTALL_DATA_DIR} ${PREFIX}/share/ghostscript
 	cd ${PREFIX}/share/ghostscript; \
-		${PAX} -zrf ${_DISTDIR}/${GS_FONTS_STD}; \
-		${PAX} -zrf ${_DISTDIR}/${GS_FONTS_OTHER}
+		${GTAR} -xzf ${_DISTDIR}/${GS_FONTS_STD}; \
+		${GTAR} -xzf ${_DISTDIR}/${GS_FONTS_OTHER}
 	${INSTALL_DATA} ${FILESDIR}/fonts.alias \
 		${PREFIX}/share/ghostscript/fonts/
 	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/ghostscript
cvs server: Diffing files
>Release-Note:
>Audit-Trail:
>Unformatted: