mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 02:16:27 -04:00
- Fix build on 5.x
PR: ports/78561 Submitted by: Johan van Selst <johans@stack.nl>
This commit is contained in:
parent
d535ce2f09
commit
bd68b79b94
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130696
2 changed files with 18 additions and 4 deletions
|
@ -34,10 +34,6 @@ MAKE_ENV= PTHREAD_LIBS="${PTHREAD_LIBS}"
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 502126
|
||||
BROKEN= "Does not compile on FreeBSD >= 5.x"
|
||||
.endif
|
||||
|
||||
pre-patch:
|
||||
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
||||
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
||||
|
|
18
math/scigraphica/files/patch-src::python::python_config.c
Normal file
18
math/scigraphica/files/patch-src::python::python_config.c
Normal file
|
@ -0,0 +1,18 @@
|
|||
--- src/python/python_config.c.orig Mon Mar 7 22:00:46 2005
|
||||
+++ src/python/python_config.c Mon Mar 7 22:00:53 2005
|
||||
@@ -236,6 +236,7 @@
|
||||
}
|
||||
break;
|
||||
default:
|
||||
+ break; /* do nothing */;
|
||||
}
|
||||
}
|
||||
#ifdef WITH_GNOME
|
||||
@@ -610,6 +611,7 @@
|
||||
break;
|
||||
|
||||
default:
|
||||
+ break;/* do nothing */;
|
||||
}
|
||||
}
|
||||
|
Loading…
Add table
Reference in a new issue