ports/66423: [ maintainer ] devel/phptags: USE_GETOPT_LONG issue
Roman Bogorodskiy
bogorodskiy at inbox.ru
Sun May 9 17:59:43 UTC 2004
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
More information about the freebsd-ports-bugs
mailing list