Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Aug 2012 16:21:21 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/170771: [PATCH] textproc/iksemel: Fails to build due to missing pkgconfig dependency
Message-ID:  <201208192122.q7JLMZdF004003@freefall.freebsd.org>
Resent-Message-ID: <201208192130.q7JLU8Y3004255@freefall.freebsd.org>

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

>Number:         170771
>Category:       ports
>Synopsis:       [PATCH] textproc/iksemel: Fails to build due to missing pkgconfig dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 19 21:30:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Bryan Drewery
>Release:        FreeBSD 8.3-RELEASE i386
>Organization:
>Environment:
	
>Description:
	Due to the recent changes with pkgconf [1], security/gnutls (a lib depends of iksemel) was changed [2] to only depend on pkgconf at build time.

	iksemel is missing a proper build dependency on pkgconfig, so it is now failing to build [3]

	Attached patch fixes to depend on pkgconfig via USE_PKGCONFIG, and also fixes LIB_DEPENDS to not use a versioned lib as any version should be ok.

	[1] http://lists.freebsd.org/pipermail/freebsd-ports/2012-July/077043.html
	[2] http://www.freshports.org/commit.php?category=security&port=gnutls&files=yes&message_id=201208151357.q7FDv1RK063257@svn.freebsd.org
	[3] http://redports.org/~bdrewery/20120818181834-46080-50801/iksemel-1.4_3.log
>How-To-Repeat:
	
>Fix:

	

--- patch-textproc-iksemel-pkgconf.txt begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 302768)
+++ Makefile	(working copy)
@@ -14,7 +14,7 @@
 MAINTAINER=	rhaamo@gruik.at
 COMMENT=	XML parser library mainly designed for Jabber applications
 
-LIB_DEPENDS=	gnutls.47:${PORTSDIR}/security/gnutls
+LIB_DEPENDS=	gnutls:${PORTSDIR}/security/gnutls
 
 USE_AUTOTOOLS=	aclocal autoheader automake autoconf libtool
 ACLOCAL_ARGS=	-I ${LOCALBASE}/share/aclocal
@@ -22,6 +22,7 @@
 CPPFLAGS+=	${CXXFLAGS} -I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 USE_LDCONFIG=	yes
+USE_PKGCONFIG=	build
 
 INFO=	iksemel
 
--- patch-textproc-iksemel-pkgconf.txt ends here ---


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



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