Date: 16 Mar 2003 21:38:39 -0000 From: Sergei Kolobov <sergei@kolobov.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/50057: [MAINTAINER] Unbreak security/gnutls by fixing check for getopt_long in security/libtasn1 Message-ID: <20030316213839.61007.qmail@outpost.globcon.net>
next in thread | raw e-mail | index | archive | help
>Number: 50057 >Category: ports >Synopsis: [MAINTAINER] Unbreak security/gnutls by fixing check for getopt_long in security/libtasn1 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Mar 16 13:40:05 PST 2003 >Closed-Date: >Last-Modified: >Originator: Sergei Kolobov >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Oct 14 02:23:23 MSD 2002 sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST i386 >Description: - Check for presence of getopt_long by OSVERSION as opposed to existence of getopt.h. This was breaking the build of security/gnutls. Noticed by: bento Suggested by: kris >How-To-Repeat: >Fix: --- libtasn1-0.2.1.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/security/libtasn1/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 2003/02/27 20:09:41 1.6 +++ Makefile 2003/03/16 21:33:46 @@ -17,7 +17,9 @@ MAINTAINER= sergei@kolobov.com COMMENT= ASN.1 structure parser library -.if !exists(/usr/include/getopt.h) +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500041 LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lgnugetopt @@ -43,4 +45,4 @@ .endfor .endif -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- libtasn1-0.2.1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030316213839.61007.qmail>