Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2014 03:39:24 GMT
From:      Kenji Rikitake <kenji@k2r.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188585: dns/unbound does not build when libevent-1.4 option enabled
Message-ID:  <201404140339.s3E3dONG056195@cgiserv.freebsd.org>
Resent-Message-ID: <201404140340.s3E3e09B052502@freefall.freebsd.org>

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

>Number:         188585
>Category:       ports
>Synopsis:       dns/unbound does not build when libevent-1.4 option enabled
>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:   Mon Apr 14 03:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Kenji Rikitake
>Release:        10.0-STABLE
>Organization:
>Environment:
FreeBSD minimax.priv.k2r.org 10.0-STABLE FreeBSD 10.0-STABLE #33 r264285: Wed Apr  9 09:25:02 JST 2014     root@minimax.priv.k2r.org:/usr/obj/usr/src/sys/K2RKERNEL  amd64
>Description:
Port dns/unbound build fails when LIBEVENT14 option is enabled in `make config`.
>How-To-Repeat:
cd /usr/ports/dns/unbound
make config # then enable LIBEVENT14
make

>Fix:
LIB_DEPENDS for libevent14 was not properly set in Makefile. Patch attached.

Patch attached with submission follows:

--- Makefile.FCS	2014-04-13 04:43:33.000000000 +0900
+++ Makefile	2014-04-14 12:32:49.000000000 +0900
@@ -84,7 +84,7 @@
 .endif
 
 .if ${PORT_OPTIONS:MLIBEVENT14}
-LIB_DEPENDS+=	libevent-1.4:${PORTSDIR}/devel/libevent
+LIB_DEPENDS+=	libevent-1.4.so:${PORTSDIR}/devel/libevent
 CONFIGURE_ARGS+=--with-libevent=${LOCALBASE}
 .elif ${PORT_OPTIONS:MLIBEVENT20}
 LIB_DEPENDS+=	libevent-2.0.so:${PORTSDIR}/devel/libevent2


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



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