aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2007-03-19 08:27:29 +0800
committermaho <maho@FreeBSD.org>2007-03-19 08:27:29 +0800
commit944b90a734aaf0d99c3c9fde34411c8aa00ca8ce (patch)
treea44e23bb9a921c63e6a094d19324cae3d084bfd0 /math
parentdd37bb34b699906d2c5735338fb50740d1bef382 (diff)
downloadfreebsd-ports-gnome-944b90a734aaf0d99c3c9fde34411c8aa00ca8ce.tar.gz
freebsd-ports-gnome-944b90a734aaf0d99c3c9fde34411c8aa00ca8ce.tar.zst
freebsd-ports-gnome-944b90a734aaf0d99c3c9fde34411c8aa00ca8ce.zip
A possible build fix on FBSD 5.
Spotted by: kris
Diffstat (limited to 'math')
-rw-r--r--math/octave-devel/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/math/octave-devel/Makefile b/math/octave-devel/Makefile
index f6e8cc6d7057..60f152c9fd17 100644
--- a/math/octave-devel/Makefile
+++ b/math/octave-devel/Makefile
@@ -17,7 +17,7 @@ PKGNAMESUFFIX= -devel
MAINTAINER= maho@FreeBSD.org
COMMENT= Developer's version of math/octave
-BUILD_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot \
+BUILD_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot \
gperf:${PORTSDIR}/devel/gperf \
${LOCALBASE}/lib/libglpk.a:${PORTSDIR}/math/glpk
RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
@@ -38,6 +38,10 @@ MAN1= octave.1 octave-bug.1 mkoctfile.1 octave-config.1
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 600000
+BUILD_DEPENDS+= info:${PORTSDIR}/print/texinfo
+.endif
+
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
WITH_ATLAS= yes
.endif