pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/30252: print/teTeX-share fails to install
>Number: 30252
>Category: pkg
>Synopsis: print/teTeX-share fails to install
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 17 11:18:00 +0000 2005
>Originator: Masanori Mikawa
>Release: NetBSD 3.99.3
>Organization:
>Environment:
System: NetBSD raven 3.99.3 NetBSD 3.99.3 (RAVEN) #0: Mon May 16 21:49:14 JST
2005 root@raven:/a/usr/obj/sys/arch/i386/compile/RAVEN i386
Architecture: i386
Machine: i386
>Description:
I tried `make install' teTeX-share-2.0.2 package without
specifying EXTRACT_USING in MAKECONF but it failed.
>How-To-Repeat:
Do `make install' in print/teTeX-share pkgsrc sub directory
without specifying EXTRACT_USING (do not use gtar).
===> Extracting for teTeX-share-2.0.2nb1
===> Patching for teTeX-share-2.0.2nb1
===> Overriding tools for teTeX-share-2.0.2nb1
===> Installing for teTeX-share-2.0.2nb1
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/share/texmf
for i in tetex-texmf-2.0.2.tar.gz listings.tar.gz; do cd /usr/pkg/share/texmf;
/usr/bin/gzcat /ftp/pub/NetBSD/packages/distfiles/teTeX/$i | /bin/pax -O -cr
`/bin/cat /usr/pkgsrc/print/teTeX-share/files/exclude`; done
pax: Trying to read GNU tar archive with extensions off
pax: Trying to read GNU tar archive with extensions off
pax: WARNING! These patterns were not matched:
ls-R
web2c/mktex.cnf
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/print/teTeX-share
*** Error code 1
>Fix:
Apply following patch to print/teTeX-share/Makefile
(Rev 1.29 is not enough for pax).
--- print/teTeX-share/Makefile.orig 2005-05-17 18:48:17.000000000 +0900
+++ print/teTeX-share/Makefile
@@ -35,7 +35,11 @@ do-install:
done
.else
for i in ${DISTFILES}; do \
- cd ${PREFIX}/share/texmf; ${DECOMPRESS_CMD}
${DISTDIR}/${DIST_SUBDIR}/$$i | ${PAX} -O -cr `${CAT} ${FILESDIR}/exclude`; \
+ if [ $$i = ${DISTNAME}${EXTRACT_SUFX} ]; then \
+ cd ${PREFIX}/share/texmf; ${DECOMPRESS_CMD}
${DISTDIR}/${DIST_SUBDIR}/$$i | ${PAX} -O -cr `${CAT} ${FILESDIR}/exclude`; \
+ else \
+ cd ${PREFIX}/share/texmf; ${DECOMPRESS_CMD}
${DISTDIR}/${DIST_SUBDIR}/$$i | ${PAX} -O -cr; \
+ fi; \
done
.endif
cd ${PREFIX}/share/texmf/dvipdfm/config && \
Home |
Main Index |
Thread Index |
Old Index