pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42165: print/tex-prosper doesn't extract+install on Solaris



>Number:         42165
>Category:       pkg
>Synopsis:       print/tex-prosper doesn't extract+install on Solaris
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 09 10:35:00 +0000 2009
>Originator:     Ignatios Souvatzis
>Release:        SunOS 5.10
>Organization:
seal your e-mail: http://www.gnupg.org/
>Environment:
System: SunOS einstein.cs.uni-bonn.de 5.10 Generic_141414-09 sun4u
        sparc SUNW,A70
Architecture: sparc
Machine: sun4u
>Description:
        The post-extract stage of print/tex-prosper fails because the
find command on this OS doesn't have -print0, and xargs doesn't have -0.
>How-To-Repeat:
        bmake
>Fix:
        basically, don't use find | xargs to remove the CVS directories
from the tree-to-be-installed, but change the pax command lines to avoid
the CVS directories later:

Discussed with abg,bad,sketch, tested on the above mentiones system.
A patch is included below.

Regards,
        -is



Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/print/tex-prosper/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile    26 May 2008 02:13:23 -0000      1.11
+++ Makefile    9 Oct 2009 10:22:36 -0000
@@ -32,16 +32,15 @@
 post-extract:
        ${MV} ${WRKDIR}/PPRblends.sty ${WRKSRC}/contrib
        ${MV} ${WRKSRC}/doc/doc-examples ${WRKSRC}/examples
-       ${FIND} ${WRKSRC} -name CVS -print0 | ${XARGS} -0 ${RM} -rf
 
 do-install:
        ${INSTALL_DATA_DIR} ${PROSPERDIR}
        ${INSTALL_DATA_DIR} ${DOCDIR}
        ${INSTALL_DATA_DIR} ${EGDIR}
-       cd ${WRKSRC} && pax -rw -pp -pm *.sty *.cls img contrib designer \
+       cd ${WRKSRC} && pax -rw -pp -pm -s',.*/CVS.*,,' *.sty *.cls img contrib 
designer \
                ${PROSPERDIR}
-       cd ${WRKSRC}/doc && pax -rw -pp -pm . ${DOCDIR}
-       cd ${WRKSRC}/examples && pax -rw -pp -pm . ${EGDIR}
+       cd ${WRKSRC}/doc && pax -rw -pp -pm -s',.*/CVS.*,,' . ${DOCDIR}
+       cd ${WRKSRC}/examples && pax -rw -pp -pm -s',.*/CVS.*,,' . ${EGDIR}
 .for f in ${DOCS}
        ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
 .endfor



Home | Main Index | Thread Index | Old Index