Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  7 Jul 2002 21:28:41 +1000 (EST)
From:      Edwin Groothuis <edwin@mavetju.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40285: [patch] Fix graphics/gridpix due to change in graphics/netpbm
Message-ID:  <20020707112841.A9C946A711E@k7.mavetju>

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

>Number:         40285
>Category:       ports
>Synopsis:       [patch] Fix graphics/gridpix 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:   Sun Jul 07 04:30:01 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/graphics/gridpix/Makefile,v 1.11 2000/10/08 10:20:21 asami 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.*.
gridpix hasn't updated this dependency.

>How-To-Repeat:

cd /usr/ports/graphics/gridpix
make

>Fix:

*** Add the following file: files/patch-Makefile

--- Makefile.old	Sun Jul  7 21:26:07 2002
+++ Makefile	Sun Jul  7 21:26:23 2002
@@ -62,7 +62,7 @@
 # Standard rules
 CFLAGS=	-O -pipe -Wall -I/usr/X11R6/include -I${PREFIX}/include ${EXTRA_FLAGS} -DGRIDROOT=\"${GRIDROOT}\" -DGRIDSUBDIR=\"${GRIDSUBDIR}\"
 LDFLAGS= -static -O
-LDLIBS=	-L/usr/X11R6/lib -lppm -lpgm -lpbm -L${PREFIX}/lib -ljpeg -lm
+LDLIBS=	-L/usr/X11R6/lib -lnetpbm -L${PREFIX}/lib -ljpeg -lm
 
 PROGS=	gridpack gridunpack mkhtml gpxinfo
 OBJS=	${PROGS:S/$/.o/} utils.c

*** Run the following patch

--- Makefile.old	Sun Jul  7 21:25:29 2002
+++ Makefile	Sun Jul  7 21:25:43 2002
@@ -14,7 +14,7 @@
 
 MAINTAINER=	asami@FreeBSD.org
 
-BUILD_DEPENDS=	${LOCALBASE}/lib/libpnm.a:${PORTSDIR}/graphics/netpbm
+BUILD_DEPENDS=	${LOCALBASE}/lib/libnetpbm.a:${PORTSDIR}/graphics/netpbm
 LIB_DEPENDS=	jpeg.9:${PORTSDIR}/graphics/jpeg
 
 # create necessary directories -- don't want to depend on an http

>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?20020707112841.A9C946A711E>