aboutsummaryrefslogtreecommitdiff
path: root/graphics/gsculpt
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2007-07-31 09:29:16 +0000
committerPav Lucistnik <pav@FreeBSD.org>2007-07-31 09:29:16 +0000
commite1288f8d43ee64bc96849e37597afed192df4b65 (patch)
tree6301cb59faca0b29b6b2388e74f002a012dadcc5 /graphics/gsculpt
parent2bdb0043bb40a6685fa38e8b6be55152ee5c4301 (diff)
downloadports-e1288f8d43ee64bc96849e37597afed192df4b65.tar.gz
ports-e1288f8d43ee64bc96849e37597afed192df4b65.zip
- Allow build with python 2.5
Notes
Notes: svn path=/head/; revision=196803
Diffstat (limited to 'graphics/gsculpt')
-rw-r--r--graphics/gsculpt/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/gsculpt/Makefile b/graphics/gsculpt/Makefile
index 2123f8a98ebf..a08fb8aef183 100644
--- a/graphics/gsculpt/Makefile
+++ b/graphics/gsculpt/Makefile
@@ -29,7 +29,7 @@ WRKSRC= ${WRKDIR}/gSculpt-${PORTVERSION}-alpha
USE_DOS2UNIX= SConstruct
USE_SCONS= yes
SCONS_BUILDENV= ${SCONS_ENV}
-USE_PYTHON= 2.4
+USE_PYTHON= 2.4+
USE_XLIB= yes
USE_GL= yes
USE_GNOME= pygtk2
@@ -38,7 +38,7 @@ USE_LDCONFIG= ${PREFIX}/lib/gSculpt
.include <bsd.port.pre.mk>
post-patch:
- @${REINPLACE_CMD} -e "s|/usr/include/python2.4|${LOCALBASE}/include/python2.4|" \
+ @${REINPLACE_CMD} -e "s|/usr/include/python2.4|${LOCALBASE}/include/python${PYTHON_VER}| ; s|python2.4|python${PYTHON_VER}|" \
${WRKSRC}/SConstruct
@${REINPLACE_CMD} -e "s|gsculpt.py|${PYTHONPREFIX_SITELIBDIR}/gSculpt/gsculpt.py|" \
${WRKSRC}/gsculpt