- Fix build on 5.x

PR:		ports/78561
Submitted by:	Johan van Selst <johans@stack.nl>
This commit is contained in:
Michael Johnson 2005-03-09 09:46:20 +00:00
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

View file

@ -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

View 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 */;
}
}