1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= Command line option parsing library
8 HOMEPAGE= http://freshmeat.net/projects/popt/
12 SITES[main]= http://ftp.rpm.org/popt/releases/popt-1.x/
13 https://fossies.org/linux/misc/
14 DISTFILE[1]= popt-1.18.tar.gz:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
21 USES= cpe iconv libtool fbsd10fix
23 CPE_VENDOR= popt_project
24 FPC_EQUIVALENT= devel/popt
27 CONFIGURE_ARGS= --disable-nls
29 INSTALL_TARGET= install-strip
32 [FILE:447:descriptions/desc.single]
33 This is the popt command line option parsing library. While it is similar
34 to getopt(3), it contains a number of enhancements, including:
36 1) popt is fully reentrant
37 2) popt can parse arbitrary argv[] style arrays while
38 getopt(2) makes this quite difficult
39 3) popt allows users to alias command line arguments
40 4) popt provides convenience functions for parsing strings
41 into argv[] style arrays
45 5159bc03a20b28ce363aa96765f37df99ea4d8850b1ece17d1e6ad5c24fdc5d1 580569 popt-1.18.tar.gz
48 [FILE:140:manifests/plist.single]
53 libpopt.so.%%SOMAJOR%%
54 libpopt.so.%%SOVERSION%%
56 share/man/man3/popt.3.gz
59 [FILE:731:patches/patch-src_poptconfig.c]
60 $NetBSD: patch-src_poptconfig.c,v 1.1 2020/08/15 01:02:42 tnn Exp $
62 date: 2009-04-22 17:25:05 +0200; author: tnn; state: Exp; lines: +14 -11;
63 patch-aa: fix devel/popt build on NetBSD-current (>=5.99.11) which
64 has glob_pattern_p(3) in libc.
65 Reported in PR pkg/41265.
67 --- src/poptconfig.c.orig 2020-04-16 10:32:54 UTC
70 #if defined(HAVE_GLOB_H)
73 -#if !defined(__GLIBC__)
74 +#if defined(__NetBSD__)
75 +#include <sys/param.h>
77 +#if !defined(__GLIBC__) && (!defined(__NetBSD__) || __NetBSD_Version__ < 599001100)
78 /* Return nonzero if PATTERN contains any metacharacters.
79 Metacharacters can be quoted with backslashes if QUOTE is nonzero. */