1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00

Remove #include <values.h> to partially fix build on -current (still

badly broken).  Mark BROKEN on 5.x.
This commit is contained in:
Kris Kennaway 2002-10-25 08:32:12 +00:00
parent 84d5810d23
commit 83d131f8e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=68791
2 changed files with 18 additions and 1 deletions

View File

@ -18,6 +18,12 @@ ALL_TARGET= lib
INSTALL_TARGET= lib
USE_GMAKE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 500035
BROKEN= "Does not compile under 5.x"
.endif
post-patch:
@( cd ${WRKSRC}; ${SED} -e 's|%%CXXFLAGS%%|${CXXFLAGS}|g' \
-e 's|%%CXX%%|${CXX}|g' c++ > c++.sed; mv c++.sed c++; ${CHMOD} +x c++ )
@ -38,4 +44,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/LinAlg
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -0,0 +1,11 @@
--- LinAlg.h.orig Fri Oct 25 01:30:42 2002
+++ LinAlg.h Fri Oct 25 01:30:53 2002
@@ -73,7 +73,7 @@
#include "myenv.h"
#include "std.h"
-#if defined(__GNUC__) && __GNUC_MINOR__ < 90
+#if defined(__GNUC__) && __GNUC_MINOR__ < 90 && !defined(__FreeBSD__)
#include <values.h>
#else
#include <limits.h>