Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2008 11:54:16 -0800 (AKDT)
From:      Mel <mel.xyzzy@rachie.is-a-geek.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        MAINTAINER <nistor@snickers.org>
Subject:   ports/121650: [PATCH] make bmon pick up available libraries
Message-ID:  <20080312195416.CF48F1CCEE@snoogles.rachie.is-a-geek.net>
Resent-Message-ID: <200803122020.m2CKK2BS085377@freefall.freebsd.org>

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

>Number:         121650
>Category:       ports
>Synopsis:       [PATCH] make bmon pick up available libraries
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 12 20:20:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Mel
>Release:        FreeBSD 6.3-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD snoogles.rachie.is-a-geek.net 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #8: Wed Dec 19 02:41:13 AKST 2007 root@smoochies.rachie.is-a-geek.net:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
net/bmon doesn't pick up libdbi, if it's present (and possibly others).
>How-To-Repeat:
cd /usr/ports/databases/libdbi && make install
cd /usr/ports/net/bmon &&make configure

Note that dbi is not recognized as present, config.log shows ld can't find libdbi.

>Fix:
--- Makefile.orig	2005-10-08 06:35:37.000000000 -0800
+++ Makefile	2008-03-12 11:46:40.000000000 -0800
@@ -16,6 +16,8 @@
 GNU_CONFIGURE=	YES
 USE_GMAKE=	YES
 MAKEFILE=	GNUmakefile
+CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
 
 MAN1=		bmon.1
 PLIST_FILES=	sbin/bmon



>Release-Note:
>Audit-Trail:
>Unformatted:



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