Subject: pkg/20402: jpeg-6b buglet: LIBTOOL_OVERRIDE needed
To: None <gnats-bugs@gnats.netbsd.org>
From: None <stephen@degler.net>
List: netbsd-bugs
Date: 02/17/2003 21:43:28
>Number:         20402
>Category:       pkg
>Synopsis:       jpeg pkg needs LIBTOOL_OVERRIDE statement needed in Makefile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 17 18:44:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Stephen Degler
>Release:        NetBSD 1.6N
>Organization:
Very Little, At Best.
	
>Environment:
	
	
System: NetBSD kashmir.degler.net 1.6N NetBSD 1.6N (KASHMIR) #10: Sat Feb 15 23:04:28 EST 2003 sdegler@kashmir.degler.net:/vol1/NetBSD/kernels/KASHMIR i386
Architecture: i386
Machine: i386
>Description:
	I upgraded this box to -current and removed *all* packages to start
	from scratch.  I had a number of pkg failures rebuilding things
	because libjpeg.so wasn't installed.

>How-To-Repeat:
	pkg_delete jpeg-6b
	make jpeg-6b

	Observe the lack of shared objects installed and pkg diagnostics 
	upon install.
>Fix:

The following patch works for me.

% cvs diff -u Makefile
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/graphics/jpeg/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile    2002/08/25 18:39:13     1.19
+++ Makefile    2003/02/18 02:22:22
@@ -12,6 +12,7 @@
 COMMENT=               IJG's jpeg compression utilities
  
 USE_LIBTOOL=           yes
+LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
 LTCONFIG_OVERRIDE=     ${WRKSRC}/ltconfig
  
 USE_BUILDLINK2=                yes
>Release-Note:
>Audit-Trail:
>Unformatted: