summaryrefslogtreecommitdiff
path: root/graphics/py-opengl/Makefile
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-08-20 10:32:03 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-08-20 10:32:03 +0000
commit823930ec9df3f539f6e830a0fbdbba3d65b7df82 (patch)
treed4365b3027fcc68147cf2dd0822540a5e130d333 /graphics/py-opengl/Makefile
parentUpdate to 20030817. (diff)
Fix build on tcl8.4 (which current py-tkinter is based on)
Notes
Notes: svn path=/head/; revision=87366
Diffstat (limited to 'graphics/py-opengl/Makefile')
-rw-r--r--graphics/py-opengl/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/graphics/py-opengl/Makefile b/graphics/py-opengl/Makefile
index af86f9b4a909..446c8e249ba5 100644
--- a/graphics/py-opengl/Makefile
+++ b/graphics/py-opengl/Makefile
@@ -36,12 +36,13 @@ PLIST_SUB+= OSMAJOR=${OSMAJOR} \
pre-patch:
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc[.]h|stdlib.h|g'
+ @${CP} ${WRKSRC}/src/Togl-1.5/tkInt8.3.h ${WRKSRC}/src/Togl-1.5/tkInt8.4.h
do-configure:
@${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; s|%%X11BASE%%|${X11BASE}|g' \
${WRKSRC}/config/freebsd.cfg ${WRKSRC}/Tkinter.py
post-install:
- ${LOCALBASE}/bin/tclsh8.3 ${WRKSRC}/register.tcl
+ ${LOCALBASE}/bin/tclsh8.4 ${WRKSRC}/register.tcl
.include <bsd.port.mk>