From bdrewery@FreeBSD.org  Sun Aug 19 21:22:35 2012
Return-Path: <bdrewery@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id B17F3106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 19 Aug 2012 21:22:35 +0000 (UTC)
	(envelope-from bdrewery@FreeBSD.org)
Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28])
	by mx1.freebsd.org (Postfix) with ESMTP id 7D7C08FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 19 Aug 2012 21:22:35 +0000 (UTC)
Received: from freefall.freebsd.org (localhost [127.0.0.1])
	by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q7JLMZ8P004004
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 19 Aug 2012 21:22:35 GMT
	(envelope-from bdrewery@freefall.freebsd.org)
Received: (from bdrewery@localhost)
	by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q7JLMZdF004003
	for FreeBSD-gnats-submit@freebsd.org; Sun, 19 Aug 2012 21:22:35 GMT
	(envelope-from bdrewery)
Received: (qmail 45514 invoked from network); 19 Aug 2012 16:22:32 -0500
Received: from unknown (HELO test8.xzibition.com) (10.10.0.34)
  by sweb.xzibition.com with SMTP; 19 Aug 2012 16:22:32 -0500
Received: by test8.xzibition.com (sSMTP sendmail emulation); Sun, 19 Aug 2012 16:21:21 -0500
Message-Id: <201208192122.q7JLMZdF004003@freefall.freebsd.org>
Date: Sun, 19 Aug 2012 16:21:21 -0500
From: Bryan Drewery <bdrewery@freebsd.org>
Reply-To: Bryan Drewery <bdrewery@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] textproc/iksemel: Fails to build due to missing pkgconfig dependency
X-Send-Pr-Version: 3.113
X-GNATS-Notify: rhaamo@gruik.at

>Number:         170771
>Category:       ports
>Synopsis:       [PATCH] textproc/iksemel: Fails to build due to missing pkgconfig dependency
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bdrewery
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 19 21:30:08 UTC 2012
>Closed-Date:    Sun Sep 02 21:23:31 UTC 2012
>Last-Modified:  Sun Sep  2 21:30:16 UTC 2012
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->bdrewery 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Aug 19 21:30:23 UTC 2012 
Responsible-Changed-Why:  
Submitter has GNATS access (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170771 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sun Aug 19 21:30:30 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170771 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: rhaamo@gruik.at
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/170771: [PATCH] textproc/iksemel: Fails to build due to missing pkgconfig dependency
Date: Sun, 19 Aug 2012 21:30:27 UT

 Maintainer of textproc/iksemel,
 
 Please note that PR ports/170771 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170771
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->closed 
State-Changed-By: bdrewery 
State-Changed-When: Sun Sep 2 21:23:29 UTC 2012 
State-Changed-Why:  
Committed due to 2 week maintainer timeout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170771 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/170771: commit references a PR
Date: Sun,  2 Sep 2012 21:23:17 +0000 (UTC)

 Author: bdrewery
 Date: Sun Sep  2 21:23:07 2012
 New Revision: 303577
 URL: http://svn.freebsd.org/changeset/ports/303577
 
 Log:
   - Fix build by adding dependency on pkgconfig
   - Remove ABI version from LIB_DEPENDS
   
   PR:		ports/170771 [1]
   Submitted by:	bdrewery [1]
   PR:		ports/171139 [2]
   Submitted by:	Frank Wall <fw@moov.de> [2]
   Approved by:	maintainer timeout (2w)
   Approved by:	bapt (mentor)
 
 Modified:
   head/textproc/iksemel/Makefile
 
 Modified: head/textproc/iksemel/Makefile
 ==============================================================================
 --- head/textproc/iksemel/Makefile	Sun Sep  2 21:01:06 2012	(r303576)
 +++ head/textproc/iksemel/Makefile	Sun Sep  2 21:23:07 2012	(r303577)
 @@ -14,7 +14,7 @@ MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
  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 @@ GNU_CONFIGURE=	yes
  CPPFLAGS+=	${CXXFLAGS} -I${LOCALBASE}/include
  LDFLAGS+=	-L${LOCALBASE}/lib
  USE_LDCONFIG=	yes
 +USE_PKGCONFIG=	build
  
  INFO=	iksemel
  
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
