pkgsrc-Bugs archive

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

pkg/33900: graphics/povray



>Number:         33900
>Category:       pkg
>Synopsis:       graphics/povray
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 03 10:25:00 +0000 2006
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_Patch_118844-30 i86pc


>Description:


=> Generating pre-install file lists
/usr/ucb/install -d -o root -g root -m 755 /usr/pkg/share/povray-3.6/scripts
Making install in libraries
Making all in png
/usr/pkg/bin/bmake  all-am
Making install in source
Making install in base
Making install in frontend
Making install in unix
/bin/bash ../config/mkinstalldirs /usr/pkg/bin
  /usr/ucb/install -c -s -o root -g root -m 555 povray /usr/pkg/bin/povray
/bin/bash ./config/mkinstalldirs /usr/pkg/share/povray-3.6
Creating data directories...
Copying data files...
Creating documentation directories...
Copying documentation files...
Copying user configuration and INI files...
/bin/sh: test: argument expected
*** Error code 1

Stop.



>How-To-Repeat:


bmake install


>Fix:


replace 'test -e' with 'test -f'

--- patch-ad.orig       Thu Nov 18 17:15:35 2004
+++ patches/patch-ad    Mon Jul  3 12:05:53 2006
@@ -1,8 +1,6 @@
-$NetBSD: patch-ad,v 1.3 2004/11/18 16:15:35 adam Exp $
-
---- Makefile.in.orig   2004-08-02 23:20:09.000000000 +0000
-+++ Makefile.in
-@@ -169,7 +169,7 @@ program_transform_name = @program_transf
+--- Makefile.in.orig   Tue Aug  3 01:20:09 2004
++++ Makefile.in        Mon Jul  3 12:03:44 2006
+@@ -169,7 +169,7 @@
  sbindir = @sbindir@
  sharedstatedir = @sharedstatedir@
  subdirs = @subdirs@
@@ -11,7 +9,7 @@
  target_alias = @target_alias@
  
  # Directories.
-@@ -343,12 +343,12 @@ uninstall-man1:
+@@ -343,12 +343,12 @@
  dist_povconfDATA_INSTALL = $(INSTALL_DATA)
  install-dist_povconfDATA: $(dist_povconf_DATA)
        @$(NORMAL_INSTALL)
@@ -27,7 +25,7 @@
        done
  
  uninstall-dist_povconfDATA:
-@@ -361,12 +361,12 @@ uninstall-dist_povconfDATA:
+@@ -361,12 +361,12 @@
  povconfDATA_INSTALL = $(INSTALL_DATA)
  install-povconfDATA: $(povconf_DATA)
        @$(NORMAL_INSTALL)
@@ -43,3 +41,12 @@
        done
  
  uninstall-povconfDATA:
+@@ -817,7 +817,7 @@
+       $(mkinstalldirs) $(povconfuser); \
+       filelist='povray.conf povray.ini'; \
+       for f in $$filelist ; do \
+-        if test -e $(povconfuser)/$$f; then \
++        if test -f $(povconfuser)/$$f; then \
+           echo "Creating backup of $(povconfuser)/$$f"; \
+           mv -f $(povconfuser)/$$f $(povconfuser)/$$f.bak; \
+         fi; \






Home | Main Index | Thread Index | Old Index