diff options
Diffstat (limited to 'math/grace/files/patch-configure')
-rw-r--r-- | math/grace/files/patch-configure | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/math/grace/files/patch-configure b/math/grace/files/patch-configure new file mode 100644 index 000000000000..71e9b196a5d8 --- /dev/null +++ b/math/grace/files/patch-configure @@ -0,0 +1,21 @@ +--- configure.orig Fri Feb 16 23:44:49 2007 ++++ configure Tue Apr 24 21:04:24 2007 +@@ -8184,7 +8184,7 @@ + # It thinks the first close brace ends the variable substitution. + test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' + +-test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' ++test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL} -m 555' + + test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +@@ -15181,7 +15181,8 @@ + int main(void) { + char *vlib; + vlib = nc_inq_libvers(); +- if (strcmp(vlib, "3.0") < 0) { ++ // FreeBSD: only check the major == 3 ++ if (vlib[1] != '3') { + exit(1); + } + exit(0); |