1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Fix build on FreeBSD7

This commit is contained in:
Tilman Keskinoz 2005-11-13 15:35:04 +00:00
parent 7e9172d092
commit 11ba587b4b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=148111
2 changed files with 15 additions and 7 deletions

View File

@ -48,10 +48,6 @@ PLISTDIR+= ${EXAMPLESDIR}
USE_GCC= 3.4
.endif
.if ${OSVERSION} >= 700000
BROKEN= "Does not build on FreeBSD >= 7.0"
.endif
post-patch:
@${GREP} -lR "share/matplotlib" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} \
-e "s,share/matplotlib,share/py-matplotlib,g"

View File

@ -1,6 +1,18 @@
--- setupext.py.orig Tue Apr 12 16:09:32 2005
+++ setupext.py Tue Apr 12 16:10:28 2005
@@ -308,7 +308,7 @@
--- setupext.py.orig Tue Mar 29 19:25:37 2005
+++ setupext.py Sat Nov 5 20:26:49 2005
@@ -38,7 +38,8 @@
'darwin' : ['/usr/local', '/usr', '/sw', '/usr/X11R6'],
'freebsd4' : ['/usr/local', '/usr'],
'freebsd5' : ['/usr/local', '/usr'],
- 'freebsd6' : ['/usr/local', '/usr'],
+ 'freebsd6' : ['/usr/local', '/usr'],
+ 'freebsd7' : ['/usr/local', '/usr'],
'sunos5' : [os.getenv('MPLIB_BASE') or '/usr/local',],
}
@@ -306,9 +307,9 @@
# you're still here? ok we'll try it this way
o = find_tcltk() # todo: try/except
- module.include_dirs.extend([o.tcl_inc, o.tk_inc])
+ module.include_dirs.extend(["/usr/local/include/tcl8.4", "/usr/local/include/tk8.4"])