Bug 178313 - security/libtasn1 has an unneeded run time dependency to devel/pkgconf
Summary: security/libtasn1 has an unneeded run time dependency to devel/pkgconf
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Roman Bogorodskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-03 08:10 UTC by Kimmo Paasiala
Modified: 2013-06-01 17:53 UTC (History)
0 users

See Also:


Attachments
file.diff (566 bytes, patch)
2013-05-03 08:10 UTC, Kimmo Paasiala
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kimmo Paasiala 2013-05-03 08:10:00 UTC
Port security/libtasn1 has a run time dependency to devel/pkgconf. Only a build time dependency to devel/pkgconf would suffice.

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:
How-To-Repeat: Install security/libtasn1 and query for it's run time dependencies with for example 'pkg info -d libtasn1'.
Comment 1 Edwin Groothuis freebsd_committer 2013-05-03 08:10:08 UTC
Responsible Changed
From-To: freebsd-ports-bugs->novel

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Kimmo Paasiala 2013-05-03 09:32:49 UTC
The patch also changes the post-patch target to USES+= pathfix.
Comment 3 dfilter service freebsd_committer 2013-06-01 17:48:01 UTC
Author: novel
Date: Sat Jun  1 16:47:48 2013
New Revision: 319580
URL: http://svnweb.freebsd.org/changeset/ports/319580

Log:
  Convert to USES for pkgconfig and pkgconfig.
  
  PR:		178313
  Submitted by:	Kimmo Paasiala <kpaasial@gmail.com>

Modified:
  head/security/libtasn1/Makefile

Modified: head/security/libtasn1/Makefile
==============================================================================
--- head/security/libtasn1/Makefile	Sat Jun  1 16:47:41 2013	(r319579)
+++ head/security/libtasn1/Makefile	Sat Jun  1 16:47:48 2013	(r319580)
@@ -11,7 +11,7 @@ MAINTAINER=	novel@FreeBSD.org
 COMMENT=	ASN.1 structure parser library
 
 USE_LDCONFIG=	yes
-USE_GNOME=	pkgconfig
+USES=		pkgconfig pathfix
 GNU_CONFIGURE=	yes
 USE_GMAKE=	yes
 
@@ -56,10 +56,6 @@ MAN3=		asn1_array2tree.3 \
 		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}
_______________________________________________
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"
Comment 4 Roman Bogorodskiy freebsd_committer 2013-06-01 17:53:58 UTC
State Changed
From-To: open->closed

Committed, thanks!