Date: Sat, 05 Mar 2011 18:10:08 +0300 From: Anonymous <swell.k@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/155293: [regression][patch] devel/libevent2: no compat headers via pkg-config Message-ID: <86fwr1pprj.fsf@gmail.com> Resent-Message-ID: <201103051520.p25FKAia029136@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 155293 >Category: ports >Synopsis: [regression][patch] devel/libevent2: no compat headers via pkg-config >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: Sat Mar 05 15:20:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Anonymous >Release: FreeBSD 9.0-CURRENT amd64 >Organization: >Environment: >Description: Allow pkg-config users to find libevent14 compatability headers. Unlike vanilla sources the port moves the headers outside directory advertised via pkg-config. So, depending ports that use them and pkg-config are forced to alter CFLAGS manually. >How-To-Repeat: >Fix: --- a.diff begins here --- Index: devel/libevent2/Makefile =================================================================== RCS file: /a/.cvsup/ports/devel/libevent2/Makefile,v retrieving revision 1.2 diff -u -p -r1.2 Makefile --- devel/libevent2/Makefile 2 Mar 2011 20:14:26 -0000 1.2 +++ devel/libevent2/Makefile 5 Mar 2011 14:49:29 -0000 @@ -48,6 +48,8 @@ post-patch: @${REINPLACE_CMD} -E \ -e "s,^pkgconfigdir =.*,pkgconfigdir = \$$(prefix)/libdata/pkgconfig,g" \ ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} '/^Cflags:/s|$$| -I$${includedir}/event2/compat|' \ + ${WRKSRC}/*.pc.in post-install: @${INSTALL_SCRIPT} ${WRKSRC}/event_rpcgen.py ${PREFIX}/bin/event2_rpcgen.py --- a.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86fwr1pprj.fsf>