pkgsrc-Bugs archive

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

pkg/48995: installation of print/teTeX3-bin fails in Solaris 10



>Number:         48995
>Category:       pkg
>Synopsis:       installation of print/teTeX3-bin fails in Solaris 10
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 15 14:45:00 +0000 2014
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
>Description:
Installation of print/teTeX3-bin fails in Solaris 10:

for s in ; do \
  /usr/pkgsrc/20140707/bin/bsdinstall -c -o pkgsrc -g software -m 755 ./$s 
/pkgsrc/source/pkgsrc/print/teTeX3-bin/work.pkgsrc-i86/.destdir/usr/pkgsrc/20140707/bin/$s;
 \
done
/bin/sh: syntax error at line 1: `;' unexpected
Makefile:216: recipe for target 'install-exec' failed
gmake[2]: *** [install-exec] Error 2

patches/patch-as empties variable SCRIPTS, and Solaris sh obviously can't loop 
over an empty list.
>How-To-Repeat:

>Fix:
just remove the unnecessary code

--- texk/tetex/Makefile.in.old  Tue Jul 15 16:39:37 2014
+++ texk/tetex/Makefile.in      Tue Jul 15 16:39:57 2014
@@ -40,9 +40,6 @@
 
 install-exec:
        -$(SHELL) $(srcdir)/../mkinstalldirs $(scriptdir)
-       for s in $(SCRIPTS); do \
-         $(INSTALL_SCRIPT) $(srcdir)/$$s $(scriptdir)/$$s; \
-       done
        if test -f $(bindir)/pdfetex; then \
          for s in $(PDFSCRIPTS); do \
            $(INSTALL_SCRIPT) $(srcdir)/$$s $(scriptdir)/$$s; \



Home | Main Index | Thread Index | Old Index