Subject: lib/37625: libungif problems, packages appear broken
To: None <lib-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <vidovicd@gmail.com>
List: netbsd-bugs
Date: 12/27/2007 11:30:01
>Number:         37625
>Category:       lib
>Synopsis:       libungif problems, packages appear broken
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 27 11:30:01 +0000 2007
>Originator:     Danilo Vidovic
>Release:        4.0
>Organization:
>Environment:
NetBSD liquidsky 4.0 NetBSD 4.0 (GENERIC) #0: Sun Dec 16 00:20:10 PST 2007  builds@wb34:/home/builds/ab/netbsd-4-0-RELEASE/i386/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
If a package depends on libungif, it won't compile because libungif can't be fetched. The reason for this is that the libungif project has been stopped and renamed to giflib (explained in more detail here: http://sourceforge.net/forum/forum.php?forum_id=753553).

Instead of leaving old versions in old directories, developers chose to move them from libungif/ to giflib/. Since that directory isn't in the Makefile, make knows nothing about it and libungif can't be fetched.

libungif package should be modified, as well as the makefiles for packages using giflib.
>How-To-Repeat:
Try to build a package that depends on libungif, for example windowmaker.
>Fix:
Temporary fix would be to change /usr/pkgsrc/graphics/libungif/Makefile:

6c6
< MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libungif/}
---
> MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=giflib/}