ports/151396: editors/vim plist is wrong when $PREFIX/share/icons/hicolor/48x48/apps/ doesn't exist

Pierre Guinoiseau geekounet at poildetroll.net
Mon Oct 11 18:40:01 UTC 2010


>Number:         151396
>Category:       ports
>Synopsis:       editors/vim plist is wrong when $PREFIX/share/icons/hicolor/48x48/apps/ doesn't exist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 11 18:40:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Pierre Guinoiseau <geekounet at poildetroll.net>
>Release:        FreeBSD 8.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD alderaan.home.poildetroll.net 8.1-STABLE FreeBSD 8.1-STABLE #0 r212901: Mon Sep 27 01:28:33 CEST 2010 root at alderaan.home.poildetroll.net:/usr/obj/usr/src/sys/ALDERAAN amd64
>Description:

editors/vim plist is wrong when $PREFIX/share/icons/hicolor/48x48/apps/ doesn't exist, because the gvim.png file isn't installed in this case.
This makes make package, pkg_delete and so on to complain:
tar: share/icons/hicolor/48x48/apps/gvim.png: Cannot stat: No such file or directory

And this is because of this in the install step:
if test -d /usr/local/share/icons/hicolor/48x48/apps -a -w /usr/local/share/icons/hicolor/48x48/apps  -a ! -f /usr/local/share/icons/hicolor/48x48/apps/gvim.png; then  cp ../runtime/vim48x48.png /usr/local/share/icons/hicolor/48x48/apps/gvim.png;  fi

I don't know a proper way to fix it. Maybe by creating the missing directory if missing?

Thanks.

>How-To-Repeat:
% cd /usr/ports/editors/vim
% make
% make install
% make package
or
% make deinstall

>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list