ports/170835: net/ifstated fails to build because of incorrect lib dependency

Mykhaylo Yehorov yehorov at gmail.com
Tue Aug 21 20:30:10 UTC 2012


>Number:         170835
>Category:       ports
>Synopsis:       net/ifstated fails to build because of incorrect lib dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 21 20:30:09 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Mykhaylo Yehorov
>Release:        FreeBSD 9-STABLE
>Organization:
>Environment:
FreeBSD eye.lan29.local 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #15: Tue Aug  7 15:58:05 EEST 2012     mika at atom.lan29.local:/usr/obj/usr/src/sys/MINI_KVA384  i386
>Description:
Port net/ifstated depends on libevent library.
If devel/libevent2 is installed and devel/libevent is not installed make program assumes that required library is found but compiler can't find for header files.

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

--- Makefile.orig	2012-04-09 14:25:40.000000000 +0300
+++ Makefile	2012-08-21 23:04:06.877395340 +0300
@@ -7,6 +7,7 @@
 
 PORTNAME=	ifstated
 PORTVERSION=	5.1
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	net
 MASTER_SITES=	http://christianserving.org/ports/net/ifstated/
@@ -14,7 +15,7 @@
 MAINTAINER=	ports at christianserving.org
 COMMENT=	Interface state daemon
 
-LIB_DEPENDS=	event:${PORTSDIR}/devel/libevent
+LIB_DEPENDS=	event-1:${PORTSDIR}/devel/libevent
 
 MAN5=		ifstated.conf.5
 MAN8=		ifstated.8


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



More information about the freebsd-ports-bugs mailing list