From owner-freebsd-ports-bugs Sun Mar 16 13:40: 9 2003 Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D3D1737B401 for ; Sun, 16 Mar 2003 13:40:07 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3B8BC43F3F for ; Sun, 16 Mar 2003 13:40:06 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2GLe6NS020868 for ; Sun, 16 Mar 2003 13:40:06 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2GLe6G7020867; Sun, 16 Mar 2003 13:40:06 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AADD337B404 for ; Sun, 16 Mar 2003 13:38:38 -0800 (PST) Received: from outpost.lukarcos.com (outpost.globcon.net [62.141.88.161]) by mx1.FreeBSD.org (Postfix) with SMTP id 11A3D43F75 for ; Sun, 16 Mar 2003 13:38:37 -0800 (PST) (envelope-from sgk@outpost.globcon.net) Received: (qmail 61008 invoked by uid 911); 16 Mar 2003 21:38:39 -0000 Message-Id: <20030316213839.61007.qmail@outpost.globcon.net> Date: 16 Mar 2003 21:38:39 -0000 From: Sergei Kolobov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/50057: [MAINTAINER] Unbreak security/gnutls by fixing check for getopt_long in security/libtasn1 Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 + +.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 +.include --- 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