ports/121650: [PATCH] make bmon pick up available libraries

Mel mel.xyzzy at rachie.is-a-geek.net
Wed Mar 12 20:20:03 UTC 2008


>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 at 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:



More information about the freebsd-ports-bugs mailing list