summaryrefslogtreecommitdiff
path: root/math/scigraphica
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-10-18 13:14:56 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-10-18 13:14:56 +0000
commit68a032efbe8e6ba13d7d6f1f5e661c432f87e243 (patch)
treeace62199ec87b989cf42d752c101869584bbc847 /math/scigraphica
parentUpdate WWW (previos WWW disappeared long time ago). (diff)
Use USE_PYTHON. This should fix bento builds.
Notes
Notes: svn path=/head/; revision=33965
Diffstat (limited to 'math/scigraphica')
-rw-r--r--math/scigraphica/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/math/scigraphica/Makefile b/math/scigraphica/Makefile
index 917f6d82afc5..ab97913be1a6 100644
--- a/math/scigraphica/Makefile
+++ b/math/scigraphica/Makefile
@@ -13,16 +13,15 @@ DISTNAME= sg-${PORTVERSION}
MAINTAINER= sobomax@FreeBSD.org
-BUILD_DEPENDS= python:${PORTSDIR}/lang/python15 \
- ${LOCALBASE}/include/python1.5/Numeric/arrayobject.h:${PORTSDIR}/math/numpy
+BUILD_DEPENDS= ${LOCALBASE}/include/${PYTHON_VERSION}/Numeric/arrayobject.h:${PORTSDIR}/math/numpy
LIB_DEPENDS= gtkextra.10:${PORTSDIR}/x11-toolkits/gtkextra \
xml.5:${PORTSDIR}/textproc/libxml
-RUN_DEPENDS= python:${PORTSDIR}/lang/python15 \
- ${LOCALBASE}/include/python1.5/Numeric/arrayobject.h:${PORTSDIR}/math/numpy
+RUN_DEPENDS= ${LOCALBASE}/include/${PYTHON_VERSION}/Numeric/arrayobject.h:${PORTSDIR}/math/numpy
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
+USE_PYTHON= yes
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"