From sanpei@sanpei.org  Fri Dec 10 01:25:39 1999
Return-Path: <sanpei@sanpei.org>
Received: from titanium.yy.ics.keio.ac.jp (titanium.yy.ics.keio.ac.jp [131.113.47.73])
	by hub.freebsd.org (Postfix) with ESMTP
	id 19FAD153CD; Fri, 10 Dec 1999 01:25:32 -0800 (PST)
	(envelope-from sanpei@sanpei.org)
Received: from lavender.yy.cs.keio.ac.jp (u1033.seaple.icc.ne.jp [210.170.9.33])
	by titanium.yy.ics.keio.ac.jp (8.9.3+3.2W/3.7W) with ESMTP id SAA16430;
	Fri, 10 Dec 1999 18:25:15 +0900 (JST)
	(envelope-from sanpei@sanpei.org)
Received: (from sanpei@localhost)
	by lavender.yy.cs.keio.ac.jp (8.9.3/3.7W) id SAA39711;
	Fri, 10 Dec 1999 18:25:14 +0900 (JST)
Message-Id: <199912100925.SAA39711@lavender.yy.cs.keio.ac.jp>
Date: Fri, 10 Dec 1999 18:25:14 +0900 (JST)
From: sanpei@sanpei.org
Reply-To: sanpei@sanpei.org
To: FreeBSD-gnats-submit@freebsd.org
Cc: jfitz@FreeBSD.org
Subject: fix port: net/mrtg (BUILD/LIB_DEPEND problem)
X-Send-Pr-Version: 3.2

>Number:         15395
>Category:       ports
>Synopsis:       fix port: net/mrtg (BUILD/LIB_DEPEND problem)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    jfitz
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 10 01:30:02 PST 1999
>Closed-Date:    Wed Mar 8 17:49:21 PST 2000
>Last-Modified:  Wed Mar  8 17:49:55 PST 2000
>Originator:     MIHIRA Yoshiro
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Yokohama, Japan
>Environment:

FreeBSD lily.sanpei.org 3.3-RELEASE FreeBSD 3.3-RELEASE #2: Fri Dec 10 13:46:25 JST 1999     sanpei@lily2.sanpei.org:/usr/src/sys/compile/LILY  i386

>Description:

  I install mrtg package via sysinstall, but gd library
(graphics/gd) was not installed automatically.

  I think gd needs to LIB_DEPENDS, not BUILD_DEPENDS for mrtg.

  I create below patch.

Thank you.

>How-To-Repeat:

install mrtg via package with sysinstall.

>Fix:

--- net/mrtg/Makefile.org	Fri Dec 10 17:54:58 1999
+++ net/mrtg/Makefile	Fri Dec 10 17:55:30 1999
@@ -12,7 +12,7 @@
 
 MAINTAINER=	jfitz@FreeBSD.org
 
-BUILD_DEPENDS=	${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
+LIB_DEPENDS=	${PREFIX}/lib/libgd.a:${PORTSDIR}/graphics/gd
 
 USE_PERL5=	YES
 MAKE_ENV+=	PERL=${PERL}

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->jfitz 
Responsible-Changed-By: steve 
Responsible-Changed-When: Thu Dec 23 20:18:47 PST 1999 
Responsible-Changed-Why:  
Over to port's maintainer. 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Wed Mar 8 17:49:21 PST 2000 
State-Changed-Why:  
Seems I already committed a fix for this one. :) 
>Unformatted:
