freebsd-ports/math/grace/files/patch-configure
Martin Wilke 67cfe5db5a - Update to 5.1.22
PR:		124848
Submitted by:	Ports Fury
2008-06-23 10:51:44 +00:00

21 lines
685 B
Text

--- 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);