ports/183992: [PATCH] security/gnutls3: fix LIBTASN1 option
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Nov 15 11:00:04 UTC 2013
>Number: 183992
>Category: ports
>Synopsis: [PATCH] security/gnutls3: fix LIBTASN1 option
>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 Nov 15 11:00:03 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Sunpoet Po-Chuan Hsieh
>Release: FreeBSD 10.0-BETA3 amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 10.0-BETA3 FreeBSD 10.0-BETA3 #0 r257593: Mon Nov 4 17:36:04
>Description:
- Enable LIBTASN1 option
- Reword LIBTASN1_DESC
Port maintainer (wg at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.99_10 (mode: change, diff: SVN)
>How-To-Repeat:
Steps:
1. Do not install security/libtasn1 or rename /usr/local/lib/libtasn1.so.7 temporarily
2. Turn on LIBTASN1 option
3. make run-depends-list
and you'll notice that /usr/ports/security/libtasn1 is missing!
>Fix:
--- gnutls3-3.1.16_1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile (revision 333850)
+++ Makefile (working copy)
@@ -43,13 +43,13 @@
OPTIONS_DEFAULT= CXX
OPTIONS_SUB= yes
-LIBTASN1_DESC= Use system libtasn1
+LIBTASN1_DESC= Use libtasn1 from ports
CXX_CONFIGURE_ENABLE= cxx
.include <bsd.port.options.mk>
-.if defined(PORT_OPTIONS:MLIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.7)
+.if ${PORT_OPTIONS:MLIBTASN1} || exists(${LOCALBASE}/lib/libtasn1.so.7)
LIB_DEPENDS+= libtasn1.so:${PORTSDIR}/security/libtasn1
.else
CONFIGURE_ARGS+= --with-included-libtasn1
--- gnutls3-3.1.16_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list