aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/adgali/Makefile2
-rw-r--r--games/crack-attack/Makefile6
-rw-r--r--games/djgame2/Makefile8
-rw-r--r--games/ember/Makefile8
-rw-r--r--games/exmars/Makefile2
-rw-r--r--games/frozenbubble/Makefile8
-rw-r--r--games/kbilliards/Makefile4
-rw-r--r--games/latrine/Makefile4
-rw-r--r--games/lincity-ng/Makefile10
-rw-r--r--games/lincity-ng/files/extra-src-gui-Gradient.cpp12
-rw-r--r--games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp13
-rw-r--r--games/monster-masher/Makefile9
-rw-r--r--games/monster-masher/files/extra-patch-src-vector.hpp30
-rw-r--r--games/torcs/Makefile10
-rw-r--r--games/tuxtype/Makefile8
-rw-r--r--graphics/ale/Makefile8
-rw-r--r--graphics/cqcam/Makefile8
-rw-r--r--graphics/exact-image/Makefile8
-rw-r--r--graphics/fusefs-gphotofs/Makefile8
-rw-r--r--graphics/imlib2/Makefile6
-rw-r--r--graphics/ivtools/Makefile6
-rw-r--r--graphics/k3d/Makefile4
-rw-r--r--graphics/libvisual04-plugins/Makefile8
-rw-r--r--graphics/libwpcg/Makefile9
-rw-r--r--graphics/linux_dri-devel/Makefile5
-rw-r--r--graphics/linux_dri/Makefile5
-rw-r--r--graphics/pencil/Makefile8
-rw-r--r--graphics/pgplot/files/Makefile.demo3
-rw-r--r--graphics/py-cgkit/Makefile4
-rw-r--r--graphics/ufraw/Makefile8
-rw-r--r--graphics/xmorph/Makefile4
-rw-r--r--graphics/xnview/Makefile17
-rw-r--r--graphics/xsane/Makefile4
-rw-r--r--japanese/groff/Makefile2
-rw-r--r--japanese/iiimf-le-canna/Makefile8
-rw-r--r--japanese/iiimf-le-freewnn/Makefile8
-rw-r--r--japanese/scim-anthy/Makefile13
-rw-r--r--japanese/scim-honoka-plugin-romkan/Makefile13
-rw-r--r--japanese/scim-honoka-plugin-wnn/Makefile13
-rw-r--r--japanese/scim-honoka/Makefile13
-rw-r--r--japanese/scim-prime/Makefile13
-rw-r--r--japanese/scim-skk/Makefile16
-rw-r--r--japanese/scim-tomoe/Makefile18
-rw-r--r--japanese/scim-uim/Makefile13
-rw-r--r--japanese/tcl76/Makefile2
-rw-r--r--japanese/tcl76/files/Makefile.lib3
-rw-r--r--java/diablo-jdk15/Makefile9
-rw-r--r--java/diablo-jdk15/distinfo3
-rw-r--r--java/diablo-jdk16/Makefile4
-rw-r--r--java/diablo-jre15/Makefile9
-rw-r--r--java/diablo-jre15/distinfo3
-rw-r--r--java/diablo-jre16/Makefile4
-rw-r--r--java/jdk13/Makefile13
-rw-r--r--java/linux-blackdown-jdk14/Makefile4
-rw-r--r--java/linux-sun-jdk14/Makefile4
-rw-r--r--java/linux-sun-jdk15/Makefile4
-rw-r--r--java/linux-sun-jdk16/Makefile4
-rw-r--r--java/linux-sun-jre15/Makefile4
-rw-r--r--java/linux-sun-jre16/Makefile4
-rw-r--r--java/subversion-java/Makefile4
-rw-r--r--korean/iiimf-le-hangul/Makefile8
-rw-r--r--lang/compaq-cc/Makefile3
-rw-r--r--lang/erlang/Makefile8
-rw-r--r--lang/erlang14/Makefile8
-rw-r--r--lang/ezm3/Makefile6
-rw-r--r--lang/fpc/Makefile7
-rw-r--r--lang/gambas/Makefile4
-rw-r--r--lang/gawk/Makefile8
-rw-r--r--lang/gawk/files/patch-configure (renamed from lang/gawk/files/extra-patch-nowchar)0
-rw-r--r--lang/gcc/Makefile10
-rw-r--r--lang/gcc28/Makefile3
-rw-r--r--lang/gcc295/Makefile2
-rw-r--r--lang/gcc42/Makefile10
-rw-r--r--lang/gcc43/Makefile10
-rw-r--r--lang/gcc44/Makefile10
-rw-r--r--lang/gcc45/Makefile10
-rw-r--r--lang/gcc46/Makefile10
-rw-r--r--lang/gcc47/Makefile10
-rw-r--r--lang/gcc48/Makefile10
-rw-r--r--lang/ghc/Makefile4
-rw-r--r--lang/icc/Makefile54
-rw-r--r--lang/icc/pkg-plist6
-rw-r--r--lang/icc7/Makefile25
-rw-r--r--lang/icc7/pkg-plist3
-rw-r--r--lang/ifc/Makefile10
-rw-r--r--lang/ifc7/Makefile13
-rw-r--r--lang/io/Makefile8
-rw-r--r--lang/libjit/Makefile4
-rw-r--r--lang/maude/Makefile8
-rw-r--r--lang/mlton/Makefile3
-rw-r--r--lang/mono/Makefile9
-rw-r--r--lang/mono/files/extra-patch-support_mph.h11
-rw-r--r--lang/neko/Makefile4
-rw-r--r--lang/perl5.10/Makefile9
-rw-r--r--lang/perl5.10/pkg-message26
-rw-r--r--lang/perl5.12/Makefile9
-rw-r--r--lang/perl5.12/pkg-message26
-rw-r--r--lang/perl5.14/Makefile9
-rw-r--r--lang/perl5.14/pkg-message26
-rw-r--r--lang/perl5.16/Makefile9
-rw-r--r--lang/perl5.16/pkg-message26
-rw-r--r--lang/perl5.6/Makefile4
-rw-r--r--lang/perl5.6/pkg-message-sysperl26
-rw-r--r--lang/perl5.8/Makefile9
-rw-r--r--lang/perl5.8/pkg-message26
-rw-r--r--lang/perl5/Makefile4
-rw-r--r--lang/perl5/pkg-message-sysperl26
-rw-r--r--lang/php5/Makefile.ext4
-rw-r--r--lang/php53/Makefile.ext4
-rw-r--r--lang/ruby18/Makefile6
-rw-r--r--lang/ruby18/files/extrapatch-eval.c13
-rw-r--r--lang/ruby19/Makefile4
-rw-r--r--lang/sdcc-devel/Makefile4
-rw-r--r--lang/sdcc/Makefile4
-rw-r--r--lang/smalltalk/Makefile4
-rw-r--r--lang/swi-pl/Makefile4
-rw-r--r--lang/tcl80/Makefile3
-rw-r--r--lang/tcl80/files/Makefile.lib5
118 files changed, 82 insertions, 972 deletions
diff --git a/games/adgali/Makefile b/games/adgali/Makefile
index 356887dd8bee..0bd2c10905e7 100644
--- a/games/adgali/Makefile
+++ b/games/adgali/Makefile
@@ -34,7 +34,7 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
-.if ${ARCH} == "alpha" && ${OSVERSION} >= 502102
+.if ${ARCH} == "alpha"
BROKEN= Configure fails
.endif
diff --git a/games/crack-attack/Makefile b/games/crack-attack/Makefile
index 98586d9b0fd3..b79db21a9118 100644
--- a/games/crack-attack/Makefile
+++ b/games/crack-attack/Makefile
@@ -21,11 +21,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" CXXFLAGS="${CFLAGS}"
MAN6= crack-attack.6
-.include <bsd.port.pre.mk>
-
post-patch:
-.if ${OSVERSION} >= 502126
@${REINPLACE_CMD} -e 's|#ifndef max|#if 0|' ${WRKSRC}/src/Game.h
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/djgame2/Makefile b/games/djgame2/Makefile
index 611d28db55b8..ea60cd999204 100644
--- a/games/djgame2/Makefile
+++ b/games/djgame2/Makefile
@@ -29,12 +29,6 @@ DATADIR= ${PREFIX}/share/djgame2
SUB_FILES= djgame2.desktop startdjg
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000 && ${ARCH} == "amd64"
-BROKEN= libLandLord does not compile
-.endif
-
post-patch:
${RM} -f ${WRKSRC}/Hall/HallRes/platform/x11/install
@${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|g' \
@@ -60,4 +54,4 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/djgame2.desktop ${PREFIX}/share/applications
${INSTALL_SCRIPT} ${WRKDIR}/startdjg ${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/ember/Makefile b/games/ember/Makefile
index 9ee31c9656f6..a3459023c084 100644
--- a/games/ember/Makefile
+++ b/games/ember/Makefile
@@ -39,12 +39,6 @@ USE_GNOME= gnomehack
USE_BZIP2= YES
CPPFLAGS= -DBR_NO_MACROS
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= does not compile because of inlining error
-.endif
-
post-patch:
@${REINPLACE_CMD} -e '\
s|sdl-config|${SDL_CONFIG}|g; \
@@ -79,4 +73,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/exmars/Makefile b/games/exmars/Makefile
index ac9b8285803b..b5ef2371b786 100644
--- a/games/exmars/Makefile
+++ b/games/exmars/Makefile
@@ -54,7 +54,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|\($${OPT}\)|${CFLAGS} \1|' ${WRKSRC}/${MAKEFILE}
# Enable/disable compilation optimizations.
-.if defined(WITHOUT_OPTIMIZED_CFLAGS) || ${OSVERSION} < 500035
+.if defined(WITHOUT_OPTIMIZED_CFLAGS)
@${REINPLACE_CMD} -e 's|$${OPT}||' ${WRKSRC}/${MAKEFILE}
.endif
diff --git a/games/frozenbubble/Makefile b/games/frozenbubble/Makefile
index b2f5a13c5103..0cf8410cab6f 100644
--- a/games/frozenbubble/Makefile
+++ b/games/frozenbubble/Makefile
@@ -32,12 +32,6 @@ MAN6= frozen-bubble-editor.6 frozen-bubble.6
LEXECDIR= ${PREFIX}/libexec/${PORTNAME}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600020
-IGNORE= doesn't work unless MSG_NOSIGNAL is defined (FreeBSD version 600020 and higher)
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|\${SDL_CONFIG}|g' \
${WRKSRC}/c_stuff/Makefile.PL
@@ -66,4 +60,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/kbilliards/Makefile b/games/kbilliards/Makefile
index 65112670c21c..01f0c34bbec9 100644
--- a/games/kbilliards/Makefile
+++ b/games/kbilliards/Makefile
@@ -28,10 +28,6 @@ CFLAGS+= -Dsqrtl=sqrt
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 502114
-CFLAGS+= -Dround=rint
-.endif
-
.if ${OSVERSION} >= 800024
BROKEN= does not compile
.endif
diff --git a/games/latrine/Makefile b/games/latrine/Makefile
index 3360f1043c27..6dc2bf42998b 100644
--- a/games/latrine/Makefile
+++ b/games/latrine/Makefile
@@ -23,10 +23,6 @@ MAN1= latrine.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 503000
-IGNORE= needs libcursesw which doesnt work on this OSVERSION
-.endif
-
.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033)
LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses
.endif
diff --git a/games/lincity-ng/Makefile b/games/lincity-ng/Makefile
index 302ef777d220..8e33d71eb4d1 100644
--- a/games/lincity-ng/Makefile
+++ b/games/lincity-ng/Makefile
@@ -29,18 +29,10 @@ CONFIGURE_ARGS= --with-libphysfs=${PREFIX} \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 504000
-pre-configure::
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-src-gui-Gradient.cpp
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-src-gui-PainterSDL-PainterSDL.cpp
-.endif
-
do-build:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam)
do-install:
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} jam ${INSTALL_TARGET})
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/lincity-ng/files/extra-src-gui-Gradient.cpp b/games/lincity-ng/files/extra-src-gui-Gradient.cpp
deleted file mode 100644
index 2996f8917001..000000000000
--- a/games/lincity-ng/files/extra-src-gui-Gradient.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
---- src/gui/Gradient.cpp.orig Fri Jul 15 19:47:11 2005
-+++ src/gui/Gradient.cpp Sat Jul 23 12:40:46 2005
-@@ -28,9 +28,7 @@
- #include "Painter.hpp"
- #include "ComponentFactory.hpp"
-
--#ifdef _MSC_VER
- #define lrintf(x) (long int)x
--#endif
-
- Gradient::Gradient()
- : direction(LEFT_RIGHT)
diff --git a/games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp b/games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp
deleted file mode 100644
index 476925c8c3ac..000000000000
--- a/games/lincity-ng/files/extra-src-gui-PainterSDL-PainterSDL.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- src/gui/PainterSDL/PainterSDL.cpp.orig Fri Jul 15 19:47:12 2005
-+++ src/gui/PainterSDL/PainterSDL.cpp Sat Jul 23 12:41:09 2005
-@@ -30,10 +30,8 @@
-
- #include "TextureSDL.hpp"
-
--#ifdef _MSC_VER
- #define lrint(x) (long int)x
- #define lroundf(x) (long int)(x + .5)
--#endif
-
- PainterSDL::PainterSDL(SDL_Surface* _target)
- : target(_target)
diff --git a/games/monster-masher/Makefile b/games/monster-masher/Makefile
index 2348d2981f9e..633988664911 100644
--- a/games/monster-masher/Makefile
+++ b/games/monster-masher/Makefile
@@ -27,11 +27,4 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GCONF_SCHEMAS= monster-masher.schemas
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500010
-IGNORE= Freezes when starting a new game
-EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src-vector.hpp
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/monster-masher/files/extra-patch-src-vector.hpp b/games/monster-masher/files/extra-patch-src-vector.hpp
deleted file mode 100644
index 1ba2faf2887e..000000000000
--- a/games/monster-masher/files/extra-patch-src-vector.hpp
+++ /dev/null
@@ -1,30 +0,0 @@
---- src/vector.hpp.orig Fri Aug 15 19:07:16 2003
-+++ src/vector.hpp Wed Nov 5 20:34:27 2003
-@@ -107,25 +107,17 @@
- }
-
- template <typename T>
--inline bool operator !=(Vector<T> lhs, Vector<T> rhs)
--{
-- return !(lhs == rhs);
--}
--
--template <typename T>
- inline bool operator ==(Vector<T> lhs, Vector<T> rhs)
- {
- return lhs.x == rhs.x && lhs.y == rhs.y;
- }
-
--template <>
--inline bool operator ==<double>(Vector<double> lhs, Vector<double> rhs)
-+inline bool operator ==(Vector<double> lhs, Vector<double> rhs)
- {
- return std::abs(lhs.x - rhs.x) < 0.001 && std::abs(lhs.y - rhs.y) < 0.001;
- }
-
--template <>
--inline bool operator ==<float>(Vector<float> lhs, Vector<float> rhs)
-+inline bool operator ==(Vector<float> lhs, Vector<float> rhs)
- {
- return std::abs(lhs.x - rhs.x) < 0.001 && std::abs(lhs.y - rhs.y) < 0.001;
- }
diff --git a/games/torcs/Makefile b/games/torcs/Makefile
index b8a0db575d12..2b6c86fe9573 100644
--- a/games/torcs/Makefile
+++ b/games/torcs/Makefile
@@ -26,6 +26,9 @@ USE_GMAKE= yes
USE_LDCONFIG= yes
REINPLACE_ARGS= -i ""
CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include --x-libraries=${LOCALBASE}/lib
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include -DHAVE_DECL_GETOPT" \
+ LIBS="${PTHREAD_LIBS}" LDFLAGS="${LDFLAGS}"
+
ALL_TARGET= default
INSTALL_TARGET= install datainstall
@@ -47,13 +50,6 @@ BASH2FIX= src/linux/torcs.in src/tools/accc/accc.in \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500041
-CPPFLAGS+= -I${LOCALBASE}/include
-.else
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include -DHAVE_DECL_GETOPT" \
- LIBS="${PTHREAD_LIBS}" LDFLAGS="${LDFLAGS}"
-.endif
-
.if defined(WITH_FREEGLUT)
LIB_DEPENDS+= glut.11:${PORTSDIR}/graphics/freeglut
.else
diff --git a/games/tuxtype/Makefile b/games/tuxtype/Makefile
index a0267f64ba35..dd07315517fa 100644
--- a/games/tuxtype/Makefile
+++ b/games/tuxtype/Makefile
@@ -27,10 +27,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|$$(prefix)/doc/$$(PACKAGE)|$$(docdir)|' \
${WRKSRC}/Makefile.in ${WRKSRC}/tuxtype/docs/en/Makefile.in
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-BROKEN= does not build due to undefined reference to 'playsound' in 5.x
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/ale/Makefile b/graphics/ale/Makefile
index be31455bf1fb..11870390e7c8 100644
--- a/graphics/ale/Makefile
+++ b/graphics/ale/Makefile
@@ -31,14 +31,6 @@ PLIST_FILES= bin/ale
BROKEN= Does not build on alpha
.endif
-.if ${OSVERSION} < 600000
-BROKEN= Does not build on 5.x due to internal gcc error
-.endif
-
-.if ${OSVERSION} < 502114
-CFLAGS+= -Dround=rint
-.endif
-
.if defined(WITH_DOUBLE)
MAKE_ARGS+= COLORS=DOUBLE COORDINATES=DOUBLE
.endif
diff --git a/graphics/cqcam/Makefile b/graphics/cqcam/Makefile
index 6d533e057536..de22e7bea3c8 100644
--- a/graphics/cqcam/Makefile
+++ b/graphics/cqcam/Makefile
@@ -32,12 +32,6 @@ MLINKS= cqcam.1 webcam.1 \
MYPORTDOCS= README docs/APINOTES docs/CHANGES docs/README.webcam \
docs/refresh.html docs/webcam.html docs/README.movies
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 502108
-BROKEN= "Does not compile: ffs()-clash"
-.endif
-
post-install:
.for file in cqcam gtkcam webcam xcqcam
@${STRIP_CMD} ${PREFIX}/bin/${file}
@@ -54,4 +48,4 @@ post-install:
.endif
@${SED} -e "s:/usr/local:${PREFIX}:" ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/exact-image/Makefile b/graphics/exact-image/Makefile
index f0c248deea05..642ad2a53246 100644
--- a/graphics/exact-image/Makefile
+++ b/graphics/exact-image/Makefile
@@ -38,12 +38,6 @@ PLIST_FILES= ${BINS:S|^|bin/|} %%SITE_PERL%%/ExactImage.so \
%%SITE_PERL%%/ExactImage.pm
PORT_VERBS= ExactImage ${BINS}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-BROKEN= Does not compile, missing endian.h header
-.endif
-
post-extract:
@${RM} -rf ${WRKSRC}/agg-2.4/
@@ -73,4 +67,4 @@ do-install:
${INSTALL_PROGRAM} ExactImage.so ${SITE_PERL}/;\
${INSTALL_DATA} ExactImage.pm ${SITE_PERL}/
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/fusefs-gphotofs/Makefile b/graphics/fusefs-gphotofs/Makefile
index 6372c235b49b..ba32ba973f7b 100644
--- a/graphics/fusefs-gphotofs/Makefile
+++ b/graphics/fusefs-gphotofs/Makefile
@@ -26,10 +26,4 @@ GNU_CONFIGURE= yes
PLIST_FILES= bin/gphotofs
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/imlib2/Makefile b/graphics/imlib2/Makefile
index 6baa57c37ee2..419764665ae1 100644
--- a/graphics/imlib2/Makefile
+++ b/graphics/imlib2/Makefile
@@ -91,10 +91,4 @@ CONFIGURE_ARGS+= --without-id3
PLIST_SUB+= ID3="@comment "
.endif
-post-patch:
-.if ${OSVERSION} < 503000
- @${REINPLACE_CMD} -e \
- 's|round|rint|g' ${WRKSRC}/src/lib/color_helpers.c
-.endif
-
.include <bsd.port.post.mk>
diff --git a/graphics/ivtools/Makefile b/graphics/ivtools/Makefile
index 970e6711e3e0..94c9cb3f5df0 100644
--- a/graphics/ivtools/Makefile
+++ b/graphics/ivtools/Makefile
@@ -34,8 +34,4 @@ MAN1= idraw.1 iclass.1 drawtool.1 comterp.1 comdraw.1 flipbook.1 graphdraw.1
BROKEN= Incomplete pkg-plist
.endif
-.if ${OSVERSION} >= 600000 && ${OSVERSION} < 700000
-PLIST_SUB+= IVDL="@comment"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/k3d/Makefile b/graphics/k3d/Makefile
index effaa74878bc..458f276b5854 100644
--- a/graphics/k3d/Makefile
+++ b/graphics/k3d/Makefile
@@ -47,10 +47,6 @@ OPTIONS= GNOME "Build for Gnome" off
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-BROKEN= Does not compile on FreeBSD 5.x
-.endif
-
.if defined(WITH_GNOME)
USE_GNOME+= libgnome
CONFIGURE_ARGS+=--with-gnome
diff --git a/graphics/libvisual04-plugins/Makefile b/graphics/libvisual04-plugins/Makefile
index efeeeb3863a9..f902025a876f 100644
--- a/graphics/libvisual04-plugins/Makefile
+++ b/graphics/libvisual04-plugins/Makefile
@@ -39,12 +39,6 @@ DATADIR= ${PREFIX}/share/${PORTNAME}-${PKGNAMESUFFIX:C/.*-//}-${MAJORMINOR}
PLIST_SUB= PLUGINS_BASE_DIR=${LOCALBASE}/lib/${PORTNAME}-${MAJORMINOR} \
DATADIR_REL=${DATADIR_REL}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-BROKEN= Does not compile on 5.x
-.endif
-
pre-configure:
# /usr/bin/objformat is obsolete, hardcode the object format
@${REINPLACE_CMD} -e 's,objformat=.*,objformat=elf,' \
@@ -58,4 +52,4 @@ pre-configure:
@${REINPLACE_CMD} -e 's,^\(SUBDIRS = plugins\) po,\1,' \
${WRKSRC}/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/libwpcg/Makefile b/graphics/libwpcg/Makefile
index 41d3aa0ef42e..45ac3a23eba3 100644
--- a/graphics/libwpcg/Makefile
+++ b/graphics/libwpcg/Makefile
@@ -22,11 +22,4 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lGL -lGLU -lglut"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 501103
-# Work around bsd.port.mk bug: Does not currently set up MAKE_ENV for gcc 3.2 and 3.3
-MAKE_ENV+= CC="${CC}" CXX="${CXX}"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/linux_dri-devel/Makefile b/graphics/linux_dri-devel/Makefile
index ec90b49d6acc..bfc60c041823 100644
--- a/graphics/linux_dri-devel/Makefile
+++ b/graphics/linux_dri-devel/Makefile
@@ -35,11 +35,6 @@ LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 502111
-EXTRACT_DEPENDS+= bsdtar:${PORTSDIR}/archivers/libarchive
-TAR= bsdtar
-.endif
-
do-install:
${MKDIR} ${PREFIX}/usr/X11R6/lib/modules/dri
${INSTALL_PROGRAM} ${WRKSRC}/linux_dri/libGL.so.1.2 \
diff --git a/graphics/linux_dri/Makefile b/graphics/linux_dri/Makefile
index a76e4dae66e6..84c2ac367aa8 100644
--- a/graphics/linux_dri/Makefile
+++ b/graphics/linux_dri/Makefile
@@ -45,11 +45,6 @@ LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 502111
-EXTRACT_DEPENDS+= bsdtar:${PORTSDIR}/archivers/libarchive
-TAR= bsdtar
-.endif
-
do-install:
${MKDIR} ${PREFIX}/usr/X11R6/lib/modules/dri
${INSTALL_PROGRAM} ${WRKSRC}/linux_dri/libGL.so.1.2 \
diff --git a/graphics/pencil/Makefile b/graphics/pencil/Makefile
index d4eef5486163..55444df7b6c2 100644
--- a/graphics/pencil/Makefile
+++ b/graphics/pencil/Makefile
@@ -35,12 +35,6 @@ USE_XORG= xi xrender xrandr xfixes xcursor xinerama xext x11 xau xdmcp \
USE_GL= gl glu
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-BROKEN= Does not compile
-.endif
-
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} -unix PREFIX=${PREFIX} \
@@ -61,4 +55,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/pgplot/files/Makefile.demo b/graphics/pgplot/files/Makefile.demo
index 2d2ff02104a1..7b7455923034 100644
--- a/graphics/pgplot/files/Makefile.demo
+++ b/graphics/pgplot/files/Makefile.demo
@@ -2,10 +2,7 @@ PGPLOT_LIB = -L/usr/local/lib -lpgplot
CPGPLOT_LIB = -L/usr/local/lib -lcpgplot
LIBS= -L${LOCALBASE}/lib -lX11 -lm
-OSVERSION!= /sbin/sysctl -n kern.osreldate
-.if ${OSVERSION} > 400004
FFLAGS+= -fno-backslash
-.endif
all: cpgdemo pgdemo1 pgdemo2 pgdemo3 pgdemo4 pgdemo5 pgdemo6 pgdemo7 pgdemo8 \
pgdemo9 pgdemo10 pgdemo11 pgdemo12 pgdemo13 pgdemo14 pgdemo15 \
diff --git a/graphics/py-cgkit/Makefile b/graphics/py-cgkit/Makefile
index dc6dcaca1746..aad73b2eac00 100644
--- a/graphics/py-cgkit/Makefile
+++ b/graphics/py-cgkit/Makefile
@@ -40,10 +40,6 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/OpenGL:${PORTSDIR}/graphics/py-opengl \
.include <bsd.port.pre.mk>
-.if ( ${OSVERSION} < 502126 )
-BROKEN= does not compile
-.endif
-
.if ${OSVERSION} >= 700042 && ${ARCH} == "amd64"
BROKEN= does not compile
.endif
diff --git a/graphics/ufraw/Makefile b/graphics/ufraw/Makefile
index ad7cff58e0c2..5665b741dd83 100644
--- a/graphics/ufraw/Makefile
+++ b/graphics/ufraw/Makefile
@@ -47,12 +47,6 @@ PLIST_SUB+= GIMP="@comment "
MAN1= ufraw.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 504105
-BROKEN= Needs memmem(3)
-.endif
-
post-patch:
@${REINPLACE_CMD} -e '18s|^$$|#include <sys/types.h>|' ${WRKSRC}/dcraw.h
@${REINPLACE_CMD} -e '/@schemasdir/s|datadir|sysconfdir|' ${WRKSRC}/Makefile.in
@@ -60,4 +54,4 @@ post-patch:
@${REINPLACE_CMD} -e '/PKG_CONFIG.*$i/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure
.endfor
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/graphics/xmorph/Makefile b/graphics/xmorph/Makefile
index 0b79282ce03b..e6728da53dee 100644
--- a/graphics/xmorph/Makefile
+++ b/graphics/xmorph/Makefile
@@ -35,10 +35,6 @@ INFO= xmorph
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 502114
-CFLAGS+= -Dround=rint
-.endif
-
.if ${HAVE_GNOME:Mgtk20}!=""
USE_GNOME+= gtk20
CONFIGURE_ARGS+= --with-gtk=2
diff --git a/graphics/xnview/Makefile b/graphics/xnview/Makefile
index c85ff40ee9b8..0cf08adef960 100644
--- a/graphics/xnview/Makefile
+++ b/graphics/xnview/Makefile
@@ -26,11 +26,9 @@ MLINKS= nview.1 nv.1 \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 600000
- LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
- DISTFILES+= NConvert-x86-unknown-FreeBSD6.x.tgz
- WRKSRC_NC= ${WRKDIR}/NConvert
-.endif
+LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
+DISTFILES+= NConvert-x86-unknown-FreeBSD6.x.tgz
+WRKSRC_NC= ${WRKDIR}/NConvert
.if ${OSVERSION} >= 700000
LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
@@ -39,23 +37,14 @@ MLINKS= nview.1 nv.1 \
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/xnview ${PREFIX}/bin/xnview
${INSTALL_PROGRAM} ${WRKSRC}/bin/nview ${PREFIX}/bin/nv
-.if ${OSVERSION} >= 600000
${INSTALL_PROGRAM} ${WRKSRC_NC}/nconvert ${PREFIX}/bin/nconvert
-.else
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/nconvert ${PREFIX}/bin/nconvert
-.endif
${INSTALL_DATA} ${WRKSRC}/app-defaults/XnView.ad ${PREFIX}/lib/X11/app-defaults/XnView
cd ${WRKSRC}/man && ${INSTALL_MAN} xnview.1 nview.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
-.if ${OSVERSION} >= 600000
cd ${WRKSRC_NC} && \
${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt ${DOCSDIR}
-.else
- cd ${WRKSRC} && \
- ${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt ${DOCSDIR}
-.endif
.endif
.include <bsd.port.post.mk>
diff --git a/graphics/xsane/Makefile b/graphics/xsane/Makefile
index 0aa2890e54e0..e695db6c8b3f 100644
--- a/graphics/xsane/Makefile
+++ b/graphics/xsane/Makefile
@@ -65,10 +65,6 @@ LIB_DEPENDS+= gimp:${PORTSDIR}/graphics/gimp-app
CONFIGURE_ARGS+= --disable-gimp
.endif
-.if ${OSVERSION} < 500035
-CONFIGURE_ENV+= CFLAGS="${CFLAGS:C/-O[0-9]*//g}"
-.endif
-
pre-patch:
@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} \
-i "" -e 's|\$$(DESTDIR)\$$(sbindir)||g'
diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile
index 70eeeeb5edc8..c33582b726a6 100644
--- a/japanese/groff/Makefile
+++ b/japanese/groff/Makefile
@@ -75,7 +75,6 @@ PORTDOCS= ${PORTVERSION}
.endif
# nl_langinfo(CODESET) drops the support of ja_JP.EUC after 5.1-RELEASE
-.if ${OSVERSION} > 501100
LOCALE_CMD?= /usr/bin/locale
.if exists(${LOCALE_CMD})
CHARMAP!= ${LOCALE_CMD} charmap
@@ -85,7 +84,6 @@ pre-build:
@${ECHO_CMD} "Warning: Your current locale setting is not supported by the system."
.endif
.endif
-.endif
.if defined(WITHOUT_INFO)
PLIST_SUB+= INFO="@comment "
diff --git a/japanese/iiimf-le-canna/Makefile b/japanese/iiimf-le-canna/Makefile
index e12727944529..86d75515746a 100644
--- a/japanese/iiimf-le-canna/Makefile
+++ b/japanese/iiimf-le-canna/Makefile
@@ -31,12 +31,6 @@ USE_AUTOTOOLS= automake:19:env autoconf:262:env libtool:15:env
WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
BUILDDIR= ${WRKSRC}/leif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 503000
-IGNORE= is supported on FreeBSD 5.3 and later only
-.endif
-
CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -53,4 +47,4 @@ do-configure:
@cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} reconfig
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/iiimf-le-freewnn/Makefile b/japanese/iiimf-le-freewnn/Makefile
index 6a55b06dfdec..e18d9c2a5c1a 100644
--- a/japanese/iiimf-le-freewnn/Makefile
+++ b/japanese/iiimf-le-freewnn/Makefile
@@ -31,12 +31,6 @@ USE_AUTOTOOLS= automake:19:env autoconf:262:env libtool:15:env
WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
BUILDDIR= ${WRKSRC}/leif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 503000
-IGNORE= is supported on FreeBSD 5.3 and later only
-.endif
-
CFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/wnn \
${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}
@@ -55,4 +49,4 @@ do-configure:
@cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} reconfig
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/scim-anthy/Makefile b/japanese/scim-anthy/Makefile
index d3f6e92dd1f1..d4311b57953d 100644
--- a/japanese/scim-anthy/Makefile
+++ b/japanese/scim-anthy/Makefile
@@ -27,16 +27,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-IGNORE= does not build on FreeBSD < 5.x
-.else
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
-.endif
post-install:
@${CAT} ${PKGMESSAGE}
@@ -44,4 +37,4 @@ post-install:
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
@${ECHO}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/scim-honoka-plugin-romkan/Makefile b/japanese/scim-honoka-plugin-romkan/Makefile
index 8143085fabc3..5930cbea038f 100644
--- a/japanese/scim-honoka-plugin-romkan/Makefile
+++ b/japanese/scim-honoka-plugin-romkan/Makefile
@@ -26,15 +26,8 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-IGNORE= does not build in FreeBSD < 5.x
-.else
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/scim-honoka-plugin-wnn/Makefile b/japanese/scim-honoka-plugin-wnn/Makefile
index af1306a3b9db..9dc773533184 100644
--- a/japanese/scim-honoka-plugin-wnn/Makefile
+++ b/japanese/scim-honoka-plugin-wnn/Makefile
@@ -29,15 +29,8 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-IGNORE= does not build in FreeBSD < 5.x
-.else
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/scim-honoka/Makefile b/japanese/scim-honoka/Makefile
index e2a671eeba1b..315ddf4e5457 100644
--- a/japanese/scim-honoka/Makefile
+++ b/japanese/scim-honoka/Makefile
@@ -26,20 +26,13 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-IGNORE= does not build in FreeBSD < 5.x
-.else
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
-.endif
post-install:
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/scim-prime/Makefile b/japanese/scim-prime/Makefile
index 71bff9e3599c..2088b592da85 100644
--- a/japanese/scim-prime/Makefile
+++ b/japanese/scim-prime/Makefile
@@ -24,17 +24,8 @@ USE_ICONV= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \
- LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc"
-.else
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
-.endif
post-install:
@${CAT} ${PKGMESSAGE}
@@ -42,4 +33,4 @@ post-install:
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
@${ECHO}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/scim-skk/Makefile b/japanese/scim-skk/Makefile
index 69adbf6354a6..689c8d7fba49 100644
--- a/japanese/scim-skk/Makefile
+++ b/japanese/scim-skk/Makefile
@@ -24,19 +24,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \
- LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}"
-.else
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
-.endif
post-patch:
@${REINPLACE_CMD} "s|LOCALBASE|${LOCALBASE}|" ${WRKSRC}/src/scim_skk_prefs.h
@@ -47,4 +37,4 @@ post-install:
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
@${ECHO}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/scim-tomoe/Makefile b/japanese/scim-tomoe/Makefile
index 1380eb8a3051..b7e777ead817 100644
--- a/japanese/scim-tomoe/Makefile
+++ b/japanese/scim-tomoe/Makefile
@@ -26,7 +26,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
+ LDFLAGS="-L${LOCALBASE}/lib"
PLIST_FILES= bin/scim-tomoe \
lib/scim-1.0/1.4.0/Helper/tomoe.a \
@@ -35,22 +37,10 @@ PLIST_FILES= bin/scim-tomoe \
share/locale/ja/LC_MESSAGES/scim-tomoe.mo \
share/scim/icons/scim-tomoe.png
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \
- LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}"
-.else
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
- LDFLAGS="-L${LOCALBASE}/lib"
-.endif
-
post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO}
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
@${ECHO}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/scim-uim/Makefile b/japanese/scim-uim/Makefile
index a2c7d5ad2385..f62ed4b8f7dc 100644
--- a/japanese/scim-uim/Makefile
+++ b/japanese/scim-uim/Makefile
@@ -26,16 +26,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
- PTHREAD_LIBS="${PTHREAD_LIBS}"
-
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-IGNORE= does not build on FreeBSD < 5.x
-.else
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ PTHREAD_LIBS="${PTHREAD_LIBS}" \
+ CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-.endif
post-install:
@${CAT} ${PKGMESSAGE}
@@ -43,4 +36,4 @@ post-install:
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
@${ECHO}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/japanese/tcl76/Makefile b/japanese/tcl76/Makefile
index 4b5ab1d4d05a..51c6c298a505 100644
--- a/japanese/tcl76/Makefile
+++ b/japanese/tcl76/Makefile
@@ -50,7 +50,7 @@ post-configure:
pre-build:
cd ${WRKSRC} && ${MAKE} -f Makefile.lib PREFIX=${PREFIX} \
- VERSION=${VERSION} OSVERSION=${OSVERSION} && ${RM} *.o
+ VERSION=${VERSION} && ${RM} *.o
pre-install:
${MKDIR} ${PREFIX}/lib/tcl${VERSION}
diff --git a/japanese/tcl76/files/Makefile.lib b/japanese/tcl76/files/Makefile.lib
index 52921a346a55..d98bae2bad25 100644
--- a/japanese/tcl76/files/Makefile.lib
+++ b/japanese/tcl76/files/Makefile.lib
@@ -8,9 +8,6 @@ CFLAGS+= -I. -I./../generic \
-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DKANJI \
-DTCL_LIBRARY=\"${TCL_LIBRARY}\" \
-DTCL_PACKAGE_PATH="\"/usr/local/lib\""
-.if ${OSVERSION} < 600011
-CFLAGS+= -DNEED_MATHERR=1
-.endif
GENERIC_DIR= ../generic
UNIX_DIR= .
diff --git a/java/diablo-jdk15/Makefile b/java/diablo-jdk15/Makefile
index 0ca04c91a7e9..e029fd36eef4 100644
--- a/java/diablo-jdk15/Makefile
+++ b/java/diablo-jdk15/Makefile
@@ -45,15 +45,10 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
.include <bsd.port.pre.mk>
+JDK_OSREL= freebsd6
+
.if ${OSVERSION} >= 700000
LIB_DEPENDS= z.3:${PORTSDIR}/misc/compat6x
-JDK_OSREL= freebsd6
-.elif ${OSVERSION} >= 600000
-JDK_OSREL= freebsd6
-.elif ${ARCH} == "i386"
-JDK_OSREL= freebsd5
-.else
-IGNORE= only available for FreeBSD 5.x/i386 and FreeBSD 6.x/amd64 and later
.endif
.if !defined(WITHOUT_TZUPDATE)
diff --git a/java/diablo-jdk15/distinfo b/java/diablo-jdk15/distinfo
index 9fe441febfdc..d0f4e94bc708 100644
--- a/java/diablo-jdk15/distinfo
+++ b/java/diablo-jdk15/distinfo
@@ -4,9 +4,6 @@ SIZE (diablo-caffe-freebsd6-amd64-1.5.0_07-b01.tar.bz2) = 46868094
MD5 (diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2) = 611e29db0b841d8c1cd170582946a666
SHA256 (diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2) = b7e010658271bebadaa9ea1f410d7af27fcbc0f864a69feea5cd60c6683aa4c9
SIZE (diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2) = 54347274
-MD5 (diablo-caffe-freebsd5-i386-1.5.0_07-b01.tar.bz2) = ac3a83b3a52cef7e1727ce32d91574d6
-SHA256 (diablo-caffe-freebsd5-i386-1.5.0_07-b01.tar.bz2) = fda84f24f4eb489b04ce3185dfe7d70bffbbe624400ae086222a3892cc1ba305
-SIZE (diablo-caffe-freebsd5-i386-1.5.0_07-b01.tar.bz2) = 54304946
MD5 (tzupdater-1_3_11-2008i.zip) = 4bb928818a5d81be3ac3edf90b33ee36
SHA256 (tzupdater-1_3_11-2008i.zip) = 69bebfa219bcaffa68cee999e0df76e6730902779f3123a4b41726d33c9b5f9d
SIZE (tzupdater-1_3_11-2008i.zip) = 262340
diff --git a/java/diablo-jdk16/Makefile b/java/diablo-jdk16/Makefile
index a569bd245c09..88cd55f97761 100644
--- a/java/diablo-jdk16/Makefile
+++ b/java/diablo-jdk16/Makefile
@@ -53,11 +53,9 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
.if ${OSVERSION} >= 700000
JDK_OSREL= freebsd7
PLIST_SUB+= RELEASENOTE="@comment "
-.elif ${OSVERSION} >= 600000
+.else
JDK_OSREL= freebsd6
PLIST_SUB+= RELEASENOTE=""
-.else
-IGNORE= only available for FreeBSD 6.x/i386 and FreeBSD 6.x/amd64 and later
.endif
.if ${ARCH} == "i386"
diff --git a/java/diablo-jre15/Makefile b/java/diablo-jre15/Makefile
index c9385ae90639..49648db487cf 100644
--- a/java/diablo-jre15/Makefile
+++ b/java/diablo-jre15/Makefile
@@ -45,15 +45,10 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jre${JRE_VERSION}
.include <bsd.port.pre.mk>
+JRE_OSREL= freebsd6
+
.if ${OSVERSION} >= 700000
LIB_DEPENDS= z.3:${PORTSDIR}/misc/compat6x
-JRE_OSREL= freebsd6
-.elif ${OSVERSION} >= 600000
-JRE_OSREL= freebsd6
-.elif ${ARCH} == "i386"
-JRE_OSREL= freebsd5
-.else
-IGNORE= only available for FreeBSD 5.x/i386 and FreeBSD 6.x/amd64 and later
.endif
.if defined(WITH_TZUPDATE)
diff --git a/java/diablo-jre15/distinfo b/java/diablo-jre15/distinfo
index 5d68063696ed..45a4735279cd 100644
--- a/java/diablo-jre15/distinfo
+++ b/java/diablo-jre15/distinfo
@@ -4,9 +4,6 @@ SIZE (diablo-latte-freebsd6-amd64-1.5.0_07-b01.tar.bz2) = 20580050
MD5 (diablo-latte-freebsd6-i386-1.5.0_07-b01.tar.bz2) = 4ab052253faf251129737e999916de1b
SHA256 (diablo-latte-freebsd6-i386-1.5.0_07-b01.tar.bz2) = 4585f35124416de052c8be10f0f48536053ab5c33dc3b7d728bf6e84d9b42c14
SIZE (diablo-latte-freebsd6-i386-1.5.0_07-b01.tar.bz2) = 23104037
-MD5 (diablo-latte-freebsd5-i386-1.5.0_07-b01.tar.bz2) = 8d678db9f1e88a63bfa8fde387ebe36f
-SHA256 (diablo-latte-freebsd5-i386-1.5.0_07-b01.tar.bz2) = f684f425a9cf07e2d8cfe90d1cb6e543d162b026003e7fcf9b655dd8f8f9e3f5
-SIZE (diablo-latte-freebsd5-i386-1.5.0_07-b01.tar.bz2) = 23036449
MD5 (tzupdater-1_3_11-2008i.zip) = 4bb928818a5d81be3ac3edf90b33ee36
SHA256 (tzupdater-1_3_11-2008i.zip) = 69bebfa219bcaffa68cee999e0df76e6730902779f3123a4b41726d33c9b5f9d
SIZE (tzupdater-1_3_11-2008i.zip) = 262340
diff --git a/java/diablo-jre16/Makefile b/java/diablo-jre16/Makefile
index 62f2d777126b..5daad463a395 100644
--- a/java/diablo-jre16/Makefile
+++ b/java/diablo-jre16/Makefile
@@ -54,11 +54,9 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jre${JRE_VERSION}
.if ${OSVERSION} >= 700000
JRE_OSREL= freebsd7
PLIST_SUB+= RELEASENOTE="@comment "
-.elif ${OSVERSION} >= 600000
+.else
JRE_OSREL= freebsd6
PLIST_SUB+= RELEASENOTE=""
-.else
-IGNORE= only available for FreeBSD 6.x/i386 and FreeBSD 6.x/amd64 and later
.endif
.if ${ARCH} == "i386"
diff --git a/java/jdk13/Makefile b/java/jdk13/Makefile
index 1a2177547289..48ad1421cb16 100644
--- a/java/jdk13/Makefile
+++ b/java/jdk13/Makefile
@@ -130,11 +130,6 @@ BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/jbootstrap
.endif
.endif
-.if ${OSVERSION} < 500038
-EXTRACT_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar
-TAR= gtar # Necessary for proper extraction of sources
-.endif
-
# Check for JDK sources and patchset
.if !defined(PACKAGE_BUILDING) && (!exists(${DISTDIR}/${SRCFILE}) || !exists(${DISTDIR}/${PATCHSETFILE}))#{
ECHO_MSG=/usr/bin/printf
@@ -165,14 +160,6 @@ IGNORE += \n Then place the downloaded file in ${DISTDIR}
IGNORE += and restart the build.\n\n
.endif#}
-# HotSpot and/or native threads require a recent version of FreeBSD
-.if ( defined(WITH_NATIVE_THREADS) || defined(WITH_HOTSPOT) ) && ( ${OSVERSION} < 500043 )
-ECHO_MSG=/usr/bin/printf
-IGNORE= :\n\
-You must have a version of FreeBSD later than 4.7-STABLE February 2003\n\
-or 5-CURRENT February 2003 to use either native threads or HotSpot.\n
-.endif
-
# Warn user about HotSpot build
.if defined(WITH_HOTSPOT)
pre-everything::
diff --git a/java/linux-blackdown-jdk14/Makefile b/java/linux-blackdown-jdk14/Makefile
index a4725ce0b4fd..5d484eccf55f 100644
--- a/java/linux-blackdown-jdk14/Makefile
+++ b/java/linux-blackdown-jdk14/Makefile
@@ -45,10 +45,6 @@ UNPACK_CMD= ${APP_HOME}/lib/unpack
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 504000
-IGNORE= does not run (core dumps: Bad System Call)
-.endif
-
post-fetch:
@${CHMOD} +x ${DISTDIR}/${DISTFILES}
diff --git a/java/linux-sun-jdk14/Makefile b/java/linux-sun-jdk14/Makefile
index 85dd14b303f1..01e1e0497384 100644
--- a/java/linux-sun-jdk14/Makefile
+++ b/java/linux-sun-jdk14/Makefile
@@ -42,10 +42,6 @@ UNPACK_CMD= ${APP_HOME}/lib/unpack
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 504000
-IGNORE= does not run (core dumps: Bad System Call)
-.endif
-
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE=You must manually fetch the J2SE SDK self-extracting file for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
diff --git a/java/linux-sun-jdk15/Makefile b/java/linux-sun-jdk15/Makefile
index b5415e990885..2e828b00c9f7 100644
--- a/java/linux-sun-jdk15/Makefile
+++ b/java/linux-sun-jdk15/Makefile
@@ -42,10 +42,6 @@ UNPACK_CMD= ${APP_HOME}/bin/unpack200
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 504000
-IGNORE= does not run (core dumps: Bad System Call)
-.endif
-
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE?=You must manually fetch the J2SE SDK self-extracting file for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
diff --git a/java/linux-sun-jdk16/Makefile b/java/linux-sun-jdk16/Makefile
index 1353bdb2bb02..e176a4a8fb49 100644
--- a/java/linux-sun-jdk16/Makefile
+++ b/java/linux-sun-jdk16/Makefile
@@ -41,10 +41,6 @@ UNPACK_CMD= ${APP_HOME}/bin/unpack200
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 504000
-IGNORE= does not run (core dumps: Bad System Call)
-.endif
-
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE?=You must manually fetch the J2SE SDK self-extracting file for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
diff --git a/java/linux-sun-jre15/Makefile b/java/linux-sun-jre15/Makefile
index 861172ed363d..f38a58842e4a 100644
--- a/java/linux-sun-jre15/Makefile
+++ b/java/linux-sun-jre15/Makefile
@@ -41,10 +41,6 @@ UNPACK_CMD= ${APP_HOME}/bin/unpack200
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 504000
-IGNORE= does not run (core dumps: Bad System Call)
-.endif
-
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE?=You must manually fetch the JRE self-extracting file for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
diff --git a/java/linux-sun-jre16/Makefile b/java/linux-sun-jre16/Makefile
index 84f99f371fd9..c063c83fecf8 100644
--- a/java/linux-sun-jre16/Makefile
+++ b/java/linux-sun-jre16/Makefile
@@ -41,10 +41,6 @@ UNPACK_CMD= ${APP_HOME}/bin/unpack200
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 504000
-IGNORE= does not run (core dumps: Bad System Call)
-.endif
-
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE?=You must manually fetch the JRE self-extracting file for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
diff --git a/java/subversion-java/Makefile b/java/subversion-java/Makefile
index 592aee0087cf..71bd41b558e7 100644
--- a/java/subversion-java/Makefile
+++ b/java/subversion-java/Makefile
@@ -26,10 +26,6 @@ SVN_BUILD_BINDINGS=yes
CONFIGURE_ARGS+= --enable-javahl --with-jdk=${JAVA_HOME}
-.if ${OSVERSION} < 503000
-BROKEN="Java bindings are supported only on FreeBSD 5.3 or newer"
-.endif
-
do-build:
@${MKDIR} ${WRKSRC}/subversion/bindings/java/javahl/classes
cd ${WRKSRC} ; \
diff --git a/korean/iiimf-le-hangul/Makefile b/korean/iiimf-le-hangul/Makefile
index 1eecac34ef2d..ea16e65d0378 100644
--- a/korean/iiimf-le-hangul/Makefile
+++ b/korean/iiimf-le-hangul/Makefile
@@ -28,12 +28,6 @@ USE_AUTOTOOLS= automake:19:env autoconf:262:env libtool:15:env
WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
BUILDDIR= ${WRKSRC}/leif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 503000
-IGNORE= is supported on FreeBSD 5.3 and later only
-.endif
-
CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
@@ -48,4 +42,4 @@ pre-configure:
@cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} reconfig
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/lang/compaq-cc/Makefile b/lang/compaq-cc/Makefile
index 4fc39837df59..02b173f07b9b 100644
--- a/lang/compaq-cc/Makefile
+++ b/lang/compaq-cc/Makefile
@@ -131,9 +131,6 @@ post-install:
${FIND} ${CCC_DIR}/alpha-linux -type f -o -type l \
>${WRKDIR}/PLIST.alphalinux
${ECHO_CMD} "lib/ld-linux.so.2" >>${WRKDIR}/PLIST.alphalinux
-.if ${OSVERSION} < 501114
- ${ECHO_CMD} "@dirrm lib" >>${WRKDIR}/PLIST.alphalinux
-.endif
cd ${PREFIX} ;\
${FIND} ${CCC_DIR}/alpha-linux -type d \
| ${SED} -e 's/^/@dirrm /g' \
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile
index dfe70d1a7bd7..ddcd3170385d 100644
--- a/lang/erlang/Makefile
+++ b/lang/erlang/Makefile
@@ -60,14 +60,6 @@ REINPLACE_ARGS= -i
.include <bsd.port.pre.mk>
-.if defined(WITHOUT_JAVA) && ${ARCH} == "amd64" && ${OSVERSION} < 600000
-BROKEN= does not compile
-.endif
-
-.if ${OSVERSION} < 502102
-WITHOUT_ODBC= yes
-.endif
-
.if !defined(WITHOUT_ODBC)
DRIVER_MANAGER?= iodbc
.if ${DRIVER_MANAGER} == "unixodbc"
diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile
index dfe70d1a7bd7..ddcd3170385d 100644
--- a/lang/erlang14/Makefile
+++ b/lang/erlang14/Makefile
@@ -60,14 +60,6 @@ REINPLACE_ARGS= -i
.include <bsd.port.pre.mk>
-.if defined(WITHOUT_JAVA) && ${ARCH} == "amd64" && ${OSVERSION} < 600000
-BROKEN= does not compile
-.endif
-
-.if ${OSVERSION} < 502102
-WITHOUT_ODBC= yes
-.endif
-
.if !defined(WITHOUT_ODBC)
DRIVER_MANAGER?= iodbc
.if ${DRIVER_MANAGER} == "unixodbc"
diff --git a/lang/ezm3/Makefile b/lang/ezm3/Makefile
index 6db914ac033b..209c78c6080a 100644
--- a/lang/ezm3/Makefile
+++ b/lang/ezm3/Makefile
@@ -84,12 +84,6 @@ pre-patch:
.endfor
.endif
-post-patch:
-.if ${ARCH} == "sparc64" && ${OSVERSION} < 502107
- @${REINPLACE_CMD} -E -e 's|(^.*time_t.*=.*)int64_t;|\1int32_t;|' \
- ${WRKSRC}/libs/m3core/src/unix/freebsd-4.sparc64/Utypes.i3
-.endif
-
do-build:
@${ECHO_MSG} "This port does everything in the install step."
@${ECHO_MSG} "The build step is a no-op."
diff --git a/lang/fpc/Makefile b/lang/fpc/Makefile
index c8273ca3c371..876579fa281f 100644
--- a/lang/fpc/Makefile
+++ b/lang/fpc/Makefile
@@ -25,6 +25,8 @@ DIST_SUBDIR= freepascal
MAINTAINER?= acm@FreeBSD.org
COMMENT?= Free Pascal compiler with Turbo and Delphi
+LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
+
USE_GMAKE= yes
ONLY_FOR_ARCHS= i386
@@ -76,11 +78,6 @@ MAN1= bin2obj.1 \
unitdiff.1
MAN5= fpc.cfg.5 fpcmake.5 ptop.cfg.5
-# only need misc/compat4x if using the pre-built ppc386
-.if ${OSVERSION} >= 600000
-LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
-.endif
-
do-extract:
# unpack binary distribution
@${MKDIR} ${WRKDIR}
diff --git a/lang/gambas/Makefile b/lang/gambas/Makefile
index 73cb6a3e79b2..845ca8c6c2a5 100644
--- a/lang/gambas/Makefile
+++ b/lang/gambas/Makefile
@@ -85,10 +85,6 @@ PLIST_SUB+= XML="@comment "
BROKEN= Segfault during build on ${ARCH}
.endif
-.if ${OSVERSION} < 502110
-RUN_DEPENDS+= pgrep:${PORTSDIR}/sysutils/pkill
-.endif
-
.for lib in ${LIBS2FIX}
NEW${lib:U}!= ${LDCONFIG} -r | ${GREP} ${lib} | ${GREP} -v 'compat/pkg' \
| ${AWK} -F 'lib\/' '{print $$2}'
diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile
index 920c9d4981cb..0295be616207 100644
--- a/lang/gawk/Makefile
+++ b/lang/gawk/Makefile
@@ -16,12 +16,6 @@ COMMENT= The GNU version of Awk
INFO= gawk gawkinet
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500039
-EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nowchar
-.endif
-
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
--with-libintl-prefix=${LOCALBASE}
@@ -38,4 +32,4 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/lang/gawk/files/extra-patch-nowchar b/lang/gawk/files/patch-configure
index 4896bac598fa..4896bac598fa 100644
--- a/lang/gawk/files/extra-patch-nowchar
+++ b/lang/gawk/files/patch-configure
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile
index a4a8f5347454..d3174820cb94 100644
--- a/lang/gcc/Makefile
+++ b/lang/gcc/Makefile
@@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.endif
-.if ${OSVERSION} < 502102
-CONFIGURE_ARGS+= --disable-libgomp
-.endif
-
SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION}
@@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gcc \
gcc${SUFFIX}/gccinstall \
gcc${SUFFIX}/gccint \
- gcc${SUFFIX}/gfortran
-.if ${OSVERSION} >= 502102
-INFO+= gcc${SUFFIX}/libgomp
-.endif
+ gcc${SUFFIX}/gfortran \
+ gcc${SUFFIX}/libgomp
.if ! defined(WITHOUT_JAVA)
DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX}
diff --git a/lang/gcc28/Makefile b/lang/gcc28/Makefile
index 7d6fc3a1e22d..819ac4a0cd08 100644
--- a/lang/gcc28/Makefile
+++ b/lang/gcc28/Makefile
@@ -31,9 +31,6 @@ BROKEN= Does not compile on alpha
CONFIGURE_ENV+= OSVERSION=${OSVERSION}
PLIST_SUB= GNUHOST=${CONFIGURE_TARGET}
-.if ${OSVERSION} < 600011
-PLIST_FILES+= lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1/include/math.h
-.endif
CONFIGURE_ARGS= --with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1/include/g++ \
--program-suffix=28
GNU_CONFIGURE= yes
diff --git a/lang/gcc295/Makefile b/lang/gcc295/Makefile
index 0503f0afbd24..4bd50852112c 100644
--- a/lang/gcc295/Makefile
+++ b/lang/gcc295/Makefile
@@ -35,9 +35,7 @@ BROKEN= Does not compile on alpha
WITHOUT_CPU_CFLAGS= yes
.endif
-.if ${OSVERSION} >= 500039
WITHOUT_CPU_CFLAGS= yes
-.endif
GCC_REV= ${DISTNAME:S/gcc-//g:S/.test3//g}
TARGLIB= ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV}
diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile
index 71c8f4a52863..49054a1ade6a 100644
--- a/lang/gcc42/Makefile
+++ b/lang/gcc42/Makefile
@@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.endif
-.if ${OSVERSION} < 502102
-CONFIGURE_ARGS+= --disable-libgomp
-.endif
-
SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION}
@@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gcc \
gcc${SUFFIX}/gccinstall \
gcc${SUFFIX}/gccint \
- gcc${SUFFIX}/gfortran
-.if ${OSVERSION} >= 502102
-INFO+= gcc${SUFFIX}/libgomp
-.endif
+ gcc${SUFFIX}/gfortran \
+ gcc${SUFFIX}/libgomp
.if ! defined(WITHOUT_JAVA)
DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX}
diff --git a/lang/gcc43/Makefile b/lang/gcc43/Makefile
index 60be8436127b..8133dd125a0a 100644
--- a/lang/gcc43/Makefile
+++ b/lang/gcc43/Makefile
@@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.endif
-.if ${OSVERSION} < 502102
-CONFIGURE_ARGS+= --disable-libgomp
-.endif
-
SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION}
@@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gcc \
gcc${SUFFIX}/gccinstall \
gcc${SUFFIX}/gccint \
- gcc${SUFFIX}/gfortran
-.if ${OSVERSION} >= 502102
-INFO+= gcc${SUFFIX}/libgomp
-.endif
+ gcc${SUFFIX}/gfortran \
+ gcc${SUFFIX}/libgomp
.if ! defined(WITHOUT_JAVA)
DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX}
diff --git a/lang/gcc44/Makefile b/lang/gcc44/Makefile
index a4a8f5347454..d3174820cb94 100644
--- a/lang/gcc44/Makefile
+++ b/lang/gcc44/Makefile
@@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.endif
-.if ${OSVERSION} < 502102
-CONFIGURE_ARGS+= --disable-libgomp
-.endif
-
SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION}
@@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gcc \
gcc${SUFFIX}/gccinstall \
gcc${SUFFIX}/gccint \
- gcc${SUFFIX}/gfortran
-.if ${OSVERSION} >= 502102
-INFO+= gcc${SUFFIX}/libgomp
-.endif
+ gcc${SUFFIX}/gfortran \
+ gcc${SUFFIX}/libgomp
.if ! defined(WITHOUT_JAVA)
DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX}
diff --git a/lang/gcc45/Makefile b/lang/gcc45/Makefile
index a4a8f5347454..d3174820cb94 100644
--- a/lang/gcc45/Makefile
+++ b/lang/gcc45/Makefile
@@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.endif
-.if ${OSVERSION} < 502102
-CONFIGURE_ARGS+= --disable-libgomp
-.endif
-
SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION}
@@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gcc \
gcc${SUFFIX}/gccinstall \
gcc${SUFFIX}/gccint \
- gcc${SUFFIX}/gfortran
-.if ${OSVERSION} >= 502102
-INFO+= gcc${SUFFIX}/libgomp
-.endif
+ gcc${SUFFIX}/gfortran \
+ gcc${SUFFIX}/libgomp
.if ! defined(WITHOUT_JAVA)
DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX}
diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile
index a4a8f5347454..d3174820cb94 100644
--- a/lang/gcc46/Makefile
+++ b/lang/gcc46/Makefile
@@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.endif
-.if ${OSVERSION} < 502102
-CONFIGURE_ARGS+= --disable-libgomp
-.endif
-
SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION}
@@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gcc \
gcc${SUFFIX}/gccinstall \
gcc${SUFFIX}/gccint \
- gcc${SUFFIX}/gfortran
-.if ${OSVERSION} >= 502102
-INFO+= gcc${SUFFIX}/libgomp
-.endif
+ gcc${SUFFIX}/gfortran \
+ gcc${SUFFIX}/libgomp
.if ! defined(WITHOUT_JAVA)
DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX}
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index a4a8f5347454..d3174820cb94 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.endif
-.if ${OSVERSION} < 502102
-CONFIGURE_ARGS+= --disable-libgomp
-.endif
-
SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION}
@@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gcc \
gcc${SUFFIX}/gccinstall \
gcc${SUFFIX}/gccint \
- gcc${SUFFIX}/gfortran
-.if ${OSVERSION} >= 502102
-INFO+= gcc${SUFFIX}/libgomp
-.endif
+ gcc${SUFFIX}/gfortran \
+ gcc${SUFFIX}/libgomp
.if ! defined(WITHOUT_JAVA)
DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX}
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index a4a8f5347454..d3174820cb94 100644
--- a/lang/gcc48/Makefile
+++ b/lang/gcc48/Makefile
@@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL}
CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.endif
-.if ${OSVERSION} < 502102
-CONFIGURE_ARGS+= --disable-libgomp
-.endif
-
SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
WRKSRC= ${WRKDIR}/build
TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION}
@@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/gcc \
gcc${SUFFIX}/gccinstall \
gcc${SUFFIX}/gccint \
- gcc${SUFFIX}/gfortran
-.if ${OSVERSION} >= 502102
-INFO+= gcc${SUFFIX}/libgomp
-.endif
+ gcc${SUFFIX}/gfortran \
+ gcc${SUFFIX}/libgomp
.if ! defined(WITHOUT_JAVA)
DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX}
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index d291472cee0c..09ff4a5bdb47 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -52,10 +52,8 @@ LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
.if ${ARCH} == "i386"
.if ${OSVERSION} >= 700000
DISTFILES+= ghc-${PORTVERSION}-i386-unknown-freebsd7-boot${EXTRACT_SUFX}:boot
-.elif ${OSVERSION} >= 600000
-DISTFILES+= ghc-${PORTVERSION}-i386-unknown-freebsd6-boot${EXTRACT_SUFX}:boot
.else
-IGNORE= unsupported at the moment
+DISTFILES+= ghc-${PORTVERSION}-i386-unknown-freebsd6-boot${EXTRACT_SUFX}:boot
.endif
.endif
diff --git a/lang/icc/Makefile b/lang/icc/Makefile
index 9e5c0dc8c93c..93251e43aded 100644
--- a/lang/icc/Makefile
+++ b/lang/icc/Makefile
@@ -57,24 +57,8 @@ EXTRACT_AFTER_ARGS= | tar -xf - \
ICCCFGVAL!= ${UNAME} -r | ${SED} -e 's/\..*//'
-.if ( ${OSVERSION} < 502108 )
-PLIST_SUB+= MACHINE__TYPES_H="@comment " STDARG_H="" SYS_CDEFS_H="" \
- STDBOOL_H=""
-.else
-PLIST_SUB+= STDARG_H="@comment " SYS_CDEFS_H="@comment "
-.if ( ${OSVERSION} < 503103 || ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600013 ) )
-PLIST_SUB+= MACHINE__TYPES_H="" STDBOOL_H=""
-.else
-PLIST_SUB+= MACHINE__TYPES_H="@comment " STDBOOL_H="@comment "
-.endif
-.if ${OSVERSION} < 502126
-GCCCOMPATVER= 330
-.endif
-.if ${OSVERSION} >= 502126
GCCCOMPATVER= 340
-.endif
GXXINCLUDE= /usr/include/c++/${GCCCOMPATVER:C/([0-9])([0-9]).+/\1.\2/}
-.endif
.for file in ${DISTFILES}
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${file})
@@ -143,49 +127,19 @@ post-patch:
# Provide a more FreeBSD'ish compile environment
.for i in icc.cfg icpc.cfg
@${ECHO_CMD} -e "-Qlocation,ld,${PREFIX}/${COMPILERDIR}/bin/ldwrapper\n\n-wr1125\n-we140\n\n-Ulinux\n-U__linux__\n-U__linux\n-U__gnu_linux__\n\n-D__FreeBSD__=${ICCCFGVAL}\n\n" >>${WRKSRC}/opt/${COMPILERDIR}/bin/${i}
-.if ( ${OSVERSION} >= 500039 )
@${ECHO_CMD} -e "-D__wchar_t=__ct_rune_t\n" >>${WRKSRC}/opt/${COMPILERDIR}/bin/${i}
-.endif
-.if ( ${OSVERSION} >= 502108 )
@${ECHO_CMD} -e "-restrict\n" >>${WRKSRC}/opt/${COMPILERDIR}/bin/${i}
-.else
- @${ECHO_CMD} -e "-no-gcc\n" >>${WRKSRC}/opt/${COMPILERDIR}/bin/${i}
-.endif
@${CHMOD} a-x,g-w ${WRKSRC}/opt/${COMPILERDIR}/bin/${i}
.endfor
# C++ hack for icpc
-.if ( ${OSVERSION} >= 502108 )
@${ECHO_CMD} -e "-gcc-version=${GCCCOMPATVER}\n-cxxlib-gcc\n" \
>>${WRKSRC}/opt/${COMPILERDIR}/bin/icpc.cfg
-.else
- @${ECHO_CMD} -e "\n-I${PREFIX}/include/stlport\n-Qoption,ld,-CPLUSPLUS\n" \
- >>${WRKSRC}/opt/${COMPILERDIR}/bin/icpc.cfg
-.endif
@cd ${WRKSRC}/opt/${COMPILERDIR}/bin/ && ${LN} -s icc.cfg iccbin.cfg \
&& ${LN} -s icpc.cfg icpcbin.cfg
-.if ( ${OSVERSION} < 502108 )
-# Hack while there's no support for ICC in the stdarg.h and sys/cdefs.h.
- @${CP} ${FILESDIR}/stdarg.h ${WRKSRC}/opt/${COMPILERDIR}/include
- @${MKDIR} ${WRKSRC}/opt/${COMPILERDIR}/include/sys
- @${CP} ${FILESDIR}/cdefs.h ${WRKSRC}/opt/${COMPILERDIR}/include/sys
-.endif
-.if ( ( ${OSVERSION} >= 502108 && ${OSVERSION} < 503103 ) || ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600013 ) )
-# Work around bug for ICC support in src/sys/i386/include/_types.h.
- @${MKDIR} ${WRKSRC}/opt/${COMPILERDIR}/include/machine
- @${CP} ${FILESDIR}/_types.h ${WRKSRC}/opt/${COMPILERDIR}/include/machine
-.endif
-.if ( ${OSVERSION} < 503103 || ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600013 ) )
-# Work around a bug in stdbool.h
- @${SED} -e 's:__STDC_VERSION__ < 199901L.*:__STDC_VERSION__ < 199901L \&\& defined(__GNUC__) \&\& __GNUC__ < 3 \&\& !defined(__INTEL_COMPILER):g' \
- </usr/include/stdbool.h \
- >${WRKSRC}/opt/${COMPILERDIR}/include/stdbool.h
-.endif
-.if ( ${OSVERSION} >= 500042 )
OBJCOPY_OPS= --redefine-sym stdin=__stdinp \
--redefine-sym stdout=__stdoutp \
--redefine-sym stderr=__stderrp
-.endif
do-build:
# Use the Linux ABI for the binaries
@@ -196,14 +150,6 @@ do-build:
# Fix unresolved references
@cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/assert_fail.c \
${FILESDIR}/errno_location.c ${FILESDIR}/mcount.S
-.if ( ${OSVERSION} < 502101 )
- @cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/cxa_atexit.c
-.endif
-.if ( ${OSVERSION} < 500042 )
- @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdin.o ${FILESDIR}/stdin.c
- @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdout.o ${FILESDIR}/stdout.c
- @${CC} ${CFLAGS} -c -o ${WRKSRC}/stderr.o ${FILESDIR}/stderr.c
-.endif
.for i in libcxa.a libcxaguard.a libimf.a libirc.a libirc_s.a libsvml.a \
libunwind.a
@${OBJCOPY} --redefine-sym __sigsetjmp=sigsetjmp \
diff --git a/lang/icc/pkg-plist b/lang/icc/pkg-plist
index 243c5e48e42e..cfc34c58f1a2 100644
--- a/lang/icc/pkg-plist
+++ b/lang/icc/pkg-plist
@@ -910,18 +910,12 @@
%%COMPILERDIR%%/include/fvec.h
%%COMPILERDIR%%/include/ivec.h
%%COMPILERDIR%%/include/ia32intrin.h
-%%MACHINE__TYPES_H%%%%COMPILERDIR%%/include/machine/_types.h
-%%MACHINE__TYPES_H%%@dirrm %%COMPILERDIR%%/include/machine
%%COMPILERDIR%%/include/mathimf.h
%%COMPILERDIR%%/include/mmintrin.h
%%COMPILERDIR%%/include/pgouser.h
%%COMPILERDIR%%/include/pmmintrin.h
%%COMPILERDIR%%/include/proto.h
%%COMPILERDIR%%/include/sse2mmx.h
-%%STDARG_H%%%%COMPILERDIR%%/include/stdarg.h
-%%STDBOOL_H%%%%COMPILERDIR%%/include/stdbool.h
-%%SYS_CDEFS_H%%%%COMPILERDIR%%/include/sys/cdefs.h
-%%SYS_CDEFS_H%%@dirrm %%COMPILERDIR%%/include/sys
%%COMPILERDIR%%/include/xmm_func.h
%%COMPILERDIR%%/include/xmm_utils.h
%%COMPILERDIR%%/include/xmmintrin.h
diff --git a/lang/icc7/Makefile b/lang/icc7/Makefile
index da6428d43d8f..8ec353b5d9e2 100644
--- a/lang/icc7/Makefile
+++ b/lang/icc7/Makefile
@@ -45,12 +45,6 @@ EXTRACT_AFTER_ARGS= | tar -xf - \
ICCCFGVAL!= ${UNAME} -r | ${SED} -e 's/\..*//'
-.if ( ${OSVERSION} < 502108 )
-PLIST_SUB+= STDARG_H="" SYS_CDEFS_H=""
-.else
-PLIST_SUB+= STDARG_H="@comment " SYS_CDEFS_H="@comment "
-.endif
-
.for file in ${DISTNAME}
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${file}${EXTRACT_SUFX})
IGNORE= "Go to Intel Premier Support, https://premier.intel.com, to obtain ${DISTFILES}. Product updates such as this compiler are posted regularly on Premier Support. You must have a license to obtain access to Premier Support. If you do not already have a license go to ${ICC_SITE} to review licensing options \(evaluation, commercial, and free non-commercial\) and obtain a license. Put ${DISTFILES} into ${DISTDIR} and run make again"
@@ -107,42 +101,23 @@ post-patch:
@${REINPLACE_CMD} -i "" -e 's:-Xlinker -rpath -Xlinker <INSTALLDIR>/${COMPILERDIR}/ia32/lib::g' \
${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
@${ECHO_CMD} -e "-Qlocation,ld,${PREFIX}/intel/${COMPILERDIR}/ia32/bin/ldwrapper\n\n-wr1125\n-we140\n\n-Ulinux\n-U__linux__\n-U__linux\n-U__gnu_linux__\n\n-D__FreeBSD__=${ICCCFGVAL}\n-D__ELF__=1\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
-.if ( ${OSVERSION} >= 500039 )
@${ECHO_CMD} -e "-D__wchar_t=__ct_rune_t\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
-.endif
-.if ( ${OSVERSION} >= 502108 )
@${ECHO_CMD} -e "-restrict\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
-.endif
@${CHMOD} a-x,g-w ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
.endfor
# C++ hack for icpc
@${ECHO_CMD} -e "\n-I${PREFIX}/include/stlport\n-Qoption,ld,-CPLUSPLUS\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/icpc.cfg
@cd ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ && ${LN} -s icc.cfg iccbin.cfg && ${LN} -s icpc.cfg icpcbin.cfg
-# Hack while there's no support for icc in the stdarg.h of FreeBSD.
-.if ( ${OSVERSION} < 502108 )
- @${CP} ${FILESDIR}/stdarg.h ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/include
-.else
@${RM} -rf ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/include/sys
-.endif
-.if ( ${OSVERSION} >= 500042 )
OBJCOPY_OPS= --redefine-sym stdin=__stdinp \
--redefine-sym stdout=__stdoutp \
--redefine-sym stderr=__stderrp
-.endif
do-build:
# Fix unresolved references
@cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/assert_fail.c \
${FILESDIR}/errno_location.c ${FILESDIR}/mcount.S
-.if ( ${OSVERSION} < 502101 )
- @cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/cxa_atexit.c
-.endif
-.if ( ${OSVERSION} < 500042 )
- @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdin.o ${FILESDIR}/stdin.c
- @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdout.o ${FILESDIR}/stdout.c
- @${CC} ${CFLAGS} -c -o ${WRKSRC}/stderr.o ${FILESDIR}/stderr.c
-.endif
.for i in libcxa.a libimf.a libirc.a libircmt.a libunwind.a
@${OBJCOPY} --redefine-sym __sigsetjmp=sigsetjmp \
${OBJCOPY_OPS} \
diff --git a/lang/icc7/pkg-plist b/lang/icc7/pkg-plist
index c52cc5ba4f03..715a18422517 100644
--- a/lang/icc7/pkg-plist
+++ b/lang/icc7/pkg-plist
@@ -1124,9 +1124,6 @@ intel/%%COMPILERDIR%%/ia32/include/pgouser.h
intel/%%COMPILERDIR%%/ia32/include/pmmintrin.h
intel/%%COMPILERDIR%%/ia32/include/proto.h
intel/%%COMPILERDIR%%/ia32/include/sse2mmx.h
-%%STDARG_H%%intel/%%COMPILERDIR%%/ia32/include/stdarg.h
-%%SYS_CDEFS_H%%intel/%%COMPILERDIR%%/ia32/include/sys/cdefs.h
-%%SYS_CDEFS_H%%@dirrm intel/%%COMPILERDIR%%/ia32/include/sys
intel/%%COMPILERDIR%%/ia32/include/typeinfo
intel/%%COMPILERDIR%%/ia32/include/xmmintrin.h
intel/%%COMPILERDIR%%/ia32/include/xmtx.h
diff --git a/lang/ifc/Makefile b/lang/ifc/Makefile
index d0943d69e9e7..b34f9529e5eb 100644
--- a/lang/ifc/Makefile
+++ b/lang/ifc/Makefile
@@ -121,11 +121,9 @@ post-patch:
.endfor
@cd ${WRKSRC}/opt/${COMPILERDIR}/bin/ && ${LN} -s ifort.cfg ifortbin.cfg
-.if ( ${OSVERSION} >= 500042 )
OBJCOPY_OPS= --redefine-sym stdin=__stdinp \
--redefine-sym stdout=__stdoutp \
--redefine-sym stderr=__stderrp
-.endif
do-build:
# Use the Linux ABI for the binaries
@@ -138,14 +136,6 @@ do-build:
${FILESDIR}/sysconf.c \
${FILESDIR}/errno_location.c ${FILESDIR}/mcount.S \
${FILESDIR}/memalign.c
-.if ( ${OSVERSION} < 502101 )
- @cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/cxa_atexit.c
-.endif
-.if ( ${OSVERSION} < 500042 )
- @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdin.o ${FILESDIR}/stdin.c
- @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdout.o ${FILESDIR}/stdout.c
- @${CC} ${CFLAGS} -c -o ${WRKSRC}/stderr.o ${FILESDIR}/stderr.c
-.endif
.for i in libcprts.a libcxa.a libifcore.a libifcore_pic.a libifcoremt.a libifport.a libimf.a libirc.a libirc_s.a libunwind.a
@${OBJCOPY} --redefine-sym __sigsetjmp=sigsetjmp \
--redefine-sym __xpg_basename=basename \
diff --git a/lang/ifc7/Makefile b/lang/ifc7/Makefile
index 7e110368d0b3..6ae72fb7971b 100644
--- a/lang/ifc7/Makefile
+++ b/lang/ifc7/Makefile
@@ -98,18 +98,13 @@ post-patch:
-e 's@\<INSTALLDIR\>@${PREFIX}/intel@g;' \
${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
@${ECHO_CMD} -e "-Qlocation,ld,${PREFIX}/intel/${COMPILERDIR}/ia32/bin/ldwrapper\n\n-Ulinux\n-U__linux__\n-U__linux\n-U__gnu_linux__\n\n-D__FreeBSD__=${IFCCFGVAL}\n-D__ELF__=1\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
-.if ${OSVERSION} < 500016
- @${ECHO_CMD} -e "-Qoption,ld,-MT\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
-.endif
@${CHMOD} a-x,g-w ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i}
.endfor
@cd ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ && ${LN} -s ifc.cfg ifcbin.cfg
-.if ( ${OSVERSION} >= 500042 )
OBJCOPY_OPS= --redefine-sym stdin=__stdinp \
--redefine-sym stdout=__stdoutp \
--redefine-sym stderr=__stderrp
-.endif
do-build:
# Fix unresolved references
@@ -118,14 +113,6 @@ do-build:
${FILESDIR}/mmap.c ${FILESDIR}/pthread.c \
${FILESDIR}/sysconf.c \
${FILESDIR}/errno_location.c ${FILESDIR}/mcount.S
-.if ( ${OSVERSION} < 502101 )
- @cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/cxa_atexit.c
-.endif
-.if ( ${OSVERSION} < 500042 )
- @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdin.o ${FILESDIR}/stdin.c
- @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdout.o ${FILESDIR}/stdout.c
- @${CC} ${CFLAGS} -c -o ${WRKSRC}/stderr.o ${FILESDIR}/stderr.c
-.endif
.for i in libcxa.a libimf.a libirc.a libircmt.a libunwind.a \
libBINDF90.a libCEPCF90.a libF90.a libIEPCF90.a libPEPCF90.a \
libcprts.a libintrins.a libompstub.a
diff --git a/lang/io/Makefile b/lang/io/Makefile
index 0befc0135826..6a195eef492a 100644
--- a/lang/io/Makefile
+++ b/lang/io/Makefile
@@ -33,12 +33,6 @@ DEFAULT_ADDONS= AsyncRequest Blowfish Box CGI ContinuedFraction Curses \
PORTDOCS= *
PORTEXAMPLES= *
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-LIB_DEPENDS+= edit.6:${PORTSDIR}/devel/libedit
-.endif
-
post-patch:
@cd ${WRKSRC}/addons && for addon in *; do \
if ! ${ECHO_CMD} ${DEFAULT_ADDONS} | ${GREP} $$addon > /dev/null; then \
@@ -65,4 +59,4 @@ post-install:
@cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/lang/libjit/Makefile b/lang/libjit/Makefile
index 0415f8290f32..6c4068b5ffc7 100644
--- a/lang/libjit/Makefile
+++ b/lang/libjit/Makefile
@@ -36,13 +36,11 @@ BROKEN= Fails to compile: internal gcc error
post-patch:
# fix for amd64, Upstream forgot a header file
${CP} ${FILESDIR}/extra-jit-rules-interp.h ${WRKSRC}/jit/jit-rules-interp.h
-.if ${OSVERSION} >= 502128
@${REINPLACE_CMD} -e 's|#undef HAVE_TGMATH_H||' \
${WRKSRC}/config.h.in
-.endif
post-configure:
-.if ${OSVERSION} >= 502123 && ${ARCH} != "amd64"
+.if ${ARCH} != "amd64"
@${REINPLACE_CMD} -e 's|$$pic_flag -DPIC||' \
${WRKSRC}/libtool
.endif
diff --git a/lang/maude/Makefile b/lang/maude/Makefile
index 94c12d50f35b..15ac3a58ce06 100644
--- a/lang/maude/Makefile
+++ b/lang/maude/Makefile
@@ -29,10 +29,4 @@ post-patch:
${WRKSRC}/src/Mixfix/global.hh
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-BROKEN= does not compile on 4.X or 5.X
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/lang/mlton/Makefile b/lang/mlton/Makefile
index 68ceb31e2ccf..8d50a02f29c6 100644
--- a/lang/mlton/Makefile
+++ b/lang/mlton/Makefile
@@ -86,9 +86,6 @@ MLTON_ARCH= "x86"
OSRELMAJ=
.else
OSRELMAJ= -6
-.if ${OSVERSION} < 600000
-IGNORE= cannot bootstrap on FreeBSD < 6.0
-.endif
.endif
BOOT_EXTRACT= --bzip2
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index 62d905597370..03566e2a3ec6 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -63,15 +63,6 @@ USE_FAM= yes
pre-everything::
@${CAT} ${PKGMESSAGE}
-.if ${OSVERSION} < 503000
-IGNORE= does not work on 4.X and 5.X before 503000
-.endif
-
-# ttyname_r(3) patch
-.if ${OSVERSION} < 600028
-EXTRA_PATCHES+= ${FILESDIR}/extra-patch-support_mph.h
-.endif
-
.if exists(${LOCALBASE}/lib/libfam.so)
USE_FAM= yes
.endif
diff --git a/lang/mono/files/extra-patch-support_mph.h b/lang/mono/files/extra-patch-support_mph.h
deleted file mode 100644
index f8d4206d69cc..000000000000
--- a/lang/mono/files/extra-patch-support_mph.h
+++ /dev/null
@@ -1,11 +0,0 @@
---- support/mph.h.orig Tue Apr 5 10:43:05 2005
-+++ support/mph.h Thu May 5 17:34:31 2005
-@@ -149,6 +149,8 @@
-
- #endif /* ndef INC_mph_H */
-
-+int ttyname_r (int fd, char *buf, size_t buflen);
-+
- /*
- * vim: noexpandtab
- */
diff --git a/lang/neko/Makefile b/lang/neko/Makefile
index 76dc3dff69a2..7246e4c1e3a4 100644
--- a/lang/neko/Makefile
+++ b/lang/neko/Makefile
@@ -28,10 +28,6 @@ OPTIONS= APACHE13 "Build with mod_neko for Apache 1.3.x" off \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-IGNORE= it is supported on FreeBSD 6.x and later
-.endif
-
# Neko needs boehm-gc with POSIX thread support.
BC_DIR!= cd ${PORTSDIR}/devel/boehm-gc && ${MAKE} -V WRKSRC
BC_MAKEARGS= BATCH=yes WITH_THREADING=true
diff --git a/lang/perl5.10/Makefile b/lang/perl5.10/Makefile
index efbdb029438f..e3f7ce65712d 100644
--- a/lang/perl5.10/Makefile
+++ b/lang/perl5.10/Makefile
@@ -124,12 +124,7 @@ CONFIGURE_ARGS+= -Duse64bitint
LATEST_LINK= perl
-.if ${OSVERSION} < 500036
-PLIST_SUB+= NEED_USE_PERL=""
-.else
-PKGMESSAGE= ${PKGDIR}/.not-here
PLIST_SUB+= NEED_USE_PERL="@comment "
-.endif
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3
@@ -190,10 +185,6 @@ post-install:
.endfor
.if defined(WITH_USE_PERL)
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.if ${OSVERSION} < 500036
- ${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl
- @fmt ${PKGMESSAGE}
-.endif
.endif
rebuild-xs:
diff --git a/lang/perl5.10/pkg-message b/lang/perl5.10/pkg-message
deleted file mode 100644
index 0438edb18a19..000000000000
--- a/lang/perl5.10/pkg-message
+++ /dev/null
@@ -1,26 +0,0 @@
-Installation of Perl distribution is finished. Please note, that since
-Perl is also in the base system, this distribution will not be used by
-default.
-
-If you want this version of Perl to be used by default, please type
-
- use.perl port
-
-Assuming that use.perl script (which was installed with the rest of the
-Perl distribution) can be found in your PATH (you might have to type
-`rehash' first, depending upon a shell you use), this action will
-replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the
-versions of these binaries in the Perl distribution. This action will
-also put some variables into your /etc/make.conf file, so that newly
-installed ports (not packages!) will use new version of perl, and the
-system upgrades from the source will not overwrite the changes made.
-
-Note that use.perl port is specific to a given perl installation. If
-you later upgrade the perl port, run use.perl port again to update the
-symbolic links and /etc/make.conf.
-
-At any time you can also type
-
- use.perl system
-
-if you wish to revert back to the system version of perl.
diff --git a/lang/perl5.12/Makefile b/lang/perl5.12/Makefile
index efbdb029438f..e3f7ce65712d 100644
--- a/lang/perl5.12/Makefile
+++ b/lang/perl5.12/Makefile
@@ -124,12 +124,7 @@ CONFIGURE_ARGS+= -Duse64bitint
LATEST_LINK= perl
-.if ${OSVERSION} < 500036
-PLIST_SUB+= NEED_USE_PERL=""
-.else
-PKGMESSAGE= ${PKGDIR}/.not-here
PLIST_SUB+= NEED_USE_PERL="@comment "
-.endif
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3
@@ -190,10 +185,6 @@ post-install:
.endfor
.if defined(WITH_USE_PERL)
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.if ${OSVERSION} < 500036
- ${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl
- @fmt ${PKGMESSAGE}
-.endif
.endif
rebuild-xs:
diff --git a/lang/perl5.12/pkg-message b/lang/perl5.12/pkg-message
deleted file mode 100644
index 0438edb18a19..000000000000
--- a/lang/perl5.12/pkg-message
+++ /dev/null
@@ -1,26 +0,0 @@
-Installation of Perl distribution is finished. Please note, that since
-Perl is also in the base system, this distribution will not be used by
-default.
-
-If you want this version of Perl to be used by default, please type
-
- use.perl port
-
-Assuming that use.perl script (which was installed with the rest of the
-Perl distribution) can be found in your PATH (you might have to type
-`rehash' first, depending upon a shell you use), this action will
-replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the
-versions of these binaries in the Perl distribution. This action will
-also put some variables into your /etc/make.conf file, so that newly
-installed ports (not packages!) will use new version of perl, and the
-system upgrades from the source will not overwrite the changes made.
-
-Note that use.perl port is specific to a given perl installation. If
-you later upgrade the perl port, run use.perl port again to update the
-symbolic links and /etc/make.conf.
-
-At any time you can also type
-
- use.perl system
-
-if you wish to revert back to the system version of perl.
diff --git a/lang/perl5.14/Makefile b/lang/perl5.14/Makefile
index efbdb029438f..e3f7ce65712d 100644
--- a/lang/perl5.14/Makefile
+++ b/lang/perl5.14/Makefile
@@ -124,12 +124,7 @@ CONFIGURE_ARGS+= -Duse64bitint
LATEST_LINK= perl
-.if ${OSVERSION} < 500036
-PLIST_SUB+= NEED_USE_PERL=""
-.else
-PKGMESSAGE= ${PKGDIR}/.not-here
PLIST_SUB+= NEED_USE_PERL="@comment "
-.endif
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3
@@ -190,10 +185,6 @@ post-install:
.endfor
.if defined(WITH_USE_PERL)
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.if ${OSVERSION} < 500036
- ${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl
- @fmt ${PKGMESSAGE}
-.endif
.endif
rebuild-xs:
diff --git a/lang/perl5.14/pkg-message b/lang/perl5.14/pkg-message
deleted file mode 100644
index 0438edb18a19..000000000000
--- a/lang/perl5.14/pkg-message
+++ /dev/null
@@ -1,26 +0,0 @@
-Installation of Perl distribution is finished. Please note, that since
-Perl is also in the base system, this distribution will not be used by
-default.
-
-If you want this version of Perl to be used by default, please type
-
- use.perl port
-
-Assuming that use.perl script (which was installed with the rest of the
-Perl distribution) can be found in your PATH (you might have to type
-`rehash' first, depending upon a shell you use), this action will
-replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the
-versions of these binaries in the Perl distribution. This action will
-also put some variables into your /etc/make.conf file, so that newly
-installed ports (not packages!) will use new version of perl, and the
-system upgrades from the source will not overwrite the changes made.
-
-Note that use.perl port is specific to a given perl installation. If
-you later upgrade the perl port, run use.perl port again to update the
-symbolic links and /etc/make.conf.
-
-At any time you can also type
-
- use.perl system
-
-if you wish to revert back to the system version of perl.
diff --git a/lang/perl5.16/Makefile b/lang/perl5.16/Makefile
index efbdb029438f..e3f7ce65712d 100644
--- a/lang/perl5.16/Makefile
+++ b/lang/perl5.16/Makefile
@@ -124,12 +124,7 @@ CONFIGURE_ARGS+= -Duse64bitint
LATEST_LINK= perl
-.if ${OSVERSION} < 500036
-PLIST_SUB+= NEED_USE_PERL=""
-.else
-PKGMESSAGE= ${PKGDIR}/.not-here
PLIST_SUB+= NEED_USE_PERL="@comment "
-.endif
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3
@@ -190,10 +185,6 @@ post-install:
.endfor
.if defined(WITH_USE_PERL)
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.if ${OSVERSION} < 500036
- ${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl
- @fmt ${PKGMESSAGE}
-.endif
.endif
rebuild-xs:
diff --git a/lang/perl5.16/pkg-message b/lang/perl5.16/pkg-message
deleted file mode 100644
index 0438edb18a19..000000000000
--- a/lang/perl5.16/pkg-message
+++ /dev/null
@@ -1,26 +0,0 @@
-Installation of Perl distribution is finished. Please note, that since
-Perl is also in the base system, this distribution will not be used by
-default.
-
-If you want this version of Perl to be used by default, please type
-
- use.perl port
-
-Assuming that use.perl script (which was installed with the rest of the
-Perl distribution) can be found in your PATH (you might have to type
-`rehash' first, depending upon a shell you use), this action will
-replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the
-versions of these binaries in the Perl distribution. This action will
-also put some variables into your /etc/make.conf file, so that newly
-installed ports (not packages!) will use new version of perl, and the
-system upgrades from the source will not overwrite the changes made.
-
-Note that use.perl port is specific to a given perl installation. If
-you later upgrade the perl port, run use.perl port again to update the
-symbolic links and /etc/make.conf.
-
-At any time you can also type
-
- use.perl system
-
-if you wish to revert back to the system version of perl.
diff --git a/lang/perl5.6/Makefile b/lang/perl5.6/Makefile
index fadce419069d..d207cb487d88 100644
--- a/lang/perl5.6/Makefile
+++ b/lang/perl5.6/Makefile
@@ -95,11 +95,7 @@ CONFIGURE_ARGS+= -Dusemymalloc=n
NO_LATEST_LINK= yes
-.if ${OSVERSION} < 500036
-PKGMESSAGE= ${PKGDIR}/pkg-message-sysperl
-.else
PKGMESSAGE= ${PKGDIR}/pkg-message-prefer58
-.endif
PLIST_SUB+= NEED_USE_PERL=""
diff --git a/lang/perl5.6/pkg-message-sysperl b/lang/perl5.6/pkg-message-sysperl
deleted file mode 100644
index 0438edb18a19..000000000000
--- a/lang/perl5.6/pkg-message-sysperl
+++ /dev/null
@@ -1,26 +0,0 @@
-Installation of Perl distribution is finished. Please note, that since
-Perl is also in the base system, this distribution will not be used by
-default.
-
-If you want this version of Perl to be used by default, please type
-
- use.perl port
-
-Assuming that use.perl script (which was installed with the rest of the
-Perl distribution) can be found in your PATH (you might have to type
-`rehash' first, depending upon a shell you use), this action will
-replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the
-versions of these binaries in the Perl distribution. This action will
-also put some variables into your /etc/make.conf file, so that newly
-installed ports (not packages!) will use new version of perl, and the
-system upgrades from the source will not overwrite the changes made.
-
-Note that use.perl port is specific to a given perl installation. If
-you later upgrade the perl port, run use.perl port again to update the
-symbolic links and /etc/make.conf.
-
-At any time you can also type
-
- use.perl system
-
-if you wish to revert back to the system version of perl.
diff --git a/lang/perl5.8/Makefile b/lang/perl5.8/Makefile
index efbdb029438f..e3f7ce65712d 100644
--- a/lang/perl5.8/Makefile
+++ b/lang/perl5.8/Makefile
@@ -124,12 +124,7 @@ CONFIGURE_ARGS+= -Duse64bitint
LATEST_LINK= perl
-.if ${OSVERSION} < 500036
-PLIST_SUB+= NEED_USE_PERL=""
-.else
-PKGMESSAGE= ${PKGDIR}/.not-here
PLIST_SUB+= NEED_USE_PERL="@comment "
-.endif
.if defined(WITH_GDBM)
MAN3+= GDBM_File.3
@@ -190,10 +185,6 @@ post-install:
.endfor
.if defined(WITH_USE_PERL)
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.if ${OSVERSION} < 500036
- ${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl
- @fmt ${PKGMESSAGE}
-.endif
.endif
rebuild-xs:
diff --git a/lang/perl5.8/pkg-message b/lang/perl5.8/pkg-message
deleted file mode 100644
index 0438edb18a19..000000000000
--- a/lang/perl5.8/pkg-message
+++ /dev/null
@@ -1,26 +0,0 @@
-Installation of Perl distribution is finished. Please note, that since
-Perl is also in the base system, this distribution will not be used by
-default.
-
-If you want this version of Perl to be used by default, please type
-
- use.perl port
-
-Assuming that use.perl script (which was installed with the rest of the
-Perl distribution) can be found in your PATH (you might have to type
-`rehash' first, depending upon a shell you use), this action will
-replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the
-versions of these binaries in the Perl distribution. This action will
-also put some variables into your /etc/make.conf file, so that newly
-installed ports (not packages!) will use new version of perl, and the
-system upgrades from the source will not overwrite the changes made.
-
-Note that use.perl port is specific to a given perl installation. If
-you later upgrade the perl port, run use.perl port again to update the
-symbolic links and /etc/make.conf.
-
-At any time you can also type
-
- use.perl system
-
-if you wish to revert back to the system version of perl.
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index fadce419069d..d207cb487d88 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -95,11 +95,7 @@ CONFIGURE_ARGS+= -Dusemymalloc=n
NO_LATEST_LINK= yes
-.if ${OSVERSION} < 500036
-PKGMESSAGE= ${PKGDIR}/pkg-message-sysperl
-.else
PKGMESSAGE= ${PKGDIR}/pkg-message-prefer58
-.endif
PLIST_SUB+= NEED_USE_PERL=""
diff --git a/lang/perl5/pkg-message-sysperl b/lang/perl5/pkg-message-sysperl
deleted file mode 100644
index 0438edb18a19..000000000000
--- a/lang/perl5/pkg-message-sysperl
+++ /dev/null
@@ -1,26 +0,0 @@
-Installation of Perl distribution is finished. Please note, that since
-Perl is also in the base system, this distribution will not be used by
-default.
-
-If you want this version of Perl to be used by default, please type
-
- use.perl port
-
-Assuming that use.perl script (which was installed with the rest of the
-Perl distribution) can be found in your PATH (you might have to type
-`rehash' first, depending upon a shell you use), this action will
-replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the
-versions of these binaries in the Perl distribution. This action will
-also put some variables into your /etc/make.conf file, so that newly
-installed ports (not packages!) will use new version of perl, and the
-system upgrades from the source will not overwrite the changes made.
-
-Note that use.perl port is specific to a given perl installation. If
-you later upgrade the perl port, run use.perl port again to update the
-symbolic links and /etc/make.conf.
-
-At any time you can also type
-
- use.perl system
-
-if you wish to revert back to the system version of perl.
diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext
index ef5dde8936ff..42a238cbc07f 100644
--- a/lang/php5/Makefile.ext
+++ b/lang/php5/Makefile.ext
@@ -551,10 +551,6 @@ CONFIGURE_ARGS+=--enable-gd-jis-conv
.endif
.if ${PHP_MODNAME} == "mbstring"
-. if ${OSVERSION} < 600000 && ${ARCH} == "amd64"
-BROKEN= Doesn't build on AMD64 with FreeBSD 5.x (varargs issue)
-. endif
-
. if defined(WITHOUT_REGEX)
CONFIGURE_ARGS+=--disable-mbregex
. endif
diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext
index ef5dde8936ff..42a238cbc07f 100644
--- a/lang/php53/Makefile.ext
+++ b/lang/php53/Makefile.ext
@@ -551,10 +551,6 @@ CONFIGURE_ARGS+=--enable-gd-jis-conv
.endif
.if ${PHP_MODNAME} == "mbstring"
-. if ${OSVERSION} < 600000 && ${ARCH} == "amd64"
-BROKEN= Doesn't build on AMD64 with FreeBSD 5.x (varargs issue)
-. endif
-
. if defined(WITHOUT_REGEX)
CONFIGURE_ARGS+=--disable-mbregex
. endif
diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile
index 9a3c2055ec6b..546233d2a967 100644
--- a/lang/ruby18/Makefile
+++ b/lang/ruby18/Makefile
@@ -88,10 +88,6 @@ CONFIGURE_ARGS+= --enable-install-doc
CONFIGURE_ARGS+= --disable-install-doc
.endif
-.if ${OSVERSION} < 502102
-EXTRA_PATCHES= ${PATCHDIR}/extrapatch-eval.c
-.endif
-
# This patch can be used for GC performance analysis and tweaking
# svn://rubyforge.org/var/svn/railsbench/trunk/railsbench/ruby185gc.patch
.if defined(WITH_GCPATCH)
@@ -142,7 +138,7 @@ post-extract:
${MV} ${WRKSRC}/ext/dl/h2rb ${WRKSRC}/bin/
post-patch:
-.if ${OSVERSION} < 502102 || ${ARCH} == "sparc64" || ${ARCH} == "alpha"
+.if ${ARCH} == "sparc64" || ${ARCH} == "alpha"
${REINPLACE_CMD} -e 's|-lc"|"|g' ${WRKSRC}/configure
.endif
${REINPLACE_CMD} -e 's|-l$$pthread_lib|${PTHREAD_LIBS}|g' \
diff --git a/lang/ruby18/files/extrapatch-eval.c b/lang/ruby18/files/extrapatch-eval.c
deleted file mode 100644
index 4d9785c75d7f..000000000000
--- a/lang/ruby18/files/extrapatch-eval.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- eval.c.orig Wed Feb 23 15:54:03 2005
-+++ eval.c Wed Feb 23 15:54:18 2005
-@@ -12,6 +12,10 @@
-
- **********************************************************************/
-
-+#ifdef _THREAD_SAFE
-+#undef _THREAD_SAFE
-+#endif
-+
- #include "ruby.h"
- #include "node.h"
- #include "env.h"
diff --git a/lang/ruby19/Makefile b/lang/ruby19/Makefile
index ea02fcbf12e6..f8e9a3686ae8 100644
--- a/lang/ruby19/Makefile
+++ b/lang/ruby19/Makefile
@@ -44,10 +44,6 @@ OPTIONS= RDOC "Build and install Rdoc indexes" off \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-BROKEN= Does not compile
-.endif
-
# PORTEPOCH/PORTREVISION hack
.if ${PORTEPOCH} != 0
diff --git a/lang/sdcc-devel/Makefile b/lang/sdcc-devel/Makefile
index ef8766d9050b..ba2ec1932965 100644
--- a/lang/sdcc-devel/Makefile
+++ b/lang/sdcc-devel/Makefile
@@ -50,10 +50,6 @@ CXXFLAGS+= -O0
BROKEN= Does not compile on sparc64
.endif
-.if !defined(WITHOUT_MCS51) && !defined(WITHOUT_UCSIM) && ${OSVERSION} < 500019
-LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
-.endif
-
.if defined(WITHOUT_MCS51) && defined(WITHOUT_DS390)
CONFIGURE_ARGS+= --disable-51
PLIST_SUB+= MCS51DS390="@comment "
diff --git a/lang/sdcc/Makefile b/lang/sdcc/Makefile
index 64a71d2f1de3..cbc8960a5896 100644
--- a/lang/sdcc/Makefile
+++ b/lang/sdcc/Makefile
@@ -46,10 +46,6 @@ CONFIGURE_ARGS= --datarootdir=${DATADIR} \
BROKEN= Does not compile on sparc64
.endif
-.if !defined(WITHOUT_MCS51) && !defined(WITHOUT_UCSIM) && ${OSVERSION} < 500019
-LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
-.endif
-
.if defined(WITHOUT_MCS51) && defined(WITHOUT_DS390)
CONFIGURE_ARGS+= --disable-51
PLIST_SUB+= MCS51DS390="@comment "
diff --git a/lang/smalltalk/Makefile b/lang/smalltalk/Makefile
index ab007c851efd..84303e748b84 100644
--- a/lang/smalltalk/Makefile
+++ b/lang/smalltalk/Makefile
@@ -46,10 +46,6 @@ LDFLAGS= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-BROKEN= requires C99 math functions for long doubles
-.endif
-
.if defined(WITHOUT_TCLTK)
CONFIGURE_ARGS+= --with-tcl=no
PLIST_SUB+= TCLTK="@comment "
diff --git a/lang/swi-pl/Makefile b/lang/swi-pl/Makefile
index 43e532c1b2db..3741e764f259 100644
--- a/lang/swi-pl/Makefile
+++ b/lang/swi-pl/Makefile
@@ -29,10 +29,6 @@ PLIST_SUB= DISTNAME=${DISTNAME} ARCH=${ARCH} OS=${OPSYS:L}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500100
-IGNORE= doesn't support FreeBSD < 5.0. Require some C99 functions
-.endif
-
.if (${ARCH} == "i386")
PLIST_SUB+= BITS=32
.else
diff --git a/lang/tcl80/Makefile b/lang/tcl80/Makefile
index 59a5d2224424..cf5ae998f73a 100644
--- a/lang/tcl80/Makefile
+++ b/lang/tcl80/Makefile
@@ -43,8 +43,7 @@ post-configure:
pre-build:
@cd ${WRKSRC} && ${MAKE} -f Makefile.lib PREFIX=${PREFIX} \
- SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} \
- OSVERSION=${OSVERSION}
+ SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR}
post-install:
.if !defined(NO_INSTALL_MANPAGES) && defined(WITH_TCL80_MAN)
diff --git a/lang/tcl80/files/Makefile.lib b/lang/tcl80/files/Makefile.lib
index af17b230347f..4406971decd6 100644
--- a/lang/tcl80/files/Makefile.lib
+++ b/lang/tcl80/files/Makefile.lib
@@ -14,11 +14,6 @@ CFLAGS+= -I. -I./../generic \
-DTCL_PACKAGE_PATH="\"${PREFIX}/lib\"" \
-DNO_UNION_WAIT
-.if ${OSVERSION} < 600011
-CFLAGS+= -DNEED_MATHERR=1
-.endif
-
-
GENERIC_DIR= ../generic
UNIX_DIR= .