aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2007-03-19 00:27:29 +0000
committerMaho Nakata <maho@FreeBSD.org>2007-03-19 00:27:29 +0000
commit595aa4b68519c9e955ac2113ef48ec9e42dfcae5 (patch)
tree5786f723a21d620928932abdc1a00979678582fb /math
parentd916a968bad4598ed2793edcc19e33fa3683b87c (diff)
downloadports-595aa4b68519c9e955ac2113ef48ec9e42dfcae5.tar.gz
ports-595aa4b68519c9e955ac2113ef48ec9e42dfcae5.zip
A possible build fix on FBSD 5.
Spotted by: kris
Notes
Notes: svn path=/head/; revision=187687
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