Subject: pkg/30309: $TAR not set in pkgsrc/fonts/xorg-fonts*
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 05/23/2005 07:38:00
>Number:         30309
>Category:       pkg
>Synopsis:       $TAR not set in pkgsrc/fonts/xorg-fonts*
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 23 07:38:00 +0000 2005
>Originator:     Geert Hendrickx
>Release:        netbsd-2
NetBSD mantis 2.0_STABLE NetBSD 2.0_STABLE (MANTIS) #12: Sun May 22 01:07:00 CEST 2005  geert@mantis:/usr/src/sys/arch/i386/compile/MANTIS i386

The pkgsrc/fonts/xorg-fonts*, and therefor the xorg metapackage, can't install because of the TAR variable not being set in the Makefile: 

cd /usr/pkgsrc/fonts/xorg-fontsEncodings/work &&  /usr/bin/gzcat /usr/pkgsrc/distfiles/X11R6.8.2-src1.tar.gz |  xf - xc/config xc/include xc/extras/Mesa/include/GL xc/fonts/encodings

gives "xf: not found"
*** Error code 127

Because "xf - xc/config ..." comes from "${TAR} xf - xc/config ...".  
cd /usr/pkgsrc/fonts/xorg-fontsEncodings && make install
A workaround is to set TAR=tar in the environment, but this should be the defaults.