summaryrefslogtreecommitdiff
path: root/textproc/gnome-doc-utils/patches/patch-aa
blob: 77fc9234e94a5cad4b996693a3b388dc8ba0b81d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-aa,v 1.5 2020/03/11 12:38:06 wiz Exp $

make sure pkgsrc getopt is used, native might be insufficient

--- tools/gnome-doc-tool.in.orig	2011-01-10 16:13:20.000000000 +0000
+++ tools/gnome-doc-tool.in
@@ -548,7 +548,7 @@ create_css() {
       -lversion
       -lhelp
     ';
-    options=`getopt -qn$progname $longopts -- o:vVh "$@"`
+    options=`@GETOPT@ -qn$progname $longopts -o o:vVh -- "$@"`
     if [ "$?" != "0" ]; then print_help_css 1>&2; exit 1; fi
     eval set -- "$options";
     while [ "$1" != "--" ]; do
@@ -604,7 +604,7 @@ convert_2html() {
       -lversion
       -lhelp
     ';
-    options=`getopt -qn$progname $longopts -- c:d:e:o:x:nvVh "$@"`
+    options=`@GETOPT@ -qn$progname $longopts -o c:d:e:o:x:nvVh -- "$@"`
     if [ "$?" != "0" ]; then print_help_html $doc_format 1>&2; exit 1; fi
     eval set -- "$options";
     while [ "$1" != "--" ]; do