Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 May 2004 21:58:51 +0400
From:      Roman Bogorodskiy <bogorodskiy@inbox.ru>
To:        Pav Lucistnik <pav@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:    Re: ports/66423: [ maintainer ] devel/phptags: USE_GETOPT_LONG issue
Message-ID:  <20040509175850.GA18711@lame.novel.ru>
In-Reply-To: <200405091703.i49H3qBM019165@freefall.freebsd.org>
References:  <200405091703.i49H3qBM019165@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
 Pav wrote:

> Synopsis: [ maintainer ] devel/phptags: USE_GETOPT_LONG issue
> 
> State-Changed-From-To: open->closed
> State-Changed-By: pav
> State-Changed-When: Sun May 9 10:02:58 PDT 2004
> State-Changed-Why: 
> Not really. This is build log when I remove USE_GETOPT_LONG:
> 
> http://hood.oook.cz/tb/errors/4-STABLE-FreeBSD/phptags-0.1.log

Hm, that means including getopt.h was my mistake (as a phptags author), 
since getopt(3) is declarated in unistd.h. I think that a better
solution is to put a such little patch to files/ dir instead of using 
USE_GETOPT_LONG.

--- src/phptags.cc.orig	Wed May  5 13:16:43 2004
+++ src/phptags.cc	Sun May  9 21:46:11 2004
@@ -29,7 +29,6 @@
 #include <stdlib.h> 
 #include <string.h> 
 #include <ctype.h> 
-#include <getopt.h>
 #include <unistd.h>
 
 #include "phptags.hh"
 
-Roman Bogorodskiy



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040509175850.GA18711>