Skip site navigation (1)Skip section navigation (2)
Date:      Sat,  6 Jul 2002 13:27:53 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40252: [patch] Fix palm/ppmtoTbmp due to change in graphics/netpbm
Message-ID:  <20020706032753.6B4936A711E@k7.mavetju>

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

>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 05 20:30:02 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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