Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Aug 2012 20:28:24 GMT
From:      Mykhaylo Yehorov <yehorov@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/170835: net/ifstated fails to build because of incorrect lib dependency
Message-ID:  <201208212028.q7LKSOc3050254@red.freebsd.org>
Resent-Message-ID: <201208212030.q7LKU9K1054175@freefall.freebsd.org>

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

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



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