components/pcre/patches/03-test-driver.patch
author Rich Burridge <rich.burridge@oracle.com>
Fri, 04 Mar 2016 13:32:34 -0800
branchs11u3-sru
changeset 5552 4e17dd2a1b16
parent 4583 66352b5ed68a
permissions -rw-r--r--
22492633 problem in LIBRARY/PCRE

Comment out the set -u (nounset) shell option in test-driver,
which errors out when encountering unset variables.
During "gmake test" the pcregrep binary is never called because it
causes a problem in the pcregrep libtool wrapper for
an unset variable $libtool_install_magic.
Problem is not seen when running "gmake check" directly from
command line.  Solaris-specific patch not appropriate for upstream.

--- pcre-8.37-orig/test-driver	2015-04-28 04:17:22.000000000 -0700
+++ pcre-8.37/test-driver	2015-06-19 11:43:59.905679371 -0700
@@ -29,7 +29,7 @@ scriptversion=2013-07-13.22; # UTC
 
 # Make unconditional expansion of undefined variables an error.  This
 # helps a lot in preventing typo-related bugs.
-set -u
+# set -u
 
 usage_error ()
 {