From edwin@mavetju.org  Fri Jul  5 20:27:57 2002
Return-Path: <edwin@mavetju.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AFF8B37B400
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  5 Jul 2002 20:27:57 -0700 (PDT)
Received: from topaz.mdcc.cx (topaz.mdcc.cx [212.204.230.141])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4F00543E31
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  5 Jul 2002 20:27:57 -0700 (PDT)
	(envelope-from edwin@mavetju.org)
Received: from k7.mavetju (topaz.mdcc.cx [212.204.230.141])
	by topaz.mdcc.cx (Postfix) with ESMTP id 62AAA2B6C8
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  6 Jul 2002 05:27:55 +0200 (CEST)
Received: by k7.mavetju (Postfix, from userid 1001)
	id 6B4936A711E; Sat,  6 Jul 2002 13:27:53 +1000 (EST)
Message-Id: <20020706032753.6B4936A711E@k7.mavetju>
Date: Sat,  6 Jul 2002 13:27:53 +1000 (EST)
From: Edwin Groothuis <edwin@mavetju.org>
Reply-To: Edwin Groothuis <edwin@mavetju.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] Fix palm/ppmtoTbmp due to change in graphics/netpbm
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         40252
>Category:       ports
>Synopsis:       [patch] Fix palm/ppmtoTbmp due to change in graphics/netpbm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 05 20:30:02 PDT 2002
>Closed-Date:    Sat Jul 06 03:14:37 PDT 2002
>Last-Modified:  Sat Jul 06 03:14:37 PDT 2002
>Originator:     Edwin Groothuis
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD k7.mavetju 4.5-RELEASE FreeBSD 4.5-RELEASE #3: Mon Mar 11 13:32:05 EST 2002 edwin@k7.mavetju.org:/usr/src/sys/compile/k7 i386

# $FreeBSD: ports/palm/ppmtoTbmp/Makefile,v 1.1 2001/06/11 11:29:05 markp Exp $
# $FreeBSD: ports/graphics/netpbm/Makefile,v 1.59 2002/06/20 02:08:57 pat Exp $

>Description:

Netpbm version 10.2 (I assume) renamed libpnm.so.* to libnetpbm.so.*.
ppmtoTbmp hasn't updated this dependency.

>How-To-Repeat:

cd /usr/ports/palm/ppmtotbmp
make

>Fix:

**** 1. Create this new files: files/patch-Makefile

--- Makefile.old	Sat Jul  6 13:24:04 2002
+++ Makefile	Sat Jul  6 13:24:12 2002
@@ -1,5 +1,5 @@
 CFLAGS = -Wall -O2 -I/opt/netpbm/include
-LDLIBS = -lpnm -lppm -lpgm -lpbm
+LDLIBS = -lnetpbm
 
 BINS = ppmtoTbmp Tbmptopnm
 
**** 2. Apply this patch to Makefile:

--- Makefile.old	Sat Jul  6 13:16:06 2002
+++ Makefile	Sat Jul  6 13:17:05 2002
@@ -12,7 +12,7 @@
 
 MAINTAINER=	noway@nohow.demon.co.uk
 
-LIB_DEPENDS=	pbm.1:${PORTSDIR}/graphics/netpbm
+LIB_DEPENDS=	netpbm.1:${PORTSDIR}/graphics/netpbm
 
 post-patch:
 	${PERL} -pi -e "s|^CFLAGS.+|CFLAGS += -I${LOCALBASE}/include|g; \
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Sat Jul 6 03:14:30 PDT 2002 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=40252 
>Unformatted:
