Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 2010 20:33:07 +0200
From:      "Pierre Guinoiseau" <geekounet@poildetroll.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/151396: editors/vim plist is wrong when $PREFIX/share/icons/hicolor/48x48/apps/ doesn't exist
Message-ID:  <20101011183310.60B5D1065673@hub.freebsd.org>
Resent-Message-ID: <201010111840.o9BIe1xK009334@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101011183310.60B5D1065673>