diff --git a/scripts/pkgconfig.req.in b/scripts/pkgconfig.req.in index ea44ae3..c764f4d 100755 --- a/scripts/pkgconfig.req.in +++ b/scripts/pkgconfig.req.in @@ -42,7 +42,8 @@ PkgconfigReqProv() case "$1" in *[!A-Za-z0-9_.+-]*) Fatal "$f: invalid pkg-config output: $line" ;; - [A-Za-z0-9_]*) ;; + [A-Za-z0-9]*) ;; + [_+]*[A-Za-z0-9]*) ;; *) Fatal "$f: invalid pkg-config output: $line" ;; esac if [ $# = 1 ]; then @@ -56,7 +57,8 @@ PkgconfigReqProv() case "$3" in *[!A-Za-z0-9_.+-]*) Fatal "$f: invalid pkg-config output: $line" ;; - [A-Za-z0-9_]*) ;; + [A-Za-z0-9]*) ;; + [_+]*[A-Za-z0-9]*) ;; *) Fatal "$f: invalid pkg-config output: $line" ;; esac echo "pkgconfig($1) $2 $3"