summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-10-04 01:53:45 +0000
committeredwin <edwin@FreeBSD.org>2007-10-04 01:53:45 +0000
commit95e1b4adc3c217295ee0fb10edc368df8849ce34 (patch)
tree6212c15a36a0bd64fc1b3b0aa4e89010d9b60a69 /math
parentec40c1b18590a321d5dbd5ebbd73bea024902e87 (diff)
downloadFreeBSD-ports-95e1b4adc3c217295ee0fb10edc368df8849ce34.zip
FreeBSD-ports-95e1b4adc3c217295ee0fb10edc368df8849ce34.tar.gz
Remove always-false/true conditions based on OSVERSION 500000
Diffstat (limited to 'math')
-rw-r--r--math/R/Makefile5
-rw-r--r--math/cgal/Makefile8
-rw-r--r--math/fftw3/Makefile6
-rw-r--r--math/jags/Makefile8
-rw-r--r--math/labplot/Makefile8
-rw-r--r--math/matrices/Makefile8
-rw-r--r--math/octave/Makefile4
-rw-r--r--math/scilab/Makefile2
8 files changed, 5 insertions, 44 deletions
diff --git a/math/R/Makefile b/math/R/Makefile
index e81bac2..0685876 100644
--- a/math/R/Makefile
+++ b/math/R/Makefile
@@ -154,11 +154,6 @@ INFO= R-FAQ R-admin R-data R-exts R-intro R-lang
CONFIGURE_ENV+= R_PAPERSIZE=letter
.endif
-.if ${OSVERSION} < 500000
-CONFIGURE_ARGS+= --disable-mbcs
-BROKEN= does not compile
-.endif
-
.if ${OSVERSION} < 600000
CONFIGURE_ENV+= MAKEINFO=${LOCALBASE}/bin/makeinfo
BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
diff --git a/math/cgal/Makefile b/math/cgal/Makefile
index c0ee295..510847e 100644
--- a/math/cgal/Makefile
+++ b/math/cgal/Makefile
@@ -32,12 +32,6 @@ PORTDOCS= *
INVOKE= cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= does not build on FreeBSD 4.x
-.endif
-
post-patch:
@for d in ${WRKSRC}/include/CGAL ${WRKSRC}/examples ${WRKDIR}/doc_html/cgal_manual; do \
${FIND} $$d -name '*.orig' -delete; \
@@ -76,4 +70,4 @@ cgal-install:
${FIND} * -type d -exec ${MKDIR} "${DST}/{}" \; && \
${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${DST}/{}" \;
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/fftw3/Makefile b/math/fftw3/Makefile
index cbd4ab3..a74071d 100644
--- a/math/fftw3/Makefile
+++ b/math/fftw3/Makefile
@@ -47,15 +47,9 @@ CONFIGURE_ENV+= CFLAGS="${CFLAGS:N-O:N-O*} -O2 -ffast-math -fomit-frame-pointer"
.if ${FFTW3_FLAVOR}=="default" && ${MACHINE_CPU:Msse}
# !!Detect SSE and not SSE2!!
CONFIGURE_ARGS+=--enable-sse2
-.if ${OSVERSION} < 500000
-USE_GCC= 3.4
-.endif
.else
.if ${FFTW3_FLAVOR}=="float" && ${MACHINE_CPU:Msse}
CONFIGURE_ARGS+=--enable-sse
-.if ${OSVERSION} < 500000
-USE_GCC= 3.4
-.endif
.endif
.endif
.if ${MACHINE_CPU:M3dnow}
diff --git a/math/jags/Makefile b/math/jags/Makefile
index 7b4c17b..1b6ac5b 100644
--- a/math/jags/Makefile
+++ b/math/jags/Makefile
@@ -37,12 +37,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS=-I${PREFIX}/include LDFLAGS=-L${PREFIX}/lib F77="${F77}"
USE_FORTRAN= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-BROKEN= "Does not compile on 4.x"
-.endif
-
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
@@ -53,4 +47,4 @@ post-install:
-s ':^bugs-examples/*::' )
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/labplot/Makefile b/math/labplot/Makefile
index ac97fce..6c776c7 100644
--- a/math/labplot/Makefile
+++ b/math/labplot/Makefile
@@ -44,12 +44,6 @@ CONFIGURE_ARGS+=--program-prefix='' --disable-cdf \
MAN1= LabPlot.1 labplot.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= does not compile on 4.x
-.endif
-
#This needs some more work before enabling this feature
#.if defined(WITH_VTK)
#LIB_DEPENDS+= vtkRendering.1:${PORTSDIR}/math/vtk
@@ -64,4 +58,4 @@ IGNORE= does not compile on 4.x
#CONFIGURE_ARGS+= --enable-vtk
#.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/matrices/Makefile b/math/matrices/Makefile
index 35baf9b..d6bd98c 100644
--- a/math/matrices/Makefile
+++ b/math/matrices/Makefile
@@ -20,10 +20,4 @@ PLIST_FILES= bin/${PORTNAME}
MAN1= ${PORTNAME}.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500000
-IGNORE= does not build
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/math/octave/Makefile b/math/octave/Makefile
index 195478d..c47bd21 100644
--- a/math/octave/Makefile
+++ b/math/octave/Makefile
@@ -48,10 +48,6 @@ SUB_LIST= OCTAVE_VERSION="${OCTAVE_VERSION}"
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500000
-BROKEN= Does not compile on FreeBSD 4.x
-.endif
-
.if exists(${LOCALBASE}/lib/libatlas_r.so) && !defined(WITH_BLAS)
WITH_ATLAS= yes
.endif
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 5c503b4..9f6b152 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -59,7 +59,7 @@ CONFIGURE_ARGS+= --without-pvm
USE_GNOME= pkgconfig gtk20 libgtkhtml vte
CONFIGURE_ARGS+= --with-gtk2
PLIST_SUB+= GTK2="" NOGTK2="@comment "
-.if ${OSVERSION} < 500000 || exists(${LOCALBASE}/lib/libreadline.so.5)
+.if exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
.endif
.else
OpenPOWER on IntegriCloud