Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2013 07:07:03 GMT
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/178313: security/libtasn1 has an unneeded run time dependency to devel/pkgconf
Message-ID:  <201305030707.r437735c054168@red.freebsd.org>
Resent-Message-ID: <201305030710.r437A0w5029135@freefall.freebsd.org>

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

>Number:         178313
>Category:       ports
>Synopsis:       security/libtasn1 has an unneeded run time dependency to devel/pkgconf
>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:   Fri May 03 07:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Kimmo Paasiala
>Release:        9.1-RELEASE
>Organization:
>Environment:
FreeBSD firewall.rdnzl.info 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0 r250077: Tue Apr 30 13:03:31 EEST 2013     kimmo@firewall.rdnzl.info:/usr/obj/usr/src/sys/FIREWALL  i386
>Description:
Port security/libtasn1 has a run time dependency to devel/pkgconf. Only a build time dependency to devel/pkgconf would suffice.
>How-To-Repeat:
Install security/libtasn1 and query for it's run time dependencies with for example 'pkg info -d libtasn1'.
>Fix:
The attached patch changes the Makefile of security/libtasn1 to use the USES directives and changes the dependency to devel/pkgconf to be build time only.


Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 317168)
+++ Makefile	(working copy)
@@ -11,7 +11,8 @@
 COMMENT=	ASN.1 structure parser library
 
 USE_LDCONFIG=	yes
-USE_GNOME=	pkgconfig
+USES=	pkgconfig
+USES+=	pathfix
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 
@@ -56,10 +57,6 @@
 		libtasn1_perror.3 \
 		libtasn1_strerror.3
 
-post-patch:
-	@${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
-		${WRKSRC}/lib/Makefile.in
-
 .if !defined(NOPORTDOCS)
 post-install:
 	@${MKDIR} ${DOCSDIR}


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



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