ports/178313: security/libtasn1 has an unneeded run time dependency to devel/pkgconf
Kimmo Paasiala
kpaasial at gmail.com
Fri May 3 07:10:00 UTC 2013
>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 at 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:
More information about the freebsd-ports-bugs
mailing list