Subject: pkg/33347: graphics/netpbm fails to build on current/amd64
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <martijnb@atlas.ipv6.stack.nl>
List: pkgsrc-bugs
Date: 04/24/2006 11:55:01
>Number:         33347
>Category:       pkg
>Synopsis:       graphics/netpbm fails to build on current/amd64
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Apr 24 11:55:00 +0000 2006
>Originator:     martijnb@atlas.ipv6.stack.nl
>Release:        NetBSD 3.99.17
>Organization:
	
>Environment:
	
	
System: NetBSD atlas.ipv6.stack.nl 3.99.17 NetBSD 3.99.17 (ATLAS) #2: Tue Mar 21 19:50:15 CET 2006 martijnb@atlas.ipv6.stack.nl:/usr/obj/sys/arch/amd64/compile/ATLAS amd64
Architecture: x86_64
Machine: amd64
>Description:
	graphics/netpbm fails to build on currrent/amd64, due to wrong 
compilation flags (-fPIC is omitted where it shouldn't be). Fix is actually
mentioned in the release notes for netpbm on 

http://sourceforge.net/project/shownotes.php?release_id=404703&group_id=5128
>How-To-Repeat:
	Try to build graphics/netpbm on a -current AMD64.
>Fix:

	Apply the following patch:

--- lib/Makefile.orig	2006-03-18 21:17:20.000000000 +0100
+++ lib/Makefile
@@ -184,7 +184,7 @@ standardppmdfont.c:standard.ppmdfont
 compile.h:
 	$(SRCDIR)/buildtools/stamp-date >$@ || rm $@
 
-util/shhopt.o util/nstring.o: FORCE
+util/shhopt.o util/nstring.o util/filename.o: FORCE
 	@if [ ! -d $(dir $@) ] ; then mkdir $(dir $@) ; fi
 	$(MAKE) -C $(dir $@) -f $(SRCDIR)/$(SUBDIR)/$(dir $@)Makefile \
 		SRCDIR=$(SRCDIR) BUILDDIR=$(BUILDDIR) $(notdir $@) 

>Unformatted: