aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-01-05 19:44:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-01-05 19:44:02 +0000
commitd095d4a96566a3ab095ab2e30430ce93a154f1a7 (patch)
treeca5cd97e4ad40da4b6e4a6c197453610fd6c69b1
parentc0a7a1f97264b914fa27603f8433b87b38b15f14 (diff)
downloadports-d095d4a96566a3ab095ab2e30430ce93a154f1a7.tar.gz
ports-d095d4a96566a3ab095ab2e30430ce93a154f1a7.zip
- Remove conditional checks for FreeBSD 5.x and older
Notes
Notes: svn path=/head/; revision=225293
-rw-r--r--devel/ZendOptimizer/Makefile7
-rw-r--r--devel/ZendOptimizer/distinfo3
-rw-r--r--devel/ace+tao/Makefile2
-rw-r--r--devel/asis/Makefile2
-rw-r--r--devel/boehm-gc/Makefile5
-rw-r--r--devel/cgdb/Makefile4
-rw-r--r--devel/clanlib/Makefile8
-rw-r--r--devel/codeworker/Makefile8
-rw-r--r--devel/cross-binutils/Makefile6
-rw-r--r--devel/crow/Makefile8
-rw-r--r--devel/cscout/Makefile4
-rw-r--r--devel/directfb/Makefile4
-rw-r--r--devel/eet/Makefile8
-rw-r--r--devel/eiffelstudio/Makefile8
-rw-r--r--devel/elfrc/Makefile8
-rw-r--r--devel/geany/Makefile8
-rw-r--r--devel/gsoap/Makefile4
-rw-r--r--devel/gvfs/Makefile2
-rw-r--r--devel/jtag/Makefile7
-rw-r--r--devel/libgtop/Makefile8
-rw-r--r--devel/libhoard/Makefile8
-rw-r--r--devel/liboil/Makefile9
-rw-r--r--devel/linux-js/Makefile4
-rw-r--r--devel/linuxthreads/Makefile12
-rw-r--r--devel/m4/Makefile12
-rw-r--r--devel/ncurses-devel/Makefile4
-rw-r--r--devel/ncurses/Makefile4
-rw-r--r--devel/p4/Makefile10
-rw-r--r--devel/p4/distinfo.freebsd54x8615
-rw-r--r--devel/p4/distinfo.freebsd54x86_6415
-rw-r--r--devel/p4api/Makefile7
-rw-r--r--devel/p4api/distinfo12
-rw-r--r--devel/p4d/Makefile10
-rw-r--r--devel/p4d/distinfo.freebsd54x8615
-rw-r--r--devel/p4d/distinfo.freebsd54x86_6415
-rw-r--r--devel/p4ftpd/Makefile10
-rw-r--r--devel/p4ftpd/distinfo.freebsd54x8615
-rw-r--r--devel/p4ftpd/distinfo.freebsd54x86_6415
-rw-r--r--devel/p4p/Makefile10
-rw-r--r--devel/p4p/distinfo.freebsd54x8615
-rw-r--r--devel/p4p/distinfo.freebsd54x86_6415
-rw-r--r--devel/p4v/Makefile4
-rw-r--r--devel/p4web/Makefile10
-rw-r--r--devel/p4web/distinfo.freebsd54x8615
-rw-r--r--devel/p4web/distinfo.freebsd54x86_6415
-rw-r--r--devel/p5-File-ExtAttr/Makefile8
-rw-r--r--devel/papi/Makefile4
-rw-r--r--devel/perforce/Makefile10
-rw-r--r--devel/perforce/distinfo.freebsd54x8615
-rw-r--r--devel/perforce/distinfo.freebsd54x86_6415
-rw-r--r--devel/py-kqueue/Makefile4
-rw-r--r--devel/py-zope.interface/Makefile8
-rw-r--r--devel/py-zopeInterface/Makefile8
-rw-r--r--devel/qsa/Makefile4
-rw-r--r--devel/qsa/files/extrapatch-src_engine_qsoperations.cpp16
-rw-r--r--devel/root/Makefile4
-rw-r--r--devel/sdl12/Makefile7
-rw-r--r--devel/sdts++/Makefile9
-rw-r--r--devel/subversion-devel/Makefile4
-rw-r--r--devel/thrift/Makefile8
-rw-r--r--devel/umem/Makefile9
-rw-r--r--devel/valgrind-snapshot/Makefile8
-rw-r--r--devel/valgrind-snapshot/pkg-plist4
-rw-r--r--devel/valgrind/Makefile8
-rw-r--r--devel/valgrind/pkg-plist4
-rw-r--r--dns/dhisd/Makefile9
-rw-r--r--dns/fourcdns/Makefile19
-rw-r--r--dns/maradns/Makefile8
-rw-r--r--dns/nss_mdns/Makefile4
-rw-r--r--dns/nss_resinit/Makefile4
-rw-r--r--editors/calligra/Makefile28
-rw-r--r--editors/calligra/files/extrapatch-kexi-main-keximainwindowimpl.cpp13
-rw-r--r--editors/glimmer/Makefile17
-rw-r--r--editors/koffice-kde3/Makefile28
-rw-r--r--editors/koffice-kde3/files/extrapatch-kexi-main-keximainwindowimpl.cpp13
-rw-r--r--editors/koffice-kde4/Makefile28
-rw-r--r--editors/koffice-kde4/files/extrapatch-kexi-main-keximainwindowimpl.cpp13
-rw-r--r--editors/le/Makefile12
-rw-r--r--editors/openoffice-3-devel/files/Makefile.knobs15
-rw-r--r--editors/openoffice-3/files/Makefile.knobs15
-rw-r--r--editors/openoffice.org-2-RC/files/Makefile.knobs15
-rw-r--r--editors/openoffice.org-2-devel/files/Makefile.knobs15
-rw-r--r--editors/openoffice.org-2/files/Makefile.knobs15
-rw-r--r--editors/openoffice.org-3-RC/files/Makefile.knobs15
-rw-r--r--editors/openoffice.org-3-devel/files/Makefile.knobs15
-rw-r--r--editors/openoffice.org-3/files/Makefile.knobs15
-rw-r--r--editors/openoffice.org-vcltesttool/files/Makefile.knobs15
-rw-r--r--editors/texmacs/Makefile8
-rw-r--r--editors/xcoral/Makefile12
-rw-r--r--editors/zile/Makefile12
-rw-r--r--emulators/fceu-server/Makefile8
-rw-r--r--emulators/generator/Makefile5
-rw-r--r--emulators/ines/Makefile10
-rw-r--r--emulators/linux-vmware-toolbox2/Makefile6
-rw-r--r--emulators/mame-devel/Makefile7
-rw-r--r--emulators/mame/Makefile7
-rw-r--r--emulators/mednafen/Makefile4
-rw-r--r--emulators/mess/Makefile7
-rw-r--r--emulators/open-vm-tools/Makefile12
-rw-r--r--emulators/open-vm-tools/files/pkg-message.in4
-rw-r--r--emulators/open-vm-tools/files/vmware-kmod.sh.in68
-rw-r--r--emulators/open-vm-tools/pkg-plist6
-rw-r--r--emulators/openmsx/Makefile13
-rw-r--r--emulators/pearpc/Makefile6
-rw-r--r--emulators/qemu-devel/Makefile6
-rw-r--r--emulators/qemu/Makefile6
-rw-r--r--emulators/rtc/Makefile9
-rw-r--r--emulators/rtc/pkg-plist1
-rw-r--r--emulators/sdlmame-devel/Makefile7
-rw-r--r--emulators/sdlmame/Makefile7
-rw-r--r--emulators/sdlmess/Makefile7
-rw-r--r--emulators/snespp/Makefile8
-rw-r--r--emulators/vgb-bin/Makefile14
-rw-r--r--emulators/vgba-bin/Makefile14
-rw-r--r--emulators/vmware-guestd5/Makefile21
-rw-r--r--emulators/vmware-guestd6/Makefile21
-rw-r--r--emulators/vmware3/Makefile2
-rw-r--r--emulators/win4bsd/Makefile5
-rw-r--r--emulators/x48/Makefile2
-rw-r--r--emulators/xmame/Makefile4
-rw-r--r--french/aster/Makefile3
-rw-r--r--ftp/bsdftpd-ssl/Makefile16
-rw-r--r--ftp/bsdftpd-ssl/files/bsdftpd_ssl.sh.compat48
-rw-r--r--ftp/bsdftpd-ssl/files/pkg-message.server.compat14
-rw-r--r--ftp/bsdftpd-ssl/files/pkg-plist.server.compat22
-rw-r--r--ftp/ftp-proxy/Makefile4
-rw-r--r--ftp/ftpsesame/Makefile8
-rw-r--r--ftp/ncftpd/Makefile4
-rw-r--r--ftp/pftpx/Makefile14
-rw-r--r--ftp/profxp/Makefile9
130 files changed, 128 insertions, 1221 deletions
diff --git a/devel/ZendOptimizer/Makefile b/devel/ZendOptimizer/Makefile
index 11de10562614..d3beb2f4d6fc 100644
--- a/devel/ZendOptimizer/Makefile
+++ b/devel/ZendOptimizer/Makefile
@@ -24,17 +24,10 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
# Check for FreeBSD version
-.if ${OSVERSION} < 600000
-.if ${ARCH} != "i386"
-IGNORE= this port is for FreeBSD 6 or above
-.endif
-VER= 5.4
-.else
VER= 6.0
.if ${OSVERSION} >= 700043
LIB_DEPENDS+= m.4:${PORTSDIR}/misc/compat6x
.endif
-.endif
.if ${PHP_VER} == 4
ZEND_PATH= 4.4.x
diff --git a/devel/ZendOptimizer/distinfo b/devel/ZendOptimizer/distinfo
index e4dbe2d909fc..413af1867081 100644
--- a/devel/ZendOptimizer/distinfo
+++ b/devel/ZendOptimizer/distinfo
@@ -1,6 +1,3 @@
-MD5 (ZendOptimizer-3.3.0a-freebsd5.4-i386.tar.gz) = 9e2edcc3b4c6be5fe667b6cf8ce3fb2c
-SHA256 (ZendOptimizer-3.3.0a-freebsd5.4-i386.tar.gz) = 113fa0bf3ef65ac3d15c11efb19b45bd8b3b8445d4f346c9a30855d812925916
-SIZE (ZendOptimizer-3.3.0a-freebsd5.4-i386.tar.gz) = 9318300
MD5 (ZendOptimizer-3.3.0a-freebsd6.0-i386.tar.gz) = 44fa8d594d968a0ed612abc96c40c9d9
SHA256 (ZendOptimizer-3.3.0a-freebsd6.0-i386.tar.gz) = 5670b73057b5fdbccfdb09ecf1b7280f9a6014b5bb353d3d7b9ec0eaea079796
SIZE (ZendOptimizer-3.3.0a-freebsd6.0-i386.tar.gz) = 9353326
diff --git a/devel/ace+tao/Makefile b/devel/ace+tao/Makefile
index 75d60368833c..a680719d1512 100644
--- a/devel/ace+tao/Makefile
+++ b/devel/ace+tao/Makefile
@@ -113,9 +113,7 @@ do-build:
test:
.if defined(WITH_TESTS)
-.if ${OSVERSION} >= 500036
/sbin/kldload aio || ${TRUE}
-.endif
@if [ -f ${ACE_TESTS_COOKIE} ]; then \
${ECHO_MSG} "===> Running tests."; \
${ECHO_MSG} "===> ACE tests:"; \
diff --git a/devel/asis/Makefile b/devel/asis/Makefile
index 09f968350b0e..f175837a0370 100644
--- a/devel/asis/Makefile
+++ b/devel/asis/Makefile
@@ -23,9 +23,7 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500039
WITHOUT_CPU_CFLAGS= yes
-.endif
CFLAGS= -O2 -pipe
USE_GMAKE= yes
MAKEFILE= "${FILESDIR}/Makefile.bsd"
diff --git a/devel/boehm-gc/Makefile b/devel/boehm-gc/Makefile
index b613c02e6cb4..2c5426da4537 100644
--- a/devel/boehm-gc/Makefile
+++ b/devel/boehm-gc/Makefile
@@ -29,13 +29,8 @@ OPTIONS= REDIRECT "Define malloc(3)-family replacements" off \
.if defined(WITH_THREADING)
CONFIGURE_ARGS+= --enable-threads=posix --enable-thread-local-alloc
-.if ${OSVERSION} < 502102
-CONFIGURE_ENV= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}" \
- LIBS="${LIBS} ${PTHREAD_LIBS:C/-pthread/-lc_r/}"
-.else
CONFIGURE_ENV= CFLAGSS="${CFLAGS} ${PTHREAD_CFLAGS}" \
LIBS="${LIBS} ${PTHREAD_LIBS:C/-pthread/-lpthread/}"
-.endif
.if defined(WITH_PARALLEL_MARK)
CONFIGURE_ARGS+= --enable-parallel-mark
.endif
diff --git a/devel/cgdb/Makefile b/devel/cgdb/Makefile
index 42fd31b9f186..88c7b59aaa10 100644
--- a/devel/cgdb/Makefile
+++ b/devel/cgdb/Makefile
@@ -30,10 +30,6 @@ CONFIGURE_ARGS+= --with-readline=${LOCALBASE}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
.endif
-.if ${OSVERSION} < 600000
-BROKEN= Does not compile on 5.x with old texinfo in base
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|dev_ptmx=yes|dev_ptmx=no|' ${WRKSRC}/configure
diff --git a/devel/clanlib/Makefile b/devel/clanlib/Makefile
index cc7abc08b33f..d512e82d40ab 100644
--- a/devel/clanlib/Makefile
+++ b/devel/clanlib/Makefile
@@ -47,14 +47,6 @@ USE_GL= yes
#BROKEN= "Does not compile on !i386 and !amd64"
#.endif
-.if ${OSVERSION} < 500032
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-CPPFLAGS+= -I${LOCALBASE}/include/stlport
-LDFLAGS+= -lstlport_gcc
-CFLAGS+= -O0
-.endif
-
post-patch:
@${GREP} -lR "SDL/SDL" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|SDL/SDL|SDL|g'
diff --git a/devel/codeworker/Makefile b/devel/codeworker/Makefile
index 8024a4a1f118..494ce9471b6d 100644
--- a/devel/codeworker/Makefile
+++ b/devel/codeworker/Makefile
@@ -28,13 +28,7 @@ CFLAGS+= -Dstricmp=strcasecmp
PLIST_FILES= bin/codeworker
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-CFLAGS+= -fpermissive
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/codeworker ${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/cross-binutils/Makefile b/devel/cross-binutils/Makefile
index 29819b1f7d14..04cc5bea3159 100644
--- a/devel/cross-binutils/Makefile
+++ b/devel/cross-binutils/Makefile
@@ -88,12 +88,6 @@ FIXREFS= ${SH} -c '${REINPLACE_CMD} -E \
.include <bsd.port.pre.mk>
-.if defined(TGTARCH)
-. if ${OSVERSION} < 600000
-BROKEN= Does not compile
-. endif
-.endif
-
post-patch:
#
# Patch and rename info files
diff --git a/devel/crow/Makefile b/devel/crow/Makefile
index 62c8f1a3fbc9..8d9a3a4de274 100644
--- a/devel/crow/Makefile
+++ b/devel/crow/Makefile
@@ -27,10 +27,4 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-BROKEN= Fails to compile
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/cscout/Makefile b/devel/cscout/Makefile
index 7901bd493a17..fceeb0cfbe60 100644
--- a/devel/cscout/Makefile
+++ b/devel/cscout/Makefile
@@ -26,9 +26,7 @@ MAN1= cscout.1 cswc.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-IGNORE = fails to work on versions of FreeBSD before 6.0 (it installs FreeBSD 6.x binaries)
-.elif ${OSVERSION} >= 700000
+.if ${OSVERSION} >= 700000
LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
.endif
diff --git a/devel/directfb/Makefile b/devel/directfb/Makefile
index 9b0d672cce99..ccb0b94018da 100644
--- a/devel/directfb/Makefile
+++ b/devel/directfb/Makefile
@@ -75,10 +75,6 @@ MAN5= directfbrc.5
BROKEN= Does not compile on alpha
.endif
-.if ${OSVERSION} < 600000
-BROKEN= 5.x not supported
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's/-lc_r/${PTHREAD_LIBS}/g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure.in
diff --git a/devel/eet/Makefile b/devel/eet/Makefile
index 2a5f2be3030b..1dd0dac879b1 100644
--- a/devel/eet/Makefile
+++ b/devel/eet/Makefile
@@ -25,10 +25,4 @@ USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 502126
-IGNORE= freebsd 3.*, 4.*, 5.0, 5.1 are not supported
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/eiffelstudio/Makefile b/devel/eiffelstudio/Makefile
index d414adb5d524..b0a2254fc182 100644
--- a/devel/eiffelstudio/Makefile
+++ b/devel/eiffelstudio/Makefile
@@ -24,6 +24,8 @@ DISTNAME= Eiffel${PORTVERSION:S/.//}_gpl_64493-freebsd-${EIFFEL_ARCH}
MAINTAINER= alepulver@FreeBSD.org
COMMENT= A Complete Integrated Development Environment for Eiffel
+LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
+
USE_GNOME= gtk20
NO_BUILD= yes
WRKSRC= ${WRKDIR}/Eiffel${PORTVERSION:S/.//}
@@ -38,12 +40,6 @@ SUB_LIST+= EIFFEL_HOST="${EIFFEL_HOST}"
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 530000
-IGNORE= needs FreeBSD 5.3 or higher
-.elif ${OSVERSION} >= 600000
-LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
-.endif
-
# Try native version first, then try i386 compatibility framework.
.for arch in ${ARCH}
. if ${NATIVE_ARCHS:M${arch}} != ""
diff --git a/devel/elfrc/Makefile b/devel/elfrc/Makefile
index be617c03ebc9..515b74f16e62 100644
--- a/devel/elfrc/Makefile
+++ b/devel/elfrc/Makefile
@@ -27,10 +27,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= lack of ELF definitions (STV_DEFAULT) on FreeBSD < 6.0
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/geany/Makefile b/devel/geany/Makefile
index 8fc62fa7b0c6..2b16109ab501 100644
--- a/devel/geany/Makefile
+++ b/devel/geany/Makefile
@@ -28,12 +28,6 @@ MAN1= geany.1
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 502010
-GNU_REGEX_H= gnu/regex.h
-.else
-GNU_REGEX_H= gnuregex.h
-.endif
-
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes
PLIST_SUB+= NLS=""
@@ -52,7 +46,7 @@ CONFIGURE_ARGS+=--disable-vte
post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC} ${CFLAGS}|' ${WRKSRC}/scintilla/Makefile.in
.for file in tagmanager/lregex.c src/encodings.c
- @${REINPLACE_CMD} -e 's|<regex\.h>|<${GNU_REGEX_H}>|g' ${WRKSRC}/${file}
+ @${REINPLACE_CMD} -e 's|<regex\.h>|<gnu/regex.h>|g' ${WRKSRC}/${file}
.endfor
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -e '/^SUBDIRS/ s|doc||' ${WRKSRC}/Makefile.in
diff --git a/devel/gsoap/Makefile b/devel/gsoap/Makefile
index ef0a1fe242e2..3610c1cf1cb3 100644
--- a/devel/gsoap/Makefile
+++ b/devel/gsoap/Makefile
@@ -24,10 +24,6 @@ ONLY_FOR_ARCHS= i386 amd64
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-IGNORE= does not compile: needs gethostbyname_r()
-.endif
-
.if ${ARCH} == "amd64"
CFLAGS+= -fPIC
.endif
diff --git a/devel/gvfs/Makefile b/devel/gvfs/Makefile
index 564264ee0219..804e06b93549 100644
--- a/devel/gvfs/Makefile
+++ b/devel/gvfs/Makefile
@@ -37,7 +37,7 @@ OPTIONS= FUSE "Enable fuse" on \
.include <bsd.port.pre.mk>
-.if defined(WITH_FUSE) && ${OSVERSION} >= 600000
+.if defined(WITH_FUSE)
LIB_DEPENDS+= fuse.2:${PORTSDIR}/sysutils/fusefs-libs
RUN_DEPENDS+= mount_fusefs:${PORTSDIR}/sysutils/fusefs-kmod
PLIST_SUB+= FUSE=""
diff --git a/devel/jtag/Makefile b/devel/jtag/Makefile
index d27c6e1d3974..f38644942ab6 100644
--- a/devel/jtag/Makefile
+++ b/devel/jtag/Makefile
@@ -33,13 +33,6 @@ PORTDOCS= *
.include <bsd.port.pre.mk>
-#
-# We haven't this on FreeBSD version prior to 5.1
-#
-.if ${OSVERSION} < 501000
-CFLAGS+= -Duseconds_t=long
-.endif
-
.if exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
.endif
diff --git a/devel/libgtop/Makefile b/devel/libgtop/Makefile
index 92b116051652..1c47ecf8168d 100644
--- a/devel/libgtop/Makefile
+++ b/devel/libgtop/Makefile
@@ -29,6 +29,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
INFO= libgtop2
+PKGMESSAGE= ${FILESDIR}/pkg-message
+
.include <bsd.port.pre.mk>
.if ( ${OSVERSION} >= 800000 && ${OSVERSION} < 800019 ) || \
@@ -36,18 +38,12 @@ INFO= libgtop2
RUN_DEPENDS+= lsof:${PORTSDIR}/sysutils/lsof
.endif
-.if ${OSVERSION} >= 600000
-PKGMESSAGE= ${FILESDIR}/pkg-message
-.endif
-
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f
post-install:
@${CHGRP} kmem ${PREFIX}/bin/libgtop_server2
@${CHMOD} 2555 ${PREFIX}/bin/libgtop_server2
-.if ${OSVERSION} >= 600000
@${CAT} ${PKGMESSAGE}
-.endif
.include <bsd.port.post.mk>
diff --git a/devel/libhoard/Makefile b/devel/libhoard/Makefile
index 7831c6e34808..9c2f9bbf67aa 100644
--- a/devel/libhoard/Makefile
+++ b/devel/libhoard/Makefile
@@ -22,14 +22,8 @@ ALL_TARGET= freebsd
PLIST_FILES= lib/libhoard.so lib/libhoard.so.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 501100
-IGNORE= you must have a FreeBSD 5.1-RELEASE or better
-.endif
-
do-install:
${INSTALL_DATA} ${WRKSRC}/libhoard.so ${PREFIX}/lib/libhoard.so.1
${LN} -sf ${PREFIX}/lib/libhoard.so.1 ${PREFIX}/lib/libhoard.so
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/liboil/Makefile b/devel/liboil/Makefile
index d24390655e35..283e9f879076 100644
--- a/devel/liboil/Makefile
+++ b/devel/liboil/Makefile
@@ -23,19 +23,10 @@ CFLAGS:= ${CFLAGS:N-O*} -O2
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000 && !defined(WITH_3DNOW_GCC40)
-BUILD_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34
-RUN_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34
-CC:= gcc34
-CXX:= g++34
-.endif
-
.if defined(WITH_3DNOW_GCC40) && ${OSVERSION} < 700042
USE_GCC= 4.1+
-.if ${OSVERSION} < 600000
RUN_DEPENDS+= ${BUILD_DEPENDS}
.endif
-.endif
pre-everything::
.if ${MACHINE_CPU:M3dnow}!="" && ${OSVERSION} < 700042
diff --git a/devel/linux-js/Makefile b/devel/linux-js/Makefile
index 8d150dc2580c..2c850415b86b 100644
--- a/devel/linux-js/Makefile
+++ b/devel/linux-js/Makefile
@@ -29,10 +29,6 @@ MAKE_ENV= WITHOUT_DEBUG=yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 503001
-IGNORE= requires FreeBSD 5.3 or superior
-.endif
-
.if !exists(/usr/src/sys/Makefile)
IGNORE= requires kernel source files
.endif
diff --git a/devel/linuxthreads/Makefile b/devel/linuxthreads/Makefile
index e1b7a2397996..b0c35598b63a 100644
--- a/devel/linuxthreads/Makefile
+++ b/devel/linuxthreads/Makefile
@@ -28,7 +28,7 @@ ONLY_FOR_ARCHS= i386
.if ${OSVERSION} >= 700042
USING_GCC4= true
MAKE_ENV+= USING_GCC4=true
-.elif ${OSVERSION} >= 500035
+.else
USING_GCC3= true
MAKE_ENV+= USING_GCC3=true
.endif
@@ -230,12 +230,12 @@ post-install:
# @sh ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-.if (defined(NOPROFILE) && ${OSVERSION} < 600007 ) || (defined(NO_PROFILE) && ${OSVERSION} >= 600007 )
+.if defined(NO_PROFILE)
PLIST_SUB= PROFILE:="@comment "
.else
PLIST_SUB= PROFILE:=""
.endif
-.if (defined(NOPIC) && ${OSVERSION} < 600007 ) || (defined(NO_PIC) && ${OSVERSION} >= 600007 )
+.if defined(NO_PIC)
PLIST_SUB+= PIC:="@comment "
.else
PLIST_SUB+= PIC:=""
@@ -245,7 +245,7 @@ PLIST_SUB+= PICARCHIVE:=""
.else
PLIST_SUB+= PICARCHIVE:="@comment "
.endif
-.if defined(INSTALL_PIC_ARCHIVE) || ${OSVERSION} >= 501101
+.if defined(INSTALL_PIC_ARCHIVE)
PLIST_SUB+= LIBLGCC_R_PICARCHIVE:=""
.else
PLIST_SUB+= LIBLGCC_R_PICARCHIVE:="@comment "
@@ -282,10 +282,8 @@ PLIST_SUB+= LTHREADSHMAJOR:="2"
.endif
.if ${OSVERSION} >= 700042
PLIST_SUB+= LIBSTDCPPMAJOR:="6"
-.elif ${OSVERSION} >= 600033
-PLIST_SUB+= LIBSTDCPPMAJOR:="5"
.else
-PLIST_SUB+= LIBSTDCPPMAJOR:="4"
+PLIST_SUB+= LIBSTDCPPMAJOR:="5"
.endif
.include <bsd.port.post.mk>
diff --git a/devel/m4/Makefile b/devel/m4/Makefile
index b83ad762c8c8..d3fbc4a618d0 100644
--- a/devel/m4/Makefile
+++ b/devel/m4/Makefile
@@ -18,6 +18,7 @@ COMMENT= GNU m4
USE_BZIP2= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-prefix=g
+CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
.if defined(WITH_CHANGEWORD)
CONFIGURE_ARGS+= --enable-changeword
@@ -28,17 +29,8 @@ MAN1= gm4.1
EXAMPLESDIR= share/examples/gm4
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
-CONFIGURE_ENV+= MAKEINFO="${LOCALBASE}/bin/makeinfo --no-split"
-.else
-CONFIGURE_ENV+= MAKEINFO="makeinfo --no-split"
-.endif
-
post-install:
@${MKDIR} ${PREFIX}/${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/${EXAMPLESDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/ncurses-devel/Makefile b/devel/ncurses-devel/Makefile
index 2a2a53d8842c..f1d073221188 100644
--- a/devel/ncurses-devel/Makefile
+++ b/devel/ncurses-devel/Makefile
@@ -94,10 +94,6 @@ EXAMPLES_CPP= Makefile NEWS PROBLEMS README-first cursesapp.cc \
.include "${.CURDIR}/Makefile.man"
-.if ${OSVERSION} < 503000
-WITHOUT_WIDEC= yes
-.endif
-
CONFIGURE_ARGS_WIDEC=--enable-widec
.if defined(WITH_EXTCOLORS)
CONFIGURE_ARGS_WIDEC+=--enable-ext-colors
diff --git a/devel/ncurses/Makefile b/devel/ncurses/Makefile
index b97cedac2075..dc0c832b0e3f 100644
--- a/devel/ncurses/Makefile
+++ b/devel/ncurses/Makefile
@@ -81,10 +81,6 @@ EXAMPLES_CPP= Makefile NEWS PROBLEMS README-first cursesapp.cc \
.include "${.CURDIR}/Makefile.man"
-.if ${OSVERSION} < 503000
-WITHOUT_WIDEC= yes
-.endif
-
CONFIGURE_ARGS_WIDEC=--enable-widec
.if defined(WITH_EXTCOLORS)
CONFIGURE_ARGS_WIDEC+=--enable-ext-colors
diff --git a/devel/p4/Makefile b/devel/p4/Makefile
index e0b9e888f1c7..d21d643a2704 100644
--- a/devel/p4/Makefile
+++ b/devel/p4/Makefile
@@ -39,15 +39,11 @@ PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \
.include <bsd.port.pre.mk>
# Figure out what to install
-.if ${ARCH} == amd64 && ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
-PLATFORM= freebsd54x86_64
-.elif ${ARCH} == amd64 && ${OSVERSION} >= 600000
+.if ${ARCH} == amd64
PLATFORM= freebsd60x86_64
-.elif ${ARCH} == i386 && ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
-PLATFORM= freebsd54x86
-.elif ${ARCH} == i386 && ${OSVERSION} >= 600000
+.elif ${ARCH} == i386
PLATFORM= freebsd60x86
-.elif ${ARCH} == sparc64 && ${OSVERSION} >= 601000
+.elif ${ARCH} == sparc64
PLATFORM= freebsd61sparc64
.else
IGNORE= unsupported OS release, sorry
diff --git a/devel/p4/distinfo.freebsd54x86 b/devel/p4/distinfo.freebsd54x86
deleted file mode 100644
index 5b3a82d2bb25..000000000000
--- a/devel/p4/distinfo.freebsd54x86
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 (perforce/08.2_1/i386/p4) = b83fca632e6be3721b43ab83285d88f2
-SHA256 (perforce/08.2_1/i386/p4) = 809ee98fdf4a0bdc67dde689334a22dd0930a734d898bcebc04b0a8287311868
-SIZE (perforce/08.2_1/i386/p4) = 544684
-MD5 (perforce/08.2_1/i386/p4d) = 0b547f61b2522b0e19562fe551cb4e5b
-SHA256 (perforce/08.2_1/i386/p4d) = c081020937f9524745613eadf76f5e570a05ac032c304593ec25448fb83ef213
-SIZE (perforce/08.2_1/i386/p4d) = 1577536
-MD5 (perforce/08.2_1/i386/p4ftpd) = a4047079042bd7b26e895b337f91f389
-SHA256 (perforce/08.2_1/i386/p4ftpd) = 45555206e265a5cf087efcae88184247e54ecebeb70435fa06c8d6d3af9f1e4e
-SIZE (perforce/08.2_1/i386/p4ftpd) = 707280
-MD5 (perforce/08.2_1/i386/p4p) = d77b98d78485bac6632e738df3f8a515
-SHA256 (perforce/08.2_1/i386/p4p) = 9dbcd5076d864caa9e79404e2c388624558b8b7352648c8fb0c0a663e2ab9e18
-SIZE (perforce/08.2_1/i386/p4p) = 493800
-MD5 (perforce/08.2_1/i386/p4web) = 83a671908b01485897e46a1be8148991
-SHA256 (perforce/08.2_1/i386/p4web) = 731d92ffc9a8b80f3d99e500fd1f324d190812431e367bd9525f60b5af9f9993
-SIZE (perforce/08.2_1/i386/p4web) = 2362664
diff --git a/devel/p4/distinfo.freebsd54x86_64 b/devel/p4/distinfo.freebsd54x86_64
deleted file mode 100644
index 994a29e06b85..000000000000
--- a/devel/p4/distinfo.freebsd54x86_64
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 (perforce/08.2_1/amd64/p4) = 460ae9678427306e8b2a488612d0d25a
-SHA256 (perforce/08.2_1/amd64/p4) = bc49a62bf9efebe5816f4b211d8883a2adec7fc3785a84d3e42f9e7c82f7dc3b
-SIZE (perforce/08.2_1/amd64/p4) = 607432
-MD5 (perforce/08.2_1/amd64/p4d) = 1381c7f990a9686ff5cdd90bc07c9f21
-SHA256 (perforce/08.2_1/amd64/p4d) = b789d55903cedfa94129be8459a5f13acd6ee7651361b1bdcfe2ce02dcb93e2f
-SIZE (perforce/08.2_1/amd64/p4d) = 1740000
-MD5 (perforce/08.2_1/amd64/p4ftpd) = b1f2d5dc4e5968c8a04d2c43fb9f186c
-SHA256 (perforce/08.2_1/amd64/p4ftpd) = 2ab63f3cee095fea0ffe39956cdc1fa9644738890e874ac8e88167b99b5f4195
-SIZE (perforce/08.2_1/amd64/p4ftpd) = 743824
-MD5 (perforce/08.2_1/amd64/p4p) = 83657cf66faacfdb0d721f2daa2497c2
-SHA256 (perforce/08.2_1/amd64/p4p) = 0a9a3f4c4abbd4700903616e1132ffa42bdab2994e0bbcd006a47e148c02ae59
-SIZE (perforce/08.2_1/amd64/p4p) = 586600
-MD5 (perforce/08.2_1/amd64/p4web) = 2459a171a4c8bcda63eb494753752f88
-SHA256 (perforce/08.2_1/amd64/p4web) = 706d2fa78537d4eef0392cd1e1661caa9d47c6c4a1a5e9ffc9a32e79f2811c8b
-SIZE (perforce/08.2_1/amd64/p4web) = 2425768
diff --git a/devel/p4api/Makefile b/devel/p4api/Makefile
index 82bd5bb5373e..da1b39baa33e 100644
--- a/devel/p4api/Makefile
+++ b/devel/p4api/Makefile
@@ -22,6 +22,7 @@ COMMENT= Perforce API (static libraries and header files)
NO_BUILD= yes
WRKSRC= ${WRKDIR}/p4api-2008.1.158777
+PLATFORM= freebsd60
VERSION= 08.1
.include <bsd.port.pre.mk>
@@ -36,12 +37,6 @@ IGNORE= "Unsupported platform, sorry."
TAR_FILES= p4api.tgz
-.if ${OSVERSION} >= 600034
-PLATFORM= freebsd60
-.else
-PLATFORM= freebsd54
-.endif
-
DOCVER= ${VERSION:S/.//}
do-install:
diff --git a/devel/p4api/distinfo b/devel/p4api/distinfo
index 55c46040ecef..774495b698e9 100644
--- a/devel/p4api/distinfo
+++ b/devel/p4api/distinfo
@@ -10,15 +10,3 @@ SIZE (perforce/08.1/i386-freebsd60/p4api.tgz) = 594445
MD5 (perforce/08.1/i386-freebsd60/p4api.pdf) = f4953a608f95f52683c6b83c08bc5d84
SHA256 (perforce/08.1/i386-freebsd60/p4api.pdf) = 672ce46eb76f57198d410bedc616ac856fe68065527c2f835b6f3c8b65bfc78a
SIZE (perforce/08.1/i386-freebsd60/p4api.pdf) = 1318445
-MD5 (perforce/08.1/amd64-freebsd54/p4api.pdf) = f4953a608f95f52683c6b83c08bc5d84
-SHA256 (perforce/08.1/amd64-freebsd54/p4api.pdf) = 672ce46eb76f57198d410bedc616ac856fe68065527c2f835b6f3c8b65bfc78a
-SIZE (perforce/08.1/amd64-freebsd54/p4api.pdf) = 1318445
-MD5 (perforce/08.1/i386-freebsd54/p4api.pdf) = f4953a608f95f52683c6b83c08bc5d84
-SHA256 (perforce/08.1/i386-freebsd54/p4api.pdf) = 672ce46eb76f57198d410bedc616ac856fe68065527c2f835b6f3c8b65bfc78a
-SIZE (perforce/08.1/i386-freebsd54/p4api.pdf) = 1318445
-MD5 (perforce/08.1/i386-freebsd54/p4api.tgz) = 206137fdd0129e7d56378c4a3e6a12fb
-SHA256 (perforce/08.1/i386-freebsd54/p4api.tgz) = 886a4b113bcdd8c9f07aaa4a1fa88b9fca254486026c0b69d8e0453b32db1013
-SIZE (perforce/08.1/i386-freebsd54/p4api.tgz) = 593933
-MD5 (perforce/08.1/amd64-freebsd54/p4api.tgz) = 9e79a43355f0c8fb23dd2c5b3c1b3616
-SHA256 (perforce/08.1/amd64-freebsd54/p4api.tgz) = 30513087739f376d114e0796e6da51a36c8acec5ef1b4a144f9f73428c6a1b31
-SIZE (perforce/08.1/amd64-freebsd54/p4api.tgz) = 616862
diff --git a/devel/p4d/Makefile b/devel/p4d/Makefile
index e0b9e888f1c7..d21d643a2704 100644
--- a/devel/p4d/Makefile
+++ b/devel/p4d/Makefile
@@ -39,15 +39,11 @@ PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \
.include <bsd.port.pre.mk>
# Figure out what to install
-.if ${ARCH} == amd64 && ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
-PLATFORM= freebsd54x86_64
-.elif ${ARCH} == amd64 && ${OSVERSION} >= 600000
+.if ${ARCH} == amd64
PLATFORM= freebsd60x86_64
-.elif ${ARCH} == i386 && ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
-PLATFORM= freebsd54x86
-.elif ${ARCH} == i386 && ${OSVERSION} >= 600000
+.elif ${ARCH} == i386
PLATFORM= freebsd60x86
-.elif ${ARCH} == sparc64 && ${OSVERSION} >= 601000
+.elif ${ARCH} == sparc64
PLATFORM= freebsd61sparc64
.else
IGNORE= unsupported OS release, sorry
diff --git a/devel/p4d/distinfo.freebsd54x86 b/devel/p4d/distinfo.freebsd54x86
deleted file mode 100644
index 5b3a82d2bb25..000000000000
--- a/devel/p4d/distinfo.freebsd54x86
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 (perforce/08.2_1/i386/p4) = b83fca632e6be3721b43ab83285d88f2
-SHA256 (perforce/08.2_1/i386/p4) = 809ee98fdf4a0bdc67dde689334a22dd0930a734d898bcebc04b0a8287311868
-SIZE (perforce/08.2_1/i386/p4) = 544684
-MD5 (perforce/08.2_1/i386/p4d) = 0b547f61b2522b0e19562fe551cb4e5b
-SHA256 (perforce/08.2_1/i386/p4d) = c081020937f9524745613eadf76f5e570a05ac032c304593ec25448fb83ef213
-SIZE (perforce/08.2_1/i386/p4d) = 1577536
-MD5 (perforce/08.2_1/i386/p4ftpd) = a4047079042bd7b26e895b337f91f389
-SHA256 (perforce/08.2_1/i386/p4ftpd) = 45555206e265a5cf087efcae88184247e54ecebeb70435fa06c8d6d3af9f1e4e
-SIZE (perforce/08.2_1/i386/p4ftpd) = 707280
-MD5 (perforce/08.2_1/i386/p4p) = d77b98d78485bac6632e738df3f8a515
-SHA256 (perforce/08.2_1/i386/p4p) = 9dbcd5076d864caa9e79404e2c388624558b8b7352648c8fb0c0a663e2ab9e18
-SIZE (perforce/08.2_1/i386/p4p) = 493800
-MD5 (perforce/08.2_1/i386/p4web) = 83a671908b01485897e46a1be8148991
-SHA256 (perforce/08.2_1/i386/p4web) = 731d92ffc9a8b80f3d99e500fd1f324d190812431e367bd9525f60b5af9f9993
-SIZE (perforce/08.2_1/i386/p4web) = 2362664
diff --git a/devel/p4d/distinfo.freebsd54x86_64 b/devel/p4d/distinfo.freebsd54x86_64
deleted file mode 100644
index 994a29e06b85..000000000000
--- a/devel/p4d/distinfo.freebsd54x86_64
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 (perforce/08.2_1/amd64/p4) = 460ae9678427306e8b2a488612d0d25a
-SHA256 (perforce/08.2_1/amd64/p4) = bc49a62bf9efebe5816f4b211d8883a2adec7fc3785a84d3e42f9e7c82f7dc3b
-SIZE (perforce/08.2_1/amd64/p4) = 607432
-MD5 (perforce/08.2_1/amd64/p4d) = 1381c7f990a9686ff5cdd90bc07c9f21
-SHA256 (perforce/08.2_1/amd64/p4d) = b789d55903cedfa94129be8459a5f13acd6ee7651361b1bdcfe2ce02dcb93e2f
-SIZE (perforce/08.2_1/amd64/p4d) = 1740000
-MD5 (perforce/08.2_1/amd64/p4ftpd) = b1f2d5dc4e5968c8a04d2c43fb9f186c
-SHA256 (perforce/08.2_1/amd64/p4ftpd) = 2ab63f3cee095fea0ffe39956cdc1fa9644738890e874ac8e88167b99b5f4195
-SIZE (perforce/08.2_1/amd64/p4ftpd) = 743824
-MD5 (perforce/08.2_1/amd64/p4p) = 83657cf66faacfdb0d721f2daa2497c2
-SHA256 (perforce/08.2_1/amd64/p4p) = 0a9a3f4c4abbd4700903616e1132ffa42bdab2994e0bbcd006a47e148c02ae59
-SIZE (perforce/08.2_1/amd64/p4p) = 586600
-MD5 (perforce/08.2_1/amd64/p4web) = 2459a171a4c8bcda63eb494753752f88
-SHA256 (perforce/08.2_1/amd64/p4web) = 706d2fa78537d4eef0392cd1e1661caa9d47c6c4a1a5e9ffc9a32e79f2811c8b
-SIZE (perforce/08.2_1/amd64/p4web) = 2425768
diff --git a/devel/p4ftpd/Makefile b/devel/p4ftpd/Makefile
index e0b9e888f1c7..d21d643a2704 100644
--- a/devel/p4ftpd/Makefile
+++ b/devel/p4ftpd/Makefile
@@ -39,15 +39,11 @@ PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \
.include <bsd.port.pre.mk>
# Figure out what to install
-.if ${ARCH} == amd64 && ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
-PLATFORM= freebsd54x86_64
-.elif ${ARCH} == amd64 && ${OSVERSION} >= 600000
+.if ${ARCH} == amd64
PLATFORM= freebsd60x86_64
-.elif ${ARCH} == i386 && ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
-PLATFORM= freebsd54x86
-.elif ${ARCH} == i386 && ${OSVERSION} >= 600000
+.elif ${ARCH} == i386
PLATFORM= freebsd60x86
-.elif ${ARCH} == sparc64 && ${OSVERSION} >= 601000
+.elif ${ARCH} == sparc64
PLATFORM= freebsd61sparc64
.else
IGNORE= unsupported OS release, sorry
diff --git a/devel/p4ftpd/distinfo.freebsd54x86 b/devel/p4ftpd/distinfo.freebsd54x86
deleted file mode 100644
index 5b3a82d2bb25..000000000000
--- a/devel/p4ftpd/distinfo.freebsd54x86
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 (perforce/08.2_1/i386/p4) = b83fca632e6be3721b43ab83285d88f2
-SHA256 (perforce/08.2_1/i386/p4) = 809ee98fdf4a0bdc67dde689334a22dd0930a734d898bcebc04b0a8287311868
-SIZE (perforce/08.2_1/i386/p4) = 544684
-MD5 (perforce/08.2_1/i386/p4d) = 0b547f61b2522b0e19562fe551cb4e5b
-SHA256 (perforce/08.2_1/i386/p4d) = c081020937f9524745613eadf76f5e570a05ac032c304593ec25448fb83ef213
-SIZE (perforce/08.2_1/i386/p4d) = 1577536
-MD5 (perforce/08.2_1/i386/p4ftpd) = a4047079042bd7b26e895b337f91f389
-SHA256 (perforce/08.2_1/i386/p4ftpd) = 45555206e265a5cf087efcae88184247e54ecebeb70435fa06c8d6d3af9f1e4e
-SIZE (perforce/08.2_1/i386/p4ftpd) = 707280
-MD5 (perforce/08.2_1/i386/p4p) = d77b98d78485bac6632e738df3f8a515
-SHA256 (perforce/08.2_1/i386/p4p) = 9dbcd5076d864caa9e79404e2c388624558b8b7352648c8fb0c0a663e2ab9e18
-SIZE (perforce/08.2_1/i386/p4p) = 493800
-MD5 (perforce/08.2_1/i386/p4web) = 83a671908b01485897e46a1be8148991
-SHA256 (perforce/08.2_1/i386/p4web) = 731d92ffc9a8b80f3d99e500fd1f324d190812431e367bd9525f60b5af9f9993
-SIZE (perforce/08.2_1/i386/p4web) = 2362664
diff --git a/devel/p4ftpd/distinfo.freebsd54x86_64 b/devel/p4ftpd/distinfo.freebsd54x86_64
deleted file mode 100644
index 994a29e06b85..000000000000
--- a/devel/p4ftpd/distinfo.freebsd54x86_64
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 (perforce/08.2_1/amd64/p4) = 460ae9678427306e8b2a488612d0d25a
-SHA256 (perforce/08.2_1/amd64/p4) = bc49a62bf9efebe5816f4b211d8883a2adec7fc3785a84d3e42f9e7c82f7dc3b
-SIZE (perforce/08.2_1/amd64/p4) = 607432
-MD5 (perforce/08.2_1/amd64/p4d) = 1381c7f990a9686ff5cdd90bc07c9f21
-SHA256 (perforce/08.2_1/amd64/p4d) = b789d55903cedfa94129be8459a5f13acd6ee7651361b1bdcfe2ce02dcb93e2f
-SIZE (perforce/08.2_1/amd64/p4d) = 1740000
-MD5 (perforce/08.2_1/amd64/p4ftpd) = b1f2d5dc4e5968c8a04d2c43fb9f186c
-SHA256 (perforce/08.2_1/amd64/p4ftpd) = 2ab63f3cee095fea0ffe39956cdc1fa9644738890e874ac8e88167b99b5f4195
-SIZE (perforce/08.2_1/amd64/p4ftpd) = 743824
-MD5 (perforce/08.2_1/amd64/p4p) = 83657cf66faacfdb0d721f2daa2497c2
-SHA256 (perforce/08.2_1/amd64/p4p) = 0a9a3f4c4abbd4700903616e1132ffa42bdab2994e0bbcd006a47e148c02ae59
-SIZE (perforce/08.2_1/amd64/p4p) = 586600
-MD5 (perforce/08.2_1/amd64/p4web) = 2459a171a4c8bcda63eb494753752f88
-SHA256 (perforce/08.2_1/amd64/p4web) = 706d2fa78537d4eef0392cd1e1661caa9d47c6c4a1a5e9ffc9a32e79f2811c8b
-SIZE (perforce/08.2_1/amd64/p4web) = 2425768
diff --git a/devel/p4p/Makefile b/devel/p4p/Makefile
index e0b9e888f1c7..d21d643a2704 100644
--- a/devel/p4p/Makefile
+++ b/devel/p4p/Makefile
@@ -39,15 +39,11 @@ PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \
.include <bsd.port.pre.mk>
# Figure out what to install
-.if ${ARCH} == amd64 && ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
-PLATFORM= freebsd54x86_64
-.elif ${ARCH} == amd64 && ${OSVERSION} >= 600000
+.if ${ARCH} == amd64
PLATFORM= freebsd60x86_64
-.elif ${ARCH} == i386 && ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
-PLATFORM= freebsd54x86
-.elif ${ARCH} == i386 && ${OSVERSION} >= 600000
+.elif ${ARCH} == i386
PLATFORM= freebsd60x86
-.elif ${ARCH} == sparc64 && ${OSVERSION} >= 601000
+.elif ${ARCH} == sparc64
PLATFORM= freebsd61sparc64
.else
IGNORE= unsupported OS release, sorry
diff --git a/devel/p4p/distinfo.freebsd54x86 b/devel/p4p/distinfo.freebsd54x86
deleted file mode 100644
index 5b3a82d2bb25..000000000000
--- a/devel/p4p/distinfo.freebsd54x86
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 (perforce/08.2_1/i386/p4) = b83fca632e6be3721b43ab83285d88f2
-SHA256 (perforce/08.2_1/i386/p4) = 809ee98fdf4a0bdc67dde689334a22dd0930a734d898bcebc04b0a8287311868
-SIZE (perforce/08.2_1/i386/p4) = 544684
-MD5 (perforce/08.2_1/i386/p4d) = 0b547f61b2522b0e19562fe551cb4e5b
-SHA256 (perforce/08.2_1/i386/p4d) = c081020937f9524745613eadf76f5e570a05ac032c304593ec25448fb83ef213
-SIZE (perforce/08.2_1/i386/p4d) = 1577536
-MD5 (perforce/08.2_1/i386/p4ftpd) = a4047079042bd7b26e895b337f91f389
-SHA256 (perforce/08.2_1/i386/p4ftpd) = 45555206e265a5cf087efcae88184247e54ecebeb70435fa06c8d6d3af9f1e4e
-SIZE (perforce/08.2_1/i386/p4ftpd) = 707280
-MD5 (perforce/08.2_1/i386/p4p) = d77b98d78485bac6632e738df3f8a515
-SHA256 (perforce/08.2_1/i386/p4p) = 9dbcd5076d864caa9e79404e2c388624558b8b7352648c8fb0c0a663e2ab9e18
-SIZE (perforce/08.2_1/i386/p4p) = 493800
-MD5 (perforce/08.2_1/i386/p4web) = 83a671908b01485897e46a1be8148991
-SHA256 (perforce/08.2_1/i386/p4web) = 731d92ffc9a8b80f3d99e500fd1f324d190812431e367bd9525f60b5af9f9993
-SIZE (perforce/08.2_1/i386/p4web) = 2362664
diff --git a/devel/p4p/distinfo.freebsd54x86_64 b/devel/p4p/distinfo.freebsd54x86_64
deleted file mode 100644
index 994a29e06b85..000000000000
--- a/devel/p4p/distinfo.freebsd54x86_64
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 (perforce/08.2_1/amd64/p4) = 460ae9678427306e8b2a488612d0d25a
-SHA256 (perforce/08.2_1/amd64/p4) = bc49a62bf9efebe5816f4b211d8883a2adec7fc3785a84d3e42f9e7c82f7dc3b
-SIZE (perforce/08.2_1/amd64/p4) = 607432
-MD5 (perforce/08.2_1/amd64/p4d) = 1381c7f990a9686ff5cdd90bc07c9f21
-SHA256 (perforce/08.2_1/amd64/p4d) = b789d55903cedfa94129be8459a5f13acd6ee7651361b1bdcfe2ce02dcb93e2f
-SIZE (perforce/08.2_1/amd64/p4d) = 1740000
-MD5 (perforce/08.2_1/amd64/p4ftpd) = b1f2d5dc4e5968c8a04d2c43fb9f186c
-SHA256 (perforce/08.2_1/amd64/p4ftpd) = 2ab63f3cee095fea0ffe39956cdc1fa9644738890e874ac8e88167b99b5f4195
-SIZE (perforce/08.2_1/amd64/p4ftpd) = 743824
-MD5 (perforce/08.2_1/amd64/p4p) = 83657cf66faacfdb0d721f2daa2497c2
-SHA256 (perforce/08.2_1/amd64/p4p) = 0a9a3f4c4abbd4700903616e1132ffa42bdab2994e0bbcd006a47e148c02ae59
-SIZE (perforce/08.2_1/amd64/p4p) = 586600
-MD5 (perforce/08.2_1/amd64/p4web) = 2459a171a4c8bcda63eb494753752f88
-SHA256 (perforce/08.2_1/amd64/p4web) = 706d2fa78537d4eef0392cd1e1661caa9d47c6c4a1a5e9ffc9a32e79f2811c8b
-SIZE (perforce/08.2_1/amd64/p4web) = 2425768
diff --git a/devel/p4v/Makefile b/devel/p4v/Makefile
index 5cf65137d06c..2270e3b6cc77 100644
--- a/devel/p4v/Makefile
+++ b/devel/p4v/Makefile
@@ -30,10 +30,6 @@ MD5_FILE= ${MASTERDIR}/distinfo.${MACHINE_ARCH}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-IGNORE= please upgrade to FreeBSD 6.x or newer
-.endif
-
P4V_BIN= \
bin/assistant bin/p4v bin/p4v.bin
diff --git a/devel/p4web/Makefile b/devel/p4web/Makefile
index e0b9e888f1c7..d21d643a2704 100644
--- a/devel/p4web/Makefile
+++ b/devel/p4web/Makefile
@@ -39,15 +39,11 @@ PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \
.include <bsd.port.pre.mk>
# Figure out what to install
-.if ${ARCH} == amd64 && ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
-PLATFORM= freebsd54x86_64
-.elif ${ARCH} == amd64 && ${OSVERSION} >= 600000
+.if ${ARCH} == amd64
PLATFORM= freebsd60x86_64
-.elif ${ARCH} == i386 && ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
-PLATFORM= freebsd54x86
-.elif ${ARCH} == i386 && ${OSVERSION} >= 600000
+.elif ${ARCH} == i386
PLATFORM= freebsd60x86
-.elif ${ARCH} == sparc64 && ${OSVERSION} >= 601000
+.elif ${ARCH} == sparc64
PLATFORM= freebsd61sparc64
.else
IGNORE= unsupported OS release, sorry
diff --git a/devel/p4web/distinfo.freebsd54x86 b/devel/p4web/distinfo.freebsd54x86
deleted file mode 100644
index 5b3a82d2bb25..000000000000
--- a/devel/p4web/distinfo.freebsd54x86
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 (perforce/08.2_1/i386/p4) = b83fca632e6be3721b43ab83285d88f2
-SHA256 (perforce/08.2_1/i386/p4) = 809ee98fdf4a0bdc67dde689334a22dd0930a734d898bcebc04b0a8287311868
-SIZE (perforce/08.2_1/i386/p4) = 544684
-MD5 (perforce/08.2_1/i386/p4d) = 0b547f61b2522b0e19562fe551cb4e5b
-SHA256 (perforce/08.2_1/i386/p4d) = c081020937f9524745613eadf76f5e570a05ac032c304593ec25448fb83ef213
-SIZE (perforce/08.2_1/i386/p4d) = 1577536
-MD5 (perforce/08.2_1/i386/p4ftpd) = a4047079042bd7b26e895b337f91f389
-SHA256 (perforce/08.2_1/i386/p4ftpd) = 45555206e265a5cf087efcae88184247e54ecebeb70435fa06c8d6d3af9f1e4e
-SIZE (perforce/08.2_1/i386/p4ftpd) = 707280
-MD5 (perforce/08.2_1/i386/p4p) = d77b98d78485bac6632e738df3f8a515
-SHA256 (perforce/08.2_1/i386/p4p) = 9dbcd5076d864caa9e79404e2c388624558b8b7352648c8fb0c0a663e2ab9e18
-SIZE (perforce/08.2_1/i386/p4p) = 493800
-MD5 (perforce/08.2_1/i386/p4web) = 83a671908b01485897e46a1be8148991
-SHA256 (perforce/08.2_1/i386/p4web) = 731d92ffc9a8b80f3d99e500fd1f324d190812431e367bd9525f60b5af9f9993
-SIZE (perforce/08.2_1/i386/p4web) = 2362664
diff --git a/devel/p4web/distinfo.freebsd54x86_64 b/devel/p4web/distinfo.freebsd54x86_64
deleted file mode 100644
index 994a29e06b85..000000000000
--- a/devel/p4web/distinfo.freebsd54x86_64
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 (perforce/08.2_1/amd64/p4) = 460ae9678427306e8b2a488612d0d25a
-SHA256 (perforce/08.2_1/amd64/p4) = bc49a62bf9efebe5816f4b211d8883a2adec7fc3785a84d3e42f9e7c82f7dc3b
-SIZE (perforce/08.2_1/amd64/p4) = 607432
-MD5 (perforce/08.2_1/amd64/p4d) = 1381c7f990a9686ff5cdd90bc07c9f21
-SHA256 (perforce/08.2_1/amd64/p4d) = b789d55903cedfa94129be8459a5f13acd6ee7651361b1bdcfe2ce02dcb93e2f
-SIZE (perforce/08.2_1/amd64/p4d) = 1740000
-MD5 (perforce/08.2_1/amd64/p4ftpd) = b1f2d5dc4e5968c8a04d2c43fb9f186c
-SHA256 (perforce/08.2_1/amd64/p4ftpd) = 2ab63f3cee095fea0ffe39956cdc1fa9644738890e874ac8e88167b99b5f4195
-SIZE (perforce/08.2_1/amd64/p4ftpd) = 743824
-MD5 (perforce/08.2_1/amd64/p4p) = 83657cf66faacfdb0d721f2daa2497c2
-SHA256 (perforce/08.2_1/amd64/p4p) = 0a9a3f4c4abbd4700903616e1132ffa42bdab2994e0bbcd006a47e148c02ae59
-SIZE (perforce/08.2_1/amd64/p4p) = 586600
-MD5 (perforce/08.2_1/amd64/p4web) = 2459a171a4c8bcda63eb494753752f88
-SHA256 (perforce/08.2_1/amd64/p4web) = 706d2fa78537d4eef0392cd1e1661caa9d47c6c4a1a5e9ffc9a32e79f2811c8b
-SIZE (perforce/08.2_1/amd64/p4web) = 2425768
diff --git a/devel/p5-File-ExtAttr/Makefile b/devel/p5-File-ExtAttr/Makefile
index f0d4f4b15d09..9917344e1f60 100644
--- a/devel/p5-File-ExtAttr/Makefile
+++ b/devel/p5-File-ExtAttr/Makefile
@@ -18,10 +18,4 @@ PERL_CONFIGURE= 5.8.0+
MAN3= File::ExtAttr.3 File::ExtAttr::Tie.3
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500018
-IGNORE= extended attributes require FreeBSD 5.x at least after 20010326
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/papi/Makefile b/devel/papi/Makefile
index 0e4b7f0aac99..7744f0df752d 100644
--- a/devel/papi/Makefile
+++ b/devel/papi/Makefile
@@ -58,10 +58,6 @@ CONFIGURE_ARGS+= --without-debug
CONFIGURE_ARGS+= --with-debug
.endif
-.if ${OSVERSION} < 600000
-IGNORE= requires FreeBSD 6 or later
-.endif
-
MAN1= papi_avail.1 \
papi_clockres.1 \
papi_command_line.1 \
diff --git a/devel/perforce/Makefile b/devel/perforce/Makefile
index e0b9e888f1c7..d21d643a2704 100644
--- a/devel/perforce/Makefile
+++ b/devel/perforce/Makefile
@@ -39,15 +39,11 @@ PLIST_FILES= ${BIN_FILES:S+^+bin/+g} \
.include <bsd.port.pre.mk>
# Figure out what to install
-.if ${ARCH} == amd64 && ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
-PLATFORM= freebsd54x86_64
-.elif ${ARCH} == amd64 && ${OSVERSION} >= 600000
+.if ${ARCH} == amd64
PLATFORM= freebsd60x86_64
-.elif ${ARCH} == i386 && ${OSVERSION} >= 504000 && ${OSVERSION} < 600000
-PLATFORM= freebsd54x86
-.elif ${ARCH} == i386 && ${OSVERSION} >= 600000
+.elif ${ARCH} == i386
PLATFORM= freebsd60x86
-.elif ${ARCH} == sparc64 && ${OSVERSION} >= 601000
+.elif ${ARCH} == sparc64
PLATFORM= freebsd61sparc64
.else
IGNORE= unsupported OS release, sorry
diff --git a/devel/perforce/distinfo.freebsd54x86 b/devel/perforce/distinfo.freebsd54x86
deleted file mode 100644
index 5b3a82d2bb25..000000000000
--- a/devel/perforce/distinfo.freebsd54x86
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 (perforce/08.2_1/i386/p4) = b83fca632e6be3721b43ab83285d88f2
-SHA256 (perforce/08.2_1/i386/p4) = 809ee98fdf4a0bdc67dde689334a22dd0930a734d898bcebc04b0a8287311868
-SIZE (perforce/08.2_1/i386/p4) = 544684
-MD5 (perforce/08.2_1/i386/p4d) = 0b547f61b2522b0e19562fe551cb4e5b
-SHA256 (perforce/08.2_1/i386/p4d) = c081020937f9524745613eadf76f5e570a05ac032c304593ec25448fb83ef213
-SIZE (perforce/08.2_1/i386/p4d) = 1577536
-MD5 (perforce/08.2_1/i386/p4ftpd) = a4047079042bd7b26e895b337f91f389
-SHA256 (perforce/08.2_1/i386/p4ftpd) = 45555206e265a5cf087efcae88184247e54ecebeb70435fa06c8d6d3af9f1e4e
-SIZE (perforce/08.2_1/i386/p4ftpd) = 707280
-MD5 (perforce/08.2_1/i386/p4p) = d77b98d78485bac6632e738df3f8a515
-SHA256 (perforce/08.2_1/i386/p4p) = 9dbcd5076d864caa9e79404e2c388624558b8b7352648c8fb0c0a663e2ab9e18
-SIZE (perforce/08.2_1/i386/p4p) = 493800
-MD5 (perforce/08.2_1/i386/p4web) = 83a671908b01485897e46a1be8148991
-SHA256 (perforce/08.2_1/i386/p4web) = 731d92ffc9a8b80f3d99e500fd1f324d190812431e367bd9525f60b5af9f9993
-SIZE (perforce/08.2_1/i386/p4web) = 2362664
diff --git a/devel/perforce/distinfo.freebsd54x86_64 b/devel/perforce/distinfo.freebsd54x86_64
deleted file mode 100644
index 994a29e06b85..000000000000
--- a/devel/perforce/distinfo.freebsd54x86_64
+++ /dev/null
@@ -1,15 +0,0 @@
-MD5 (perforce/08.2_1/amd64/p4) = 460ae9678427306e8b2a488612d0d25a
-SHA256 (perforce/08.2_1/amd64/p4) = bc49a62bf9efebe5816f4b211d8883a2adec7fc3785a84d3e42f9e7c82f7dc3b
-SIZE (perforce/08.2_1/amd64/p4) = 607432
-MD5 (perforce/08.2_1/amd64/p4d) = 1381c7f990a9686ff5cdd90bc07c9f21
-SHA256 (perforce/08.2_1/amd64/p4d) = b789d55903cedfa94129be8459a5f13acd6ee7651361b1bdcfe2ce02dcb93e2f
-SIZE (perforce/08.2_1/amd64/p4d) = 1740000
-MD5 (perforce/08.2_1/amd64/p4ftpd) = b1f2d5dc4e5968c8a04d2c43fb9f186c
-SHA256 (perforce/08.2_1/amd64/p4ftpd) = 2ab63f3cee095fea0ffe39956cdc1fa9644738890e874ac8e88167b99b5f4195
-SIZE (perforce/08.2_1/amd64/p4ftpd) = 743824
-MD5 (perforce/08.2_1/amd64/p4p) = 83657cf66faacfdb0d721f2daa2497c2
-SHA256 (perforce/08.2_1/amd64/p4p) = 0a9a3f4c4abbd4700903616e1132ffa42bdab2994e0bbcd006a47e148c02ae59
-SIZE (perforce/08.2_1/amd64/p4p) = 586600
-MD5 (perforce/08.2_1/amd64/p4web) = 2459a171a4c8bcda63eb494753752f88
-SHA256 (perforce/08.2_1/amd64/p4web) = 706d2fa78537d4eef0392cd1e1661caa9d47c6c4a1a5e9ffc9a32e79f2811c8b
-SIZE (perforce/08.2_1/amd64/p4web) = 2425768
diff --git a/devel/py-kqueue/Makefile b/devel/py-kqueue/Makefile
index b9b92e7e2f6a..d371f4709bd6 100644
--- a/devel/py-kqueue/Makefile
+++ b/devel/py-kqueue/Makefile
@@ -25,10 +25,6 @@ MAKE_ENV= MAINCC=${CC}
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500010
-IGNORE="requires new kqueue API"
-.endif
-
post-patch:
.if ${PYTHON_REL} >= 230
@${REINPLACE_CMD} -e 's,@DEFS@,,' ${WRKSRC}/Makefile.pre.in
diff --git a/devel/py-zope.interface/Makefile b/devel/py-zope.interface/Makefile
index 0fdddaa48920..8bb8b73df0dd 100644
--- a/devel/py-zope.interface/Makefile
+++ b/devel/py-zope.interface/Makefile
@@ -23,10 +23,4 @@ PYDISTUTILS_NOEGGINFO= yes
PYDISTUTILS_PKGNAME= zope.interface
PYEASYINSTALL_ARCHDEP= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-MANUAL_PACKAGE_BUILD= does not build in tinderbox environment
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/py-zopeInterface/Makefile b/devel/py-zopeInterface/Makefile
index 0fdddaa48920..8bb8b73df0dd 100644
--- a/devel/py-zopeInterface/Makefile
+++ b/devel/py-zopeInterface/Makefile
@@ -23,10 +23,4 @@ PYDISTUTILS_NOEGGINFO= yes
PYDISTUTILS_PKGNAME= zope.interface
PYEASYINSTALL_ARCHDEP= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-MANUAL_PACKAGE_BUILD= does not build in tinderbox environment
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/qsa/Makefile b/devel/qsa/Makefile
index 497a33b5cc88..0b2138fa2e4e 100644
--- a/devel/qsa/Makefile
+++ b/devel/qsa/Makefile
@@ -42,10 +42,6 @@ OPTIONS= IDE "Enable the QSA Workbench (embedded scripting IDE)" on
CONFIGURE_ARGS+=-no-ide
.endif
-.if ${OSVERSION} < 502124
-EXTRA_PATCHES= ${PATCHDIR}/extrapatch-src_engine_qsoperations.cpp
-.endif
-
pre-configure:
# Adjust installation directories for the documentation and the qmake feature extension
@${REINPLACE_CMD} -e 's|$$$$QSA_INSTALL_PREFIX/doc/html|$$$$QSA_INSTALL_PREFIX/share/doc/qsa/html|g' \
diff --git a/devel/qsa/files/extrapatch-src_engine_qsoperations.cpp b/devel/qsa/files/extrapatch-src_engine_qsoperations.cpp
deleted file mode 100644
index 26e08bba551c..000000000000
--- a/devel/qsa/files/extrapatch-src_engine_qsoperations.cpp
+++ /dev/null
@@ -1,16 +0,0 @@
---- src/engine/qsoperations.cpp.orig Mon Jul 12 15:04:29 2004
-+++ src/engine/qsoperations.cpp Mon Jul 12 15:23:49 2004
-@@ -61,6 +61,13 @@
- }
- #endif
-
-+#ifdef __FreeBSD__
-+extern "C" {
-+ int isnan( double );
-+ int isinf( double );
-+}
-+#endif
-+
- using namespace QS;
-
- bool QS::isNaN( double d )
diff --git a/devel/root/Makefile b/devel/root/Makefile
index 962679ad7f0e..2ec07b968f47 100644
--- a/devel/root/Makefile
+++ b/devel/root/Makefile
@@ -220,9 +220,7 @@ CONFIGURE_ARGS+= --disable-srp
### Rules and version dependend variables
-.if ${OSVERSION} < 500016
-BROKEN= "Does not compile / Needs thread support"
-.elif ${OSVERSION} >= 700000
+.if ${OSVERSION} >= 700000
BROKEN= Does not compile
.endif
diff --git a/devel/sdl12/Makefile b/devel/sdl12/Makefile
index c174311ae5b1..b732c32a6258 100644
--- a/devel/sdl12/Makefile
+++ b/devel/sdl12/Makefile
@@ -26,7 +26,8 @@ USE_GNOME= gnomehack gnometarget pkgconfig
USE_ICONV= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
- LDFLAGS="${LDFLAGS}"
+ LDFLAGS="${LDFLAGS}" \
+ ac_cv_header_libusbhid_h=no
CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -63,10 +64,6 @@ OPTIONS+= XLIB "XLib (xorg) graphics support" On
MAN3!= ${CAT} ${FILESDIR}/man3
-.if ${OSVERSION} >= 500111
-CONFIGURE_ENV+= ac_cv_header_libusbhid_h=no
-.endif
-
.if defined(WITHOUT_AALIB)
CONFIGURE_ARGS+=--disable-video-aalib
.else
diff --git a/devel/sdts++/Makefile b/devel/sdts++/Makefile
index f5ccf9004069..3d944f71c29c 100644
--- a/devel/sdts++/Makefile
+++ b/devel/sdts++/Makefile
@@ -26,11 +26,4 @@ MAKE_ARGS= CXX="${CXX}"
INFO= sdts++
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500035
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
-CFLAGS+= -ftemplate-depth-25
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/subversion-devel/Makefile b/devel/subversion-devel/Makefile
index 0c5eb90529be..4a5b53824506 100644
--- a/devel/subversion-devel/Makefile
+++ b/devel/subversion-devel/Makefile
@@ -149,10 +149,6 @@ PLIST_SUB+= WITH_JAVA=""
PLIST_SUB+= WITH_JAVA="@comment "
.endif
-.if defined(WITH_JAVA) && ${OSVERSION} < 503000
-BROKEN="Java bindings are supported only on FreeBSD 5.3 or newer"
-.endif
-
.if !defined(SWIG_BINDINGS)
CONFIGURE_ARGS+= --without-swig
.endif
diff --git a/devel/thrift/Makefile b/devel/thrift/Makefile
index 463cfe8fb407..8178db61a5e1 100644
--- a/devel/thrift/Makefile
+++ b/devel/thrift/Makefile
@@ -25,12 +25,6 @@ CONFIGURE_ARGS= --with-boost=${LOCALBASE} \
--with-event=${LOCALBASE}
CONFIGURE_ENV+= ${MAKE_ENV}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-BROKEN= Incorrect plist
-.endif
-
post-patch:
${REINPLACE_CMD} -i '' -e 's=lib/py ==' ${WRKSRC}/*.*
@@ -41,4 +35,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/doc/thrift.pdf ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/umem/Makefile b/devel/umem/Makefile
index 179e56122d02..e1570ddfd2e6 100644
--- a/devel/umem/Makefile
+++ b/devel/umem/Makefile
@@ -23,11 +23,4 @@ post-patch:
MAN3= umem_alloc.3 umem_cache_create.3 umem_debug.3
-.include <bsd.port.pre.mk>
-
-# pthread
-.if ${OSVERSION} < 502102
-IGNORE= requires FreeBSD 5.2.1 or above
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/valgrind-snapshot/Makefile b/devel/valgrind-snapshot/Makefile
index 202ed48f13ce..54b0838b1e31 100644
--- a/devel/valgrind-snapshot/Makefile
+++ b/devel/valgrind-snapshot/Makefile
@@ -35,16 +35,10 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
.if ${OSVERSION} >= 800000
IGNORE= FreeBSD 8.0 is supported yet
.elif ${OSVERSION} >= 700000
-PLIST_SUB+= RELENG_5="@comment "
PLIST_SUB+= RELENG_6="@comment "
PLIST_SUB+= RELENG_7=""
-.elif ${OSVERSION} >= 600000
-PLIST_SUB+= RELENG_5="@comment "
-PLIST_SUB+= RELENG_6=""
-PLIST_SUB+= RELENG_7="@comment "
.else
-PLIST_SUB+= RELENG_5=""
-PLIST_SUB+= RELENG_6="@comment "
+PLIST_SUB+= RELENG_6=""
PLIST_SUB+= RELENG_7="@comment "
.endif
diff --git a/devel/valgrind-snapshot/pkg-plist b/devel/valgrind-snapshot/pkg-plist
index 6939056296e9..c520283df928 100644
--- a/devel/valgrind-snapshot/pkg-plist
+++ b/devel/valgrind-snapshot/pkg-plist
@@ -13,10 +13,6 @@ lib/valgrind/glibc-2.1.supp
lib/valgrind/glibc-2.2.supp
lib/valgrind/glibc-2.3.supp
lib/valgrind/hp2ps
-%%RELENG_5%%lib/valgrind/libc_r.so.5
-%%RELENG_5%%lib/valgrind/libkse.so.1
-%%RELENG_5%%lib/valgrind/libpthread.so.1
-%%RELENG_5%%lib/valgrind/libthr.so.1
%%RELENG_6%%lib/valgrind/libc_r.so.6
%%RELENG_6%%lib/valgrind/libpthread.so.2
%%RELENG_6%%lib/valgrind/libthr.so.2
diff --git a/devel/valgrind/Makefile b/devel/valgrind/Makefile
index ba58c0ef80ab..f87de43c715c 100644
--- a/devel/valgrind/Makefile
+++ b/devel/valgrind/Makefile
@@ -31,16 +31,10 @@ USE_GCC= 3.4
.if ${OSVERSION} >= 800000
IGNORE= FreeBSD 8.x is unsupported
.elif ${OSVERSION} >= 700000
-PLIST_SUB+= RELENG_5="@comment "
PLIST_SUB+= RELENG_6="@comment "
PLIST_SUB+= RELENG_7=""
-.elif ${OSVERSION} >= 600000
-PLIST_SUB+= RELENG_5="@comment "
-PLIST_SUB+= RELENG_6=""
-PLIST_SUB+= RELENG_7="@comment "
.else
-PLIST_SUB+= RELENG_5=""
-PLIST_SUB+= RELENG_6="@comment "
+PLIST_SUB+= RELENG_6=""
PLIST_SUB+= RELENG_7="@comment "
.endif
diff --git a/devel/valgrind/pkg-plist b/devel/valgrind/pkg-plist
index 34d0a398cd03..c43e8d12ee69 100644
--- a/devel/valgrind/pkg-plist
+++ b/devel/valgrind/pkg-plist
@@ -12,10 +12,6 @@ lib/valgrind/default.supp
lib/valgrind/glibc-2.1.supp
lib/valgrind/glibc-2.2.supp
lib/valgrind/glibc-2.3.supp
-%%RELENG_5%%lib/valgrind/libc_r.so.5
-%%RELENG_5%%lib/valgrind/libkse.so.1
-%%RELENG_5%%lib/valgrind/libpthread.so.1
-%%RELENG_5%%lib/valgrind/libthr.so.1
%%RELENG_6%%lib/valgrind/libc_r.so.6
%%RELENG_6%%lib/valgrind/libpthread.so.2
%%RELENG_6%%lib/valgrind/libthr.so.2
diff --git a/dns/dhisd/Makefile b/dns/dhisd/Makefile
index 3b228f628009..52253abb6edc 100644
--- a/dns/dhisd/Makefile
+++ b/dns/dhisd/Makefile
@@ -14,14 +14,11 @@ MASTER_SITES= ftp://ftp.dhis.org/pub/dhis/
MAINTAINER= marius@FreeBSD.org
COMMENT= DHIS server for dynamic updates on the server using specific engines
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 500023
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
+
CFLAGS+= -I${PREFIX}/include
LDFLAGS+= -L${PREFIX}/lib
-MAKE_ENV+= LDFLAGS="${LDFLAGS}"
-.endif
+MAKE_ENV= LDFLAGS="${LDFLAGS}"
DOCFILES= CONTRIBUTORS COPYRIGHT INSTALL MODULES README
@@ -77,4 +74,4 @@ post-install:
.endif
@${ECHO} "--------------------------------------------------------------------------"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/dns/fourcdns/Makefile b/dns/fourcdns/Makefile
index 3e0afe6abe65..923b8357e054 100644
--- a/dns/fourcdns/Makefile
+++ b/dns/fourcdns/Makefile
@@ -24,9 +24,6 @@ PORTDOCS= fourcdns.pdf
# distfile contains i386 binary
ONLY_FOR_ARCHS= i386
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION}>=600000
EXEFILE= fourcdns6
MGRGUI= fourcdnsmgr6
LIBWXBASE= wxversion6/libwx_base-2.6.so.0
@@ -38,19 +35,6 @@ LIBWXX11UNIVHTML= wxversion6/libwx_x11univ_html-2.6.so.0
LIBWXX11UNIVQA= wxversion6/libwx_x11univ_qa-2.6.so.0
LIBWXX11UNIVXRC= wxversion6/libwx_x11univ_xrc-2.6.so.0
LIBWXX11UNIVMED= wxversion6/libwx_x11univ_media-2.6.so.0
-.else
-EXEFILE= fourcdns6
-MGRGUI= fourcdnsmgr5
-LIBWXBASE= wxversion5/libwx_base-2.6.so.5
-LIBWXBASENET= wxversion5/libwx_base_net-2.6.so.5
-LIBWXBASEXML= wxversion5/libwx_base_xml-2.6.so.5
-LIBWXX11UNIVADV= wxversion5/libwx_x11univ_adv-2.6.so.5
-LIBWXX11UNIVCORE= wxversion5/libwx_x11univ_core-2.6.so.5
-LIBWXX11UNIVHTML= wxversion5/libwx_x11univ_html-2.6.so.5
-LIBWXX11UNIVQA= wxversion5/libwx_x11univ_qa-2.6.so.5
-LIBWXX11UNIVXRC= wxversion5/libwx_x11univ_xrc-2.6.so.5
-LIBWXX11UNIVMED= wxversion5/libwx_x11univ_media-2.6.so.5
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${EXEFILE} ${PREFIX}/bin/fourcdns
@@ -75,4 +59,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/license.txt ${PREFIX}/zerocaloriedns/license.txt
${INSTALL_DATA} ${WRKSRC}/wxWidgetsNotes.txt ${PREFIX}/zerocaloriedns/wxWidgetsNotes.txt
${INSTALL_DATA} ${WRKSRC}/wxWidgetsLicense.txt ${PREFIX}/zerocaloriedns/wxWidgetsLicense.txt
-.include <bsd.port.post.mk>
+
+.include <bsd.port.mk>
diff --git a/dns/maradns/Makefile b/dns/maradns/Makefile
index 949dc4d22bae..3c28565ff8d0 100644
--- a/dns/maradns/Makefile
+++ b/dns/maradns/Makefile
@@ -28,12 +28,6 @@ MAN5= mararc.5 csv1.5 csv2.5 csv2_txt.5
MAN8= maradns.8 zoneserver.8 duende.8
#MANLANG= "" fr.ISO8859-1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= does not compile on FreeBSD 5.X, needs pidfile functions in libutil
-.endif
-
post-patch:
@${FIND} ${WRKSRC} -type f | ${XARGS} ${REINPLACE_CMD} -e \
's|/etc/mara|${PREFIX}/etc/mara|g'
@@ -90,4 +84,4 @@ do-install:
${CP} -R ${WRKSRC}/doc/en/text ${DOCSDIR}/en
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/dns/nss_mdns/Makefile b/dns/nss_mdns/Makefile
index 2884bde11c86..fc7cb5932b45 100644
--- a/dns/nss_mdns/Makefile
+++ b/dns/nss_mdns/Makefile
@@ -60,10 +60,6 @@ PORTDOCS= README README.html
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-IGNORE= name-service switch support in libc.so.6 or later is required
-.endif
-
.if defined(WITH_SEARCH_DOMAINS)
CONFIGURE_ARGS+= --enable-search-domains
.endif
diff --git a/dns/nss_resinit/Makefile b/dns/nss_resinit/Makefile
index 3d5c17acfa08..35a21f6c0d79 100644
--- a/dns/nss_resinit/Makefile
+++ b/dns/nss_resinit/Makefile
@@ -21,10 +21,6 @@ MANCOMPRESSED= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500112
-IGNORE= name-service switch support in libc is required
-.endif
-
.if defined(WITH_COMPAT5X)
.if ${OSVERSION} > 700017
BROKEN= 7.X and later do not have compat syms for the old resolver
diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile
index 651b1caa2d26..e9a8740625c4 100644
--- a/editors/calligra/Makefile
+++ b/editors/calligra/Makefile
@@ -45,36 +45,10 @@ USE_RUBY= yes
USE_PGSQL= yes
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
-.include <bsd.port.pre.mk>
CONFIGURE_ARGS+=--with-pgsqlincdir=${LOCALBASE}/include \
--with-pgsqllibdir=${LOCALBASE}/lib \
--with-pqxx-includes=${LOCALBASE}/include \
--with-pqxx-libraries=${LOCALBASE}/lib
-.if ${OSVERSION} < 500035
-EXTRA_PATCHES= ${PATCHDIR}/extrapatch-kexi-main-keximainwindowimpl.cpp
-CONFIGURE_ARGS+=--disable-final
-.endif
-
-post-configure:
-.if ${OSVERSION} < 500035
- ${REINPLACE_CMD} -e 's|\(^CPPFLAGS =.*\)|\1 -I${LOCALBASE}/include/stlport|g' \
- -e 's|\(^LDFLAGS =.*\)|\1 -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}|g' \
- ${WRKSRC}/filters/krita/tiff/Makefile \
- ${WRKSRC}/filters/kspread/excel/sidewinder/Makefile \
- ${WRKSRC}/kchart/Makefile \
- ${WRKSRC}/kchart/kdchart/Makefile \
- ${WRKSRC}/kexi/kexidb/drivers/pqxx/Makefile \
- ${WRKSRC}/kexi/migration/pqxx/Makefile
- ${REINPLACE_CMD} -e 's|round(|rint(|g' \
- ${WRKSRC}/krita/plugins/filters/levelfilter/kgradientslider.cc
- ${REINPLACE_CMD} -e 's|-O[s23]||g' -e 's|-O|-O0|g' \
- ${WRKSRC}/krita/plugins/filters/cimg/Makefile
- ${REINPLACE_CMD} -e 's|xor|^|g' \
- ${WRKSRC}/kspread/kspread_style.cc
- ${REINPLACE_CMD} -e 's|trunc(|rint(|g' \
- ${WRKSRC}/kchart/kdchart/KDChartAxesPainter.cpp
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/editors/calligra/files/extrapatch-kexi-main-keximainwindowimpl.cpp b/editors/calligra/files/extrapatch-kexi-main-keximainwindowimpl.cpp
deleted file mode 100644
index 68068710b7c0..000000000000
--- a/editors/calligra/files/extrapatch-kexi-main-keximainwindowimpl.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- kexi/main/keximainwindowimpl.cpp.orig Thu Jun 30 17:28:58 2005
-+++ kexi/main/keximainwindowimpl.cpp Thu Jun 30 17:29:14 2005
-@@ -106,8 +106,8 @@
- //#define PROPEDITOR_VISIBILITY_CHANGES
-
- //temporary fix to manage layout
--#include "ksplitter.h"
--#define KDOCKWIDGET_P 1
-+// #include "ksplitter.h"
-+// #define KDOCKWIDGET_P 1
-
- //#ifndef KEXI_NO_MIGRATION
- //#include "migration/importwizard.h"
diff --git a/editors/glimmer/Makefile b/editors/glimmer/Makefile
index 877b738c8812..e8cafa47a282 100644
--- a/editors/glimmer/Makefile
+++ b/editors/glimmer/Makefile
@@ -26,26 +26,17 @@ USE_GNOME= gnomeprefix gnomehack gnomelibs gnomeprint gnomevfs \
USE_GETTEXT= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-regex
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I/usr/include/gnu" \
+ LIBS="-L${LOCALBASE}/lib -lgnuregex"
+
.if exists(/usr/lib/libcrypto.a)
PYTHON_LIBS= -lssl -lcrypto
.endif
PYTHON_LIBS+= -lutil -lreadline -lcrypt -lpython
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 502104
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I/usr/include/gnu" \
- LIBS="-L${LOCALBASE}/lib -lgnuregex"
-.else
-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D_REGEX_H_ -D_REGEX_H" \
- LIBS="-L${LOCALBASE}/lib -lgnuregex"
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|-lpython|${PYTHON_LIBS}|g' ${WRKSRC}/configure
-.if ${OSVERSION} >= 502104
@${REINPLACE_CMD} -e 's|gnuregex\.h|regex.h|' \
${WRKSRC}/src/gtkextext/gtkextext.h
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/editors/koffice-kde3/Makefile b/editors/koffice-kde3/Makefile
index 651b1caa2d26..e9a8740625c4 100644
--- a/editors/koffice-kde3/Makefile
+++ b/editors/koffice-kde3/Makefile
@@ -45,36 +45,10 @@ USE_RUBY= yes
USE_PGSQL= yes
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
-.include <bsd.port.pre.mk>
CONFIGURE_ARGS+=--with-pgsqlincdir=${LOCALBASE}/include \
--with-pgsqllibdir=${LOCALBASE}/lib \
--with-pqxx-includes=${LOCALBASE}/include \
--with-pqxx-libraries=${LOCALBASE}/lib
-.if ${OSVERSION} < 500035
-EXTRA_PATCHES= ${PATCHDIR}/extrapatch-kexi-main-keximainwindowimpl.cpp
-CONFIGURE_ARGS+=--disable-final
-.endif
-
-post-configure:
-.if ${OSVERSION} < 500035
- ${REINPLACE_CMD} -e 's|\(^CPPFLAGS =.*\)|\1 -I${LOCALBASE}/include/stlport|g' \
- -e 's|\(^LDFLAGS =.*\)|\1 -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}|g' \
- ${WRKSRC}/filters/krita/tiff/Makefile \
- ${WRKSRC}/filters/kspread/excel/sidewinder/Makefile \
- ${WRKSRC}/kchart/Makefile \
- ${WRKSRC}/kchart/kdchart/Makefile \
- ${WRKSRC}/kexi/kexidb/drivers/pqxx/Makefile \
- ${WRKSRC}/kexi/migration/pqxx/Makefile
- ${REINPLACE_CMD} -e 's|round(|rint(|g' \
- ${WRKSRC}/krita/plugins/filters/levelfilter/kgradientslider.cc
- ${REINPLACE_CMD} -e 's|-O[s23]||g' -e 's|-O|-O0|g' \
- ${WRKSRC}/krita/plugins/filters/cimg/Makefile
- ${REINPLACE_CMD} -e 's|xor|^|g' \
- ${WRKSRC}/kspread/kspread_style.cc
- ${REINPLACE_CMD} -e 's|trunc(|rint(|g' \
- ${WRKSRC}/kchart/kdchart/KDChartAxesPainter.cpp
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/editors/koffice-kde3/files/extrapatch-kexi-main-keximainwindowimpl.cpp b/editors/koffice-kde3/files/extrapatch-kexi-main-keximainwindowimpl.cpp
deleted file mode 100644
index 68068710b7c0..000000000000
--- a/editors/koffice-kde3/files/extrapatch-kexi-main-keximainwindowimpl.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- kexi/main/keximainwindowimpl.cpp.orig Thu Jun 30 17:28:58 2005
-+++ kexi/main/keximainwindowimpl.cpp Thu Jun 30 17:29:14 2005
-@@ -106,8 +106,8 @@
- //#define PROPEDITOR_VISIBILITY_CHANGES
-
- //temporary fix to manage layout
--#include "ksplitter.h"
--#define KDOCKWIDGET_P 1
-+// #include "ksplitter.h"
-+// #define KDOCKWIDGET_P 1
-
- //#ifndef KEXI_NO_MIGRATION
- //#include "migration/importwizard.h"
diff --git a/editors/koffice-kde4/Makefile b/editors/koffice-kde4/Makefile
index 651b1caa2d26..e9a8740625c4 100644
--- a/editors/koffice-kde4/Makefile
+++ b/editors/koffice-kde4/Makefile
@@ -45,36 +45,10 @@ USE_RUBY= yes
USE_PGSQL= yes
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
-.include <bsd.port.pre.mk>
CONFIGURE_ARGS+=--with-pgsqlincdir=${LOCALBASE}/include \
--with-pgsqllibdir=${LOCALBASE}/lib \
--with-pqxx-includes=${LOCALBASE}/include \
--with-pqxx-libraries=${LOCALBASE}/lib
-.if ${OSVERSION} < 500035
-EXTRA_PATCHES= ${PATCHDIR}/extrapatch-kexi-main-keximainwindowimpl.cpp
-CONFIGURE_ARGS+=--disable-final
-.endif
-
-post-configure:
-.if ${OSVERSION} < 500035
- ${REINPLACE_CMD} -e 's|\(^CPPFLAGS =.*\)|\1 -I${LOCALBASE}/include/stlport|g' \
- -e 's|\(^LDFLAGS =.*\)|\1 -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}|g' \
- ${WRKSRC}/filters/krita/tiff/Makefile \
- ${WRKSRC}/filters/kspread/excel/sidewinder/Makefile \
- ${WRKSRC}/kchart/Makefile \
- ${WRKSRC}/kchart/kdchart/Makefile \
- ${WRKSRC}/kexi/kexidb/drivers/pqxx/Makefile \
- ${WRKSRC}/kexi/migration/pqxx/Makefile
- ${REINPLACE_CMD} -e 's|round(|rint(|g' \
- ${WRKSRC}/krita/plugins/filters/levelfilter/kgradientslider.cc
- ${REINPLACE_CMD} -e 's|-O[s23]||g' -e 's|-O|-O0|g' \
- ${WRKSRC}/krita/plugins/filters/cimg/Makefile
- ${REINPLACE_CMD} -e 's|xor|^|g' \
- ${WRKSRC}/kspread/kspread_style.cc
- ${REINPLACE_CMD} -e 's|trunc(|rint(|g' \
- ${WRKSRC}/kchart/kdchart/KDChartAxesPainter.cpp
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/editors/koffice-kde4/files/extrapatch-kexi-main-keximainwindowimpl.cpp b/editors/koffice-kde4/files/extrapatch-kexi-main-keximainwindowimpl.cpp
deleted file mode 100644
index 68068710b7c0..000000000000
--- a/editors/koffice-kde4/files/extrapatch-kexi-main-keximainwindowimpl.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
---- kexi/main/keximainwindowimpl.cpp.orig Thu Jun 30 17:28:58 2005
-+++ kexi/main/keximainwindowimpl.cpp Thu Jun 30 17:29:14 2005
-@@ -106,8 +106,8 @@
- //#define PROPEDITOR_VISIBILITY_CHANGES
-
- //temporary fix to manage layout
--#include "ksplitter.h"
--#define KDOCKWIDGET_P 1
-+// #include "ksplitter.h"
-+// #define KDOCKWIDGET_P 1
-
- //#ifndef KEXI_NO_MIGRATION
- //#include "migration/importwizard.h"
diff --git a/editors/le/Makefile b/editors/le/Makefile
index 4c1aae293fa9..0c6d1afe094d 100644
--- a/editors/le/Makefile
+++ b/editors/le/Makefile
@@ -27,19 +27,11 @@ MISC_DATA= colors-black colors-blue colors-defbg colors-green \
colors-white keymap-emacs mainmenu mainmenu-ru syntax
SRC_DATA= le.hlp
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 502010
-GNU_REGEX_H= gnu/regex.h
-.else
-GNU_REGEX_H= gnuregex.h
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|@LIBOBJS@||g ; \
s|@ALLOCA@||g' ${WRKSRC}/lib/Makefile.in
.for file in configure src/search.cc src/highli.h
- @${REINPLACE_CMD} -e 's|<regex.h>|<${GNU_REGEX_H}>|g' ${WRKSRC}/${file}
+ @${REINPLACE_CMD} -e 's|<regex.h>|<gnu/regex.h>|g' ${WRKSRC}/${file}
.endfor
do-install:
@@ -61,4 +53,4 @@ do-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/editors/openoffice-3-devel/files/Makefile.knobs b/editors/openoffice-3-devel/files/Makefile.knobs
index 6c4a374c58f0..abefb30bb0d1 100644
--- a/editors/openoffice-3-devel/files/Makefile.knobs
+++ b/editors/openoffice-3-devel/files/Makefile.knobs
@@ -62,21 +62,6 @@ CONFIGURE_ARGS+= --with-system-icu=no
.endif
pre-fetch:
-.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} < 492000)
- @${ECHO}
- @${ECHO} "WARNING"
- @${ECHO} "Your rtld seems to be old."
- @${ECHO} "Please remake your rtld by:"
- @${ECHO} "[1] if you use 4-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng4"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng4"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "[2] if you use 5-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng5"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng5"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "AT YOUR OWN RISK!"
-.endif
@${ECHO} "OPTIONS:"
.if !defined(WITH_DEBUG)
@${ECHO}
diff --git a/editors/openoffice-3/files/Makefile.knobs b/editors/openoffice-3/files/Makefile.knobs
index fde58d2ff5c6..c1a56b9ed2a3 100644
--- a/editors/openoffice-3/files/Makefile.knobs
+++ b/editors/openoffice-3/files/Makefile.knobs
@@ -58,21 +58,6 @@ CONFIGURE_ARGS+= --with-system-icu=no
.endif
pre-fetch:
-.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} < 492000)
- @${ECHO}
- @${ECHO} "WARNING"
- @${ECHO} "Your rtld seems to be old."
- @${ECHO} "Please remake your rtld by:"
- @${ECHO} "[1] if you use 4-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng4"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng4"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "[2] if you use 5-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng5"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng5"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "AT YOUR OWN RISK!"
-.endif
@${ECHO} "OPTIONS:"
.if !defined(WITH_DEBUG)
@${ECHO}
diff --git a/editors/openoffice.org-2-RC/files/Makefile.knobs b/editors/openoffice.org-2-RC/files/Makefile.knobs
index 686099bd3274..3f9d19ba5f93 100644
--- a/editors/openoffice.org-2-RC/files/Makefile.knobs
+++ b/editors/openoffice.org-2-RC/files/Makefile.knobs
@@ -62,21 +62,6 @@ CONFIGURE_ARGS+= --with-system-icu=no
.endif
pre-fetch:
-.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} < 492000)
- @${ECHO}
- @${ECHO} "WARNING"
- @${ECHO} "Your rtld seems to be old."
- @${ECHO} "Please remake your rtld by:"
- @${ECHO} "[1] if you use 4-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng4"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng4"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "[2] if you use 5-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng5"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng5"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "AT YOUR OWN RISK!"
-.endif
@${ECHO} "OPTIONS:"
.if !defined(WITH_DEBUG)
@${ECHO}
diff --git a/editors/openoffice.org-2-devel/files/Makefile.knobs b/editors/openoffice.org-2-devel/files/Makefile.knobs
index 686099bd3274..3f9d19ba5f93 100644
--- a/editors/openoffice.org-2-devel/files/Makefile.knobs
+++ b/editors/openoffice.org-2-devel/files/Makefile.knobs
@@ -62,21 +62,6 @@ CONFIGURE_ARGS+= --with-system-icu=no
.endif
pre-fetch:
-.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} < 492000)
- @${ECHO}
- @${ECHO} "WARNING"
- @${ECHO} "Your rtld seems to be old."
- @${ECHO} "Please remake your rtld by:"
- @${ECHO} "[1] if you use 4-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng4"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng4"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "[2] if you use 5-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng5"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng5"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "AT YOUR OWN RISK!"
-.endif
@${ECHO} "OPTIONS:"
.if !defined(WITH_DEBUG)
@${ECHO}
diff --git a/editors/openoffice.org-2/files/Makefile.knobs b/editors/openoffice.org-2/files/Makefile.knobs
index 686099bd3274..3f9d19ba5f93 100644
--- a/editors/openoffice.org-2/files/Makefile.knobs
+++ b/editors/openoffice.org-2/files/Makefile.knobs
@@ -62,21 +62,6 @@ CONFIGURE_ARGS+= --with-system-icu=no
.endif
pre-fetch:
-.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} < 492000)
- @${ECHO}
- @${ECHO} "WARNING"
- @${ECHO} "Your rtld seems to be old."
- @${ECHO} "Please remake your rtld by:"
- @${ECHO} "[1] if you use 4-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng4"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng4"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "[2] if you use 5-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng5"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng5"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "AT YOUR OWN RISK!"
-.endif
@${ECHO} "OPTIONS:"
.if !defined(WITH_DEBUG)
@${ECHO}
diff --git a/editors/openoffice.org-3-RC/files/Makefile.knobs b/editors/openoffice.org-3-RC/files/Makefile.knobs
index fde58d2ff5c6..c1a56b9ed2a3 100644
--- a/editors/openoffice.org-3-RC/files/Makefile.knobs
+++ b/editors/openoffice.org-3-RC/files/Makefile.knobs
@@ -58,21 +58,6 @@ CONFIGURE_ARGS+= --with-system-icu=no
.endif
pre-fetch:
-.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} < 492000)
- @${ECHO}
- @${ECHO} "WARNING"
- @${ECHO} "Your rtld seems to be old."
- @${ECHO} "Please remake your rtld by:"
- @${ECHO} "[1] if you use 4-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng4"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng4"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "[2] if you use 5-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng5"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng5"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "AT YOUR OWN RISK!"
-.endif
@${ECHO} "OPTIONS:"
.if !defined(WITH_DEBUG)
@${ECHO}
diff --git a/editors/openoffice.org-3-devel/files/Makefile.knobs b/editors/openoffice.org-3-devel/files/Makefile.knobs
index 6c4a374c58f0..abefb30bb0d1 100644
--- a/editors/openoffice.org-3-devel/files/Makefile.knobs
+++ b/editors/openoffice.org-3-devel/files/Makefile.knobs
@@ -62,21 +62,6 @@ CONFIGURE_ARGS+= --with-system-icu=no
.endif
pre-fetch:
-.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} < 492000)
- @${ECHO}
- @${ECHO} "WARNING"
- @${ECHO} "Your rtld seems to be old."
- @${ECHO} "Please remake your rtld by:"
- @${ECHO} "[1] if you use 4-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng4"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng4"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "[2] if you use 5-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng5"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng5"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "AT YOUR OWN RISK!"
-.endif
@${ECHO} "OPTIONS:"
.if !defined(WITH_DEBUG)
@${ECHO}
diff --git a/editors/openoffice.org-3/files/Makefile.knobs b/editors/openoffice.org-3/files/Makefile.knobs
index fde58d2ff5c6..c1a56b9ed2a3 100644
--- a/editors/openoffice.org-3/files/Makefile.knobs
+++ b/editors/openoffice.org-3/files/Makefile.knobs
@@ -58,21 +58,6 @@ CONFIGURE_ARGS+= --with-system-icu=no
.endif
pre-fetch:
-.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} < 492000)
- @${ECHO}
- @${ECHO} "WARNING"
- @${ECHO} "Your rtld seems to be old."
- @${ECHO} "Please remake your rtld by:"
- @${ECHO} "[1] if you use 4-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng4"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng4"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "[2] if you use 5-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng5"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng5"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "AT YOUR OWN RISK!"
-.endif
@${ECHO} "OPTIONS:"
.if !defined(WITH_DEBUG)
@${ECHO}
diff --git a/editors/openoffice.org-vcltesttool/files/Makefile.knobs b/editors/openoffice.org-vcltesttool/files/Makefile.knobs
index 686099bd3274..3f9d19ba5f93 100644
--- a/editors/openoffice.org-vcltesttool/files/Makefile.knobs
+++ b/editors/openoffice.org-vcltesttool/files/Makefile.knobs
@@ -62,21 +62,6 @@ CONFIGURE_ARGS+= --with-system-icu=no
.endif
pre-fetch:
-.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} < 492000)
- @${ECHO}
- @${ECHO} "WARNING"
- @${ECHO} "Your rtld seems to be old."
- @${ECHO} "Please remake your rtld by:"
- @${ECHO} "[1] if you use 4-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng4"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng4"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "[2] if you use 5-series:"
- @${ECHO} "# fetch http://people.freebsd.org/~maho/ooo/patch-rtld.c-releng5"
- @${ECHO} "# cd /usr/src/libexec/rtld-elf ; patch < patch-rtld.c-releng5"
- @${ECHO} "# make ; make depend ; make install"
- @${ECHO} "AT YOUR OWN RISK!"
-.endif
@${ECHO} "OPTIONS:"
.if !defined(WITH_DEBUG)
@${ECHO}
diff --git a/editors/texmacs/Makefile b/editors/texmacs/Makefile
index 1b997541cbac..bb3b2eca8f60 100644
--- a/editors/texmacs/Makefile
+++ b/editors/texmacs/Makefile
@@ -44,12 +44,6 @@ USE_EFL= imlib2
CONFIGURE_ARGS+= --with-imlib2
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-CONFIGURE_ARGS+=--disable-fastalloc
-.endif
-
post-patch:
@${GREP} -lR "#!/bin/bash" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|#!/bin/bash|#!/bin/sh|g'
@@ -60,4 +54,4 @@ post-install:
${CHOWN} -R ${LIBOWN}:${LIBGRP} ${PREFIX}/libexec/TeXmacs
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/TeXmacs
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/editors/xcoral/Makefile b/editors/xcoral/Makefile
index 6969b1840e7f..5057783453bf 100644
--- a/editors/xcoral/Makefile
+++ b/editors/xcoral/Makefile
@@ -20,19 +20,11 @@ CONFIGURE_ARGS= --libdir=${PREFIX}/share
PLIST_SUB= VERSION="${PORTVERSION}"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 502010
-GNU_REGEX_H= gnu/regex.h
-.else
-GNU_REGEX_H= gnuregex.h
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's| regex\.c | |g ; \
s| -g | |g' ${WRKSRC}/Makefile.in
@${REINPLACE_CMD} -e \
- 's|"regex\.h"|<${GNU_REGEX_H}>|g' ${WRKSRC}/bm_search.c
+ 's|"regex\.h"|<gnu/regex.h>|g' ${WRKSRC}/bm_search.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xcoral ${PREFIX}/bin
@@ -43,4 +35,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/Doc/* ${DOCSDIR}
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/editors/zile/Makefile b/editors/zile/Makefile
index 18cd1edbedfe..1f19cd065577 100644
--- a/editors/zile/Makefile
+++ b/editors/zile/Makefile
@@ -24,21 +24,13 @@ PLIST_FILES= bin/zile %%DATADIR%%/AUTODOC %%DATADIR%%/FAQ %%DATADIR%%/HELP \
%%DATADIR%%/TUTORIAL %%DATADIR%%/dotzile.sample
PLIST_DIRS= %%DATADIR%%
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} > 502010
-GNU_REGEX_H= gnu/regex.h
-.else
-GNU_REGEX_H= gnuregex.h
-.endif
-
post-patch:
@${REINPLACE_CMD} -e \
's|<regex\.h>|<${GNU_REGEX_H}>|g ; \
s|-pedantic||g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
- 's|"regex\.h"|<${GNU_REGEX_H}>|g' ${WRKSRC}/src/search.c
+ 's|"regex\.h"|<gnu/regex.h>|g' ${WRKSRC}/src/search.c
@${REINPLACE_CMD} -e \
's|: install-exec-local|:|g' ${WRKSRC}/lib/Makefile.in
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/emulators/fceu-server/Makefile b/emulators/fceu-server/Makefile
index 4283b3747070..debfb2c7925a 100644
--- a/emulators/fceu-server/Makefile
+++ b/emulators/fceu-server/Makefile
@@ -19,12 +19,6 @@ CFLAGS+= -DSOL_TCP=6
USE_GMAKE= yes
USE_SDL= sdl
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= does not build on FreeBSD 5.X
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|/etc/fceu-standard.conf|${ETCDIR}/fceu-standard.conf|g' \
${WRKSRC}/server.cpp
@@ -37,4 +31,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/fceu-server.conf \
${ETCDIR}/fceu-standard.conf
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/emulators/generator/Makefile b/emulators/generator/Makefile
index 2df579756596..f9e3c854518c 100644
--- a/emulators/generator/Makefile
+++ b/emulators/generator/Makefile
@@ -48,13 +48,8 @@ post-patch:
. endif
.endif
-# Generator does not automatically determine the GCC version.
.if !defined(WITHOUT_OPTIMIZED_CFLAGS)
-. if ${OSVERSION} < 500035
-CONFIGURE_ARGS+=--with-gcc=2
-. elif ${OSVERSION} >= 500035
CONFIGURE_ARGS+=--with-gcc=3
-. endif
.else
CONFIGURE_ARGS+=--without-gcc
.endif
diff --git a/emulators/ines/Makefile b/emulators/ines/Makefile
index a022c1c599be..f74bde8307e0 100644
--- a/emulators/ines/Makefile
+++ b/emulators/ines/Makefile
@@ -16,6 +16,8 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@FreeBSD.org
COMMENT= Nintendo Entertainment System emlator for X
+LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
+
ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS_REASON= is an i386 binary
@@ -24,12 +26,6 @@ USE_XORG= x11 xext
NO_BUILD= yes
STRIP=
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 600000
-LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ines ${PREFIX}/bin
${MKDIR} ${DATADIR}
@@ -37,4 +33,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/CART.NES ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/*.pal ${DATADIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/emulators/linux-vmware-toolbox2/Makefile b/emulators/linux-vmware-toolbox2/Makefile
index 9320d859dc18..80720dcec2e4 100644
--- a/emulators/linux-vmware-toolbox2/Makefile
+++ b/emulators/linux-vmware-toolbox2/Makefile
@@ -34,16 +34,10 @@ NO_LATEST_LINK= yes
LINUX_FLP?= ${DISTDIR}/linux.flp
MOUNT_PT?= ${WRKDIR}/mnt
.if exists(${LINUX_FLP})
-.if ${OSVERSION} >= 500018
DEV_ATTACH= /usr/sbin/mdconfig -a -t vnode -f ${LINUX_FLP} -u ${MOUNT_DEV}
DEV_DETACH= /usr/sbin/mdconfig -d -u ${MOUNT_DEV}
MOUNT_DEV?= md0
.else
-DEV_ATTACH= /usr/sbin/vnconfig -c ${MOUNT_DEV} ${LINUX_FLP}
-DEV_DETACH= /usr/sbin/vnconfig -u ${MOUNT_DEV}
-MOUNT_DEV?= vn0
-.endif
-.else
MOUNT_DEV?= fd0
.endif
diff --git a/emulators/mame-devel/Makefile b/emulators/mame-devel/Makefile
index 8c05a0b68b11..44216629af81 100644
--- a/emulators/mame-devel/Makefile
+++ b/emulators/mame-devel/Makefile
@@ -47,13 +47,6 @@ post-install:
.include <bsd.port.pre.mk>
-# In FreeBSD 5.x fails to build due to an internal compiler error. Using the
-# version 3.4 from ports which probably fixes this error requires a hack to
-# get around bsd.gcc.mk handling, so use a higher version than in base system.
-.if ${OSVERSION} < 600000
-USE_GCC= 4.2+
-.endif
-
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile
index 8c05a0b68b11..44216629af81 100644
--- a/emulators/mame/Makefile
+++ b/emulators/mame/Makefile
@@ -47,13 +47,6 @@ post-install:
.include <bsd.port.pre.mk>
-# In FreeBSD 5.x fails to build due to an internal compiler error. Using the
-# version 3.4 from ports which probably fixes this error requires a hack to
-# get around bsd.gcc.mk handling, so use a higher version than in base system.
-.if ${OSVERSION} < 600000
-USE_GCC= 4.2+
-.endif
-
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile
index 518cd90c2728..bd4035ecd410 100644
--- a/emulators/mednafen/Makefile
+++ b/emulators/mednafen/Makefile
@@ -47,10 +47,6 @@ FLAG_NLS= true
BROKEN= does not compile on ${ARCH} due to internal compiler error
.endif
-.if ${OSVERSION} < 503000
-IGNORE= needs round(3), which appears in 5.3 or later
-.endif
-
pre-configure:
@${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g' -e \
's|/usr/local|${LOCALBASE}|g' -e 's|/usr/X11R6|${LOCALBASE}|g' \
diff --git a/emulators/mess/Makefile b/emulators/mess/Makefile
index 76f93e02f8a9..0fb4b32c41e8 100644
--- a/emulators/mess/Makefile
+++ b/emulators/mess/Makefile
@@ -25,13 +25,6 @@ SUB_FILES= ${PORTNAME} pkg-message
.include <bsd.port.pre.mk>
-# In FreeBSD 5.x fails to build due to an internal compiler error. Using the
-# version 3.4 from ports which probably fixes this error requires a hack to
-# get around bsd.gcc.mk handling, so use a higher version than in base system.
-.if ${OSVERSION} < 600000
-USE_GCC= 4.2+
-.endif
-
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
diff --git a/emulators/open-vm-tools/Makefile b/emulators/open-vm-tools/Makefile
index 81ffe77b9335..e17eb585998d 100644
--- a/emulators/open-vm-tools/Makefile
+++ b/emulators/open-vm-tools/Makefile
@@ -55,15 +55,9 @@ USE_RC_SUBR= vmware-guestd.sh vmware-kmod.sh
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 600000
-NOTON5= ""
-.else
-NOTON5= "@comment "
-.endif
+PLIST_SUB+= LIB32DIR=${LIB32DIR}
-PLIST_SUB+= NOTON5=${NOTON5} LIB32DIR=${LIB32DIR}
-
-SUB_LIST+= NOTON5=${NOTON5} LIB32DIR=${LIB32DIR}
+SUB_LIST+= LIB32DIR=${LIB32DIR}
post-patch:
.if defined(WITHOUT_X11)
@@ -78,10 +72,8 @@ post-install:
${MKDIR} ${PREFIX}/${LIB32DIR}/vmware-tools/modules/input
${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmmemctl.ko ${PREFIX}/${LIB32DIR}/vmware-tools/modules/drivers/vmmemctl.ko
${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmxnet.ko ${PREFIX}/${LIB32DIR}/vmware-tools/modules/drivers/vmxnet.ko
-.if ${OSVERSION} >= 600000
${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmhgfs.ko ${PREFIX}/${LIB32DIR}/vmware-tools/modules/drivers/vmhgfs.ko
${INSTALL_DATA} ${WRKSRC}/modules/freebsd/vmblock.ko ${PREFIX}/${LIB32DIR}/vmware-tools/modules/drivers/vmblock.ko
-.endif
@-kldxref ${PREFIX}/${LIB32DIR}/vmware-tools/modules/drivers 2>/dev/null
@${CAT} ${PKGMESSAGE}
diff --git a/emulators/open-vm-tools/files/pkg-message.in b/emulators/open-vm-tools/files/pkg-message.in
index cb7ceb70878c..ab2bf34dafe4 100644
--- a/emulators/open-vm-tools/files/pkg-message.in
+++ b/emulators/open-vm-tools/files/pkg-message.in
@@ -2,8 +2,8 @@
To run the Open Virtual Machine tools at startup, add the following
settings to your /etc/rc.conf
-%%NOTON5%%vmware_guest_vmblock_enable="YES"
-%%NOTON5%%vmware_guest_vmhgfs_enable="YES"
+vmware_guest_vmblock_enable="YES"
+vmware_guest_vmhgfs_enable="YES"
vmware_guest_vmmemctl_enable="YES"
vmware_guest_vmxnet_enable="YES"
vmware_guestd_enable="YES"
diff --git a/emulators/open-vm-tools/files/vmware-kmod.sh.in b/emulators/open-vm-tools/files/vmware-kmod.sh.in
index 6839a023b547..567910cb2ab6 100644
--- a/emulators/open-vm-tools/files/vmware-kmod.sh.in
+++ b/emulators/open-vm-tools/files/vmware-kmod.sh.in
@@ -23,16 +23,16 @@ vmware_guest_vmxnet_start()
echo 'Loading vmxnet kernel module.'
kldload %%PREFIX%%/%%LIB32DIR%%/vmware-tools/modules/drivers/vmxnet.ko >/dev/null 2>&1
}
-%%NOTON5%%vmware_guest_vmblock_start()
-%%NOTON5%%{
-%%NOTON5%% echo 'Loading vmblock kernel module.'
-%%NOTON5%% kldload %%PREFIX%%/%%LIB32DIR%%/vmware-tools/modules/drivers/vmblock.ko >/dev/null 2>&1
-%%NOTON5%%}
-%%NOTON5%%vmware_guest_vmhgfs_start()
-%%NOTON5%%{
-%%NOTON5%% echo 'Loading vmhgfs kernel module.'
-%%NOTON5%% kldload %%PREFIX%%/%%LIB32DIR%%/vmware-tools/modules/drivers/vmhgfs.ko >/dev/null 2>&1
-%%NOTON5%%}
+vmware_guest_vmblock_start()
+{
+ echo 'Loading vmblock kernel module.'
+ kldload %%PREFIX%%/%%LIB32DIR%%/vmware-tools/modules/drivers/vmblock.ko >/dev/null 2>&1
+}
+vmware_guest_vmhgfs_start()
+{
+ echo 'Loading vmhgfs kernel module.'
+ kldload %%PREFIX%%/%%LIB32DIR%%/vmware-tools/modules/drivers/vmhgfs.ko >/dev/null 2>&1
+}
# VMware kernel module: vmmemctl
name="vmware_guest_vmmemctl"
@@ -58,27 +58,27 @@ stop_cmd=":"
load_rc_config $name
[ -z "$vmware_guest_vmxnet_enable" ] && vmware_guest_vmxnet_enable="NO"
run_rc_command "$1"
-%%NOTON5%%
-%%NOTON5%%# VMware kernel module: vmblock
-%%NOTON5%%name="vmware_guest_vmblock"
-%%NOTON5%%rcvar=`set_rcvar`
-%%NOTON5%%start_precmd="${checkvm_cmd}"
-%%NOTON5%%start_cmd="vmware_guest_vmblock_start"
-%%NOTON5%%stop_precmd="${checkvm_cmd}"
-%%NOTON5%%stop_cmd=":"
-%%NOTON5%%
-%%NOTON5%%load_rc_config $name
-%%NOTON5%%[ -z "$vmware_guest_vmblock_enable" ] && vmware_guest_vmblock_enable="NO"
-%%NOTON5%%run_rc_command "$1"
-%%NOTON5%%
-%%NOTON5%%# VMware kernel module: vmhgfs
-%%NOTON5%%name="vmware_guest_vmhgfs"
-%%NOTON5%%rcvar=`set_rcvar`
-%%NOTON5%%start_precmd="${checkvm_cmd}"
-%%NOTON5%%start_cmd="vmware_guest_vmhgfs_start"
-%%NOTON5%%stop_precmd="${checkvm_cmd}"
-%%NOTON5%%stop_cmd=":"
-%%NOTON5%%
-%%NOTON5%%load_rc_config $name
-%%NOTON5%%[ -z "$vmware_guest_vmhgfs_enable" ] && vmware_guest_vmhgfs_enable="NO"
-%%NOTON5%%run_rc_command "$1"
+
+# VMware kernel module: vmblock
+name="vmware_guest_vmblock"
+rcvar=`set_rcvar`
+start_precmd="${checkvm_cmd}"
+start_cmd="vmware_guest_vmblock_start"
+stop_precmd="${checkvm_cmd}"
+stop_cmd=":"
+
+load_rc_config $name
+[ -z "$vmware_guest_vmblock_enable" ] && vmware_guest_vmblock_enable="NO"
+run_rc_command "$1"
+
+# VMware kernel module: vmhgfs
+name="vmware_guest_vmhgfs"
+rcvar=`set_rcvar`
+start_precmd="${checkvm_cmd}"
+start_cmd="vmware_guest_vmhgfs_start"
+stop_precmd="${checkvm_cmd}"
+stop_cmd=":"
+
+load_rc_config $name
+[ -z "$vmware_guest_vmhgfs_enable" ] && vmware_guest_vmhgfs_enable="NO"
+run_rc_command "$1"
diff --git a/emulators/open-vm-tools/pkg-plist b/emulators/open-vm-tools/pkg-plist
index 0e6a277f5fa3..46516fa87b73 100644
--- a/emulators/open-vm-tools/pkg-plist
+++ b/emulators/open-vm-tools/pkg-plist
@@ -7,11 +7,11 @@ etc/vmware-tools/tools.conf
%%LIB32DIR%%/libguestlib.so
%%LIB32DIR%%/libguestlib.so.0
%%LIB32DIR%%/vmware-tools/modules/drivers/linker.hints
-%%NOTON5%%%%LIB32DIR%%/vmware-tools/modules/drivers/vmblock.ko
-%%NOTON5%%%%LIB32DIR%%/vmware-tools/modules/drivers/vmhgfs.ko
+%%LIB32DIR%%/vmware-tools/modules/drivers/vmblock.ko
+%%LIB32DIR%%/vmware-tools/modules/drivers/vmhgfs.ko
%%LIB32DIR%%/vmware-tools/modules/drivers/vmmemctl.ko
%%LIB32DIR%%/vmware-tools/modules/drivers/vmxnet.ko
-%%NOTON5%%sbin/mount_vmhgfs
+sbin/mount_vmhgfs
sbin/vmware-guestd
%%X11%%bin/vmware-toolbox
%%X11%%bin/vmware-user
diff --git a/emulators/openmsx/Makefile b/emulators/openmsx/Makefile
index 15e886d31e5e..ffd59dcb8a4f 100644
--- a/emulators/openmsx/Makefile
+++ b/emulators/openmsx/Makefile
@@ -37,15 +37,4 @@ USE_SDL= sdl image
MAKE_ARGS+= INSTALL_DOC_DIR=${WRKSRC}/dummy
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000 && ${ARCH} == "amd64"
-BROKEN= internal compiler error on 5.x/amd64
-.endif
-
-post-patch:
-.if ${OSVERSION} < 503000
- @${REINPLACE_CMD} -e 's/round/rint/' ${WRKSRC}/src/Math.hh
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/emulators/pearpc/Makefile b/emulators/pearpc/Makefile
index 93b867eb4e6f..b6573c37016d 100644
--- a/emulators/pearpc/Makefile
+++ b/emulators/pearpc/Makefile
@@ -72,12 +72,6 @@ CONFIGURE_ARGS+= --enable-cpu=jitc_x86
CONFIGURE_ARGS+= --enable-cpu=generic
.endif
-.if ${OSVERSION} < 503001
-#USE_GCC= 3.4
-#CFLAGS+= -DFREEBSD_MB_SUPPORT
-BROKEN= Missing truncf()
-.endif
-
pre-everything::
.if !defined(WITH_OPTIMIZED_CFLAGS)
@${ECHO_MSG} ""
diff --git a/emulators/qemu-devel/Makefile b/emulators/qemu-devel/Makefile
index 1b5d277e3fed..bd69d30e402f 100644
--- a/emulators/qemu-devel/Makefile
+++ b/emulators/qemu-devel/Makefile
@@ -51,12 +51,6 @@ USE_GCC= 3.4
PLIST_SUB+= DYNGEN=""
.endif
-.if ${OSVERSION} < 600000
-# 5.x base gcc segfaults in target-mips/op_mem.c
-BUILD_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34
-CC= gcc34
-.endif
-
WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation
CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//}
CONFIGURE_ARGS+= --prefix=${PREFIX} --cc=${CC}
diff --git a/emulators/qemu/Makefile b/emulators/qemu/Makefile
index 2737c77ae355..8f8fd0c60447 100644
--- a/emulators/qemu/Makefile
+++ b/emulators/qemu/Makefile
@@ -39,12 +39,6 @@ OPTIONS= KQEMU "Build with (alpha!) accelerator module" Off \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-# 5.x base gcc segfaults in target-mips/op_mem.c
-BUILD_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34
-CC= gcc34
-.endif
-
WITHOUT_CPU_CFLAGS=yes #to avoid problems with register allocation
CFLAGS:= ${CFLAGS:C/-fno-tree-vrp//}
diff --git a/emulators/rtc/Makefile b/emulators/rtc/Makefile
index 2cce0c14ad19..01ef770668e1 100644
--- a/emulators/rtc/Makefile
+++ b/emulators/rtc/Makefile
@@ -34,12 +34,6 @@ SRC_BASE?= /usr/src
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500104
-PLIST_SUB+= MAKEDEV=""
-.else
-PLIST_SUB+= MAKEDEV="@comment "
-.endif
-
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= needs kernel source files
.endif
@@ -54,9 +48,6 @@ pre-install:
${MKDIR} ${KMODDIR}
post-install:
-.if ${OSVERSION} < 500104
- -mknod /dev/rtc c ${CDEV_MAJOR} 0
-.endif
${INSTALL_DATA} ${WRKSRC}/rtc.h ${PREFIX}/include/
${MKDIR} ${PREFIX}/share/examples/rtc
${INSTALL_DATA} ${WRKSRC}/test.c ${PREFIX}/share/examples/rtc/
diff --git a/emulators/rtc/pkg-plist b/emulators/rtc/pkg-plist
index fc31ceb62337..976c0201bf48 100644
--- a/emulators/rtc/pkg-plist
+++ b/emulators/rtc/pkg-plist
@@ -2,7 +2,6 @@ etc/rc.d/rtc.sh
include/rtc.h
modules/rtc.ko
%%EXAMPLESDIR%%/test.c
-%%MAKEDEV%%@exec mknod /dev/rtc c %%CDEV_MAJOR%% 0
@exec rm -f %%DEVDIR%%/rtc
@exec /usr/sbin/kldxref %D/modules
@unexec /usr/sbin/kldxref %D/modules
diff --git a/emulators/sdlmame-devel/Makefile b/emulators/sdlmame-devel/Makefile
index 8c05a0b68b11..44216629af81 100644
--- a/emulators/sdlmame-devel/Makefile
+++ b/emulators/sdlmame-devel/Makefile
@@ -47,13 +47,6 @@ post-install:
.include <bsd.port.pre.mk>
-# In FreeBSD 5.x fails to build due to an internal compiler error. Using the
-# version 3.4 from ports which probably fixes this error requires a hack to
-# get around bsd.gcc.mk handling, so use a higher version than in base system.
-.if ${OSVERSION} < 600000
-USE_GCC= 4.2+
-.endif
-
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
diff --git a/emulators/sdlmame/Makefile b/emulators/sdlmame/Makefile
index 8c05a0b68b11..44216629af81 100644
--- a/emulators/sdlmame/Makefile
+++ b/emulators/sdlmame/Makefile
@@ -47,13 +47,6 @@ post-install:
.include <bsd.port.pre.mk>
-# In FreeBSD 5.x fails to build due to an internal compiler error. Using the
-# version 3.4 from ports which probably fixes this error requires a hack to
-# get around bsd.gcc.mk handling, so use a higher version than in base system.
-.if ${OSVERSION} < 600000
-USE_GCC= 4.2+
-.endif
-
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
diff --git a/emulators/sdlmess/Makefile b/emulators/sdlmess/Makefile
index 76f93e02f8a9..0fb4b32c41e8 100644
--- a/emulators/sdlmess/Makefile
+++ b/emulators/sdlmess/Makefile
@@ -25,13 +25,6 @@ SUB_FILES= ${PORTNAME} pkg-message
.include <bsd.port.pre.mk>
-# In FreeBSD 5.x fails to build due to an internal compiler error. Using the
-# version 3.4 from ports which probably fixes this error requires a hack to
-# get around bsd.gcc.mk handling, so use a higher version than in base system.
-.if ${OSVERSION} < 600000
-USE_GCC= 4.2+
-.endif
-
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif
diff --git a/emulators/snespp/Makefile b/emulators/snespp/Makefile
index c47c31d77467..299bdd2c07e6 100644
--- a/emulators/snespp/Makefile
+++ b/emulators/snespp/Makefile
@@ -23,14 +23,8 @@ PLIST_SUB= KMODDIR="${KMODDIR}"
MAN4= snespp.4
MANCOMPRESSED= no
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= versions of FreeBSD before 6.0 are not supported
-.endif
-
do-install:
@${INSTALL_MAN} ${WRKSRC}/snespp.4 ${PREFIX}/man/man4
@${INSTALL_KLD} ${WRKSRC}/snespp.ko ${KMODDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/emulators/vgb-bin/Makefile b/emulators/vgb-bin/Makefile
index 8ccc54e62dae..04f82f08b599 100644
--- a/emulators/vgb-bin/Makefile
+++ b/emulators/vgb-bin/Makefile
@@ -18,6 +18,8 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= lioux@FreeBSD.org
COMMENT= Nintendo GameBoy(tm) emulator (closed binary version of vgb)
+LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
+
IA32_BINARY_PORT= yes
NO_BUILD= no
NO_WRKSUBDIR= no
@@ -33,14 +35,4 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/VGB.html ${PREFIX}/share/doc/vgb
.endif # !defined(NOPORTDOCS)
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 502100
-IGNORE= does not work for FreeBSD versions prior to 5.2.1R
-.endif
-
-.if ${OSVERSION} >= 600000
-LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/emulators/vgba-bin/Makefile b/emulators/vgba-bin/Makefile
index a6be23c8caaa..8428ae55e560 100644
--- a/emulators/vgba-bin/Makefile
+++ b/emulators/vgba-bin/Makefile
@@ -17,6 +17,8 @@ EXTRACT_SUFX= .tar.Z
MAINTAINER= lioux@FreeBSD.org
COMMENT= Virtual GameBoy Advance is an emulator of Nintendo GameBoy Advance(TM)
+LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
+
ONLY_FOR_ARCHS= i386
NO_BUILD= no
NO_WRKSUBDIR= no
@@ -30,14 +32,4 @@ do-install:
@${INSTALL_DATA} ${WRKSRC}/VGBA.html ${DOCSDIR}
.endif # !defined(NOPORTDOCS)
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 502100
-IGNORE= Does not work for FreeBSD versions prior to 5.2.1R
-.endif
-
-.if ${OSVERSION} >= 600000
-LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/emulators/vmware-guestd5/Makefile b/emulators/vmware-guestd5/Makefile
index 74833cd0c1b4..832f6ed0afa2 100644
--- a/emulators/vmware-guestd5/Makefile
+++ b/emulators/vmware-guestd5/Makefile
@@ -37,12 +37,8 @@ USE_ICONV= yes
USE_GETTEXT= yes
USE_XORG= x11 xsxt
USE_GNOME= glib12 gtk12
-.if (${OSVERSION} >= 600000)
LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
.else
-LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
-.endif
-.else
PLIST_SUB+= INSTALLXGTKTOOL:="@comment "
.endif
.else
@@ -63,17 +59,9 @@ MOUNT= /sbin/mount
UMOUNT= /sbin/umount
.if ${ARCH} == i386
-.if (${OSVERSION} >= 600000)
BITS?= 32-6
-.else
-BITS?= 32
-.endif
.else # ${ARCH} == amd64
-.if (${OSVERSION} >= 600000)
BITS?= 64-6
-.else
-BITS?= 64
-.endif
.endif
.if defined(VMWARE_X_PORTS)
@@ -98,21 +86,12 @@ PLIST_SUB+= VMWARE_VMMEMCTL:="@comment "
.endif
.if defined(WITH_VMWARE_VMXNET)
-.if (${OSVERSION} < 600000)
-PLIST_SUB+= VMWARE_VMXNET:=""
-.if ${BITS} == 32
-VMWARE_VMXNET_PATH= 5.3-i386/vmxnet.ko
-.else
-VMWARE_VMXNET_PATH= 5.3-amd64/vmxnet.ko
-.endif
-.else
PLIST_SUB+= VMWARE_VMXNET:=""
.if ${BITS} == 32-6
VMWARE_VMXNET_PATH= 6.0-i386/vmxnet.ko
.else
VMWARE_VMXNET_PATH= 6.0-amd64/vmxnet.ko
.endif
-.endif
.else
PLIST_SUB+= VMWARE_VMXNET:="@comment "
.endif
diff --git a/emulators/vmware-guestd6/Makefile b/emulators/vmware-guestd6/Makefile
index cda480661623..41dd2738ffbe 100644
--- a/emulators/vmware-guestd6/Makefile
+++ b/emulators/vmware-guestd6/Makefile
@@ -73,13 +73,7 @@ BITS?= 32
.else # ${ARCH} == amd64
BITS?= 64
.endif
-.if (${OSVERSION} < 530000) && (${ARCH} == i386)
-OSSFX?= -50
-.elif ${OSVERSION} < 600000
-OSSFX?=
-.else # ${OSVERSION} >= 600000
OSSFX?= -6
-.endif
.if defined(VMWARE_X_PORTS)
@@ -104,20 +98,7 @@ PLIST_SUB+= VMWARE_VMMEMCTL="@comment "
.endif
.if defined(WITH_VMWARE_VMXNET)
-.if (${OSVERSION} < 600000)
-PLIST_SUB+= VMWARE_VMXNET=""
-.if ${BITS} == 32
-.if ${OSVERSION} < 530000
-VMWARE_VMXNET_PATH= 5.0-i386/vmxnet.ko
-.else
-VMWARE_VMXNET_PATH= 5.3-i386/vmxnet.ko
-.endif
-.else
-# VMware doesn't provide 5.3-amd64/vmxnet.ko
-.undef WITH_VMWARE_VMXNET
-PLIST_SUB+= VMWARE_VMXNET="@comment "
-.endif
-.elif (${OSVERSION} >= 600000) && (${OSVERSION} < 700000)
+.if ${OSVERSION} < 700000
PLIST_SUB+= VMWARE_VMXNET=""
.if ${BITS} == 32
VMWARE_VMXNET_PATH= 6.0-i386/vmxnet.ko
diff --git a/emulators/vmware3/Makefile b/emulators/vmware3/Makefile
index 762147470990..ab08158c7a27 100644
--- a/emulators/vmware3/Makefile
+++ b/emulators/vmware3/Makefile
@@ -101,10 +101,8 @@ post-patch:
${CP} ${FILESDIR}/Makefile ${WRKSRC}
${CP} ${FILESDIR}/Makefile.vmmon ${WRKSRC}/vmmon-only/Makefile
${CP} ${FILESDIR}/Makefile.vmnet ${WRKSRC}/vmnet-only/Makefile
-.if ${OSVERSION} > 600000
cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd6-1.patch
cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd6-2.patch
-.endif
.if ${OSVERSION} > 700000
cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd7-1.patch
cd ${WRKSRC} && ${PATCH} < ${FILESDIR}/fbsd7-2.patch
diff --git a/emulators/win4bsd/Makefile b/emulators/win4bsd/Makefile
index 123268f2269e..ed69211c5439 100644
--- a/emulators/win4bsd/Makefile
+++ b/emulators/win4bsd/Makefile
@@ -16,6 +16,7 @@ EXTRACT_SUFX= .tbz
MAINTAINER= bacon@smithers.neuro.mcw.edu
COMMENT= Win4BSD Virtual Machine for Windows under BSD
+LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
RUN_DEPENDS= xwininfo:${PORTSDIR}/x11/xwininfo
CONFLICTS= Win4BSD-[0-9]*
@@ -35,10 +36,6 @@ SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
-.if ${OSVERSION} > 600000
-LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
-.endif
-
.if !exists(/usr/src/sys/kern)
IGNORE= requires system source for installing kqemu, the accelerator that provides native CPU speed in Win4BSD. Please install the system sources in /usr/src (e.g. using sysinstall), and run make again
.endif
diff --git a/emulators/x48/Makefile b/emulators/x48/Makefile
index 1d0d24c386f4..08509c503fe8 100644
--- a/emulators/x48/Makefile
+++ b/emulators/x48/Makefile
@@ -32,9 +32,7 @@ post-extract: .SILENT
post-patch:
@${REINPLACE_CMD} -e 's+rom.dump+${DATADIR}/gxrom-r+' \
${WRKSRC}/src/X48.ad
-.if ${OSVERSION} > 600004
@${REINPLACE_CMD} -e 's+cuaa+cuad+' ${WRKSRC}/src/X48.ad
-.endif
do-install:
.for p in x48 dump2rom checkrom mkcard
diff --git a/emulators/xmame/Makefile b/emulators/xmame/Makefile
index 4455c41571c8..955e1ad88c78 100644
--- a/emulators/xmame/Makefile
+++ b/emulators/xmame/Makefile
@@ -111,10 +111,6 @@ ALLDOCS= ${GENERALDOCS} ${XMESSDOCS}
#
.include <bsd.port.pre.mk>
-.if (${OSVERSION} < 600000 && ${MAMEMESS} == "mess")
-BROKEN= internal gcc error on FreeBSD < 6.x
-.endif
-
.if defined(WITH_ASM68K)
ASM_COMMENT=
.else
diff --git a/french/aster/Makefile b/french/aster/Makefile
index 73c92b10fb6b..69e03a9a91e5 100644
--- a/french/aster/Makefile
+++ b/french/aster/Makefile
@@ -79,9 +79,6 @@ FFLAGARCH= -fdefault-integer-8 -fdefault-real-8
.if ${OSVERSION} < 700000
BROKEN= does not install
.endif
-.if ${OSVERSION} < 600022
-BROKEN= Does not compile on this version, and cannot be patched easily.
-.endif
#.if ${ARCH} != "i386"
#BROKEN= Seg. fault on ${ARCH} during compilation of elements.
#.endif
diff --git a/ftp/bsdftpd-ssl/Makefile b/ftp/bsdftpd-ssl/Makefile
index 3d8a44b9ffef..53042f104f04 100644
--- a/ftp/bsdftpd-ssl/Makefile
+++ b/ftp/bsdftpd-ssl/Makefile
@@ -35,12 +35,7 @@ MAN8= ftpd.8
MLINKS= ftpd.8 ftpd-ssl.8 ftpchroot.5 ftpchroot-ssl.5
PKGMESSAGE= ${WRKDIR}/pkg-message
SED_ARG= 's|%%PREFIX%%|${PREFIX}|g; s|%%DOCSDIR%%|${DOCSDIR}|g; s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g; s|%%RC_SUBR%%|${RC_SUBR}|g'
-. if ${OSVERSION} >= 503001
-# FreeBSD >= 5.3
USE_RC_SUBR= yes
-. else
-PLIST= ${FILESDIR}/pkg-plist.server.compat
-. endif
.endif
MANCOMPRESSED= yes
@@ -67,16 +62,10 @@ do-build:
# Server part
.if !defined(CLIENT_ONLY)
(cd ${WRKSRC}/ftpd && make) || exit
-. if ${OSVERSION} >= 503001
-# FreeBSD >= 5.3
@${SED} ${SED_ARG} ${FILESDIR}/pkg-message.server > \
${WRKDIR}/pkg-message
@${SED} ${SED_ARG} ${FILESDIR}/bsdftpd_ssl.sh > \
${WRKDIR}/bsdftpd_ssl.sh
-. else
- @${SED} ${SED_ARG} ${FILESDIR}/pkg-message.server.compat > \
- ${WRKDIR}/pkg-message
-. endif
.endif
do-install:
@@ -116,8 +105,6 @@ post-install:
${INSTALL_SCRIPT} -p ${WRKSRC}/cert/xCA.sh ${DOCDIR}/cert/xCA.sh
.endif
.if !defined(CLIENT_ONLY)
-. if ${OSVERSION} >= 503001
-# FreeBSD >= 5.3
${MKDIR} ${EXAMPLESDIR}
${MKDIR} ${EXAMPLESDIR}/rc.conf.d
${INSTALL_DATA} -p ${FILESDIR}/README.examples ${EXAMPLESDIR}/README
@@ -125,9 +112,6 @@ post-install:
${INSTALL_DATA} -p ${FILESDIR}/ftpusers ${EXAMPLESDIR}/ftpusers
${INSTALL_DATA} -p ${FILESDIR}/rc_conf_d.bsdftpd_ssl ${EXAMPLESDIR}/rc.conf.d/bsdftpd_ssl
${INSTALL_SCRIPT} ${WRKDIR}/bsdftpd_ssl.sh ${PREFIX}/etc/rc.d/bsdftpd_ssl.sh
-. else
- ${INSTALL_SCRIPT} ${FILESDIR}/bsdftpd_ssl.sh.compat ${PREFIX}/etc/rc.d/bsdftpd_ssl.sh.sample
-. endif
@${ECHO_CMD} "*******************************************************************************"
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD} "*******************************************************************************"
diff --git a/ftp/bsdftpd-ssl/files/bsdftpd_ssl.sh.compat b/ftp/bsdftpd-ssl/files/bsdftpd_ssl.sh.compat
deleted file mode 100644
index 94f75034ee6d..000000000000
--- a/ftp/bsdftpd-ssl/files/bsdftpd_ssl.sh.compat
+++ /dev/null
@@ -1,48 +0,0 @@
-#!/bin/sh
-
-# This is the startup script that runs bsdftpd-ssl FTP server in FreeBSD 4.x.
-
-# Set the value to "YES" to make this script actually do something.
-ENABLE="NO"
-
-# Add extra options here for the FTP server.
-# See ftpd-ssl(8) for more details.
-EXTRAOPTS="-l"
-
-# You shouldn't edit anything below...
-case ${ENABLE} in
- [Yy][Ee][Ss])
- ;;
- *)
- exit 0
- ;;
-esac
-
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
- echo "$0: Cannot determine the PREFIX" >&2
- exit 1
-fi
-
-case "$1" in
-start)
- if [ -x ${PREFIX}/libexec/ftpd ]; then
- ${PREFIX}/libexec/ftpd -D -p /var/run/ftpd.pid ${EXTRAOPTS} > /dev/null
- echo -n ' BSDftpd-ssl'
- fi
- ;;
-stop)
- if [ -r /var/run/ftpd.pid ]; then
- kill -TERM `cat /var/run/ftpd.pid`
- rm -f /var/run/ftpd.pid
- echo -n ' BSDftpd-ssl'
- fi
- ;;
-*)
- echo ""
- echo "Usage: `basename $0` { start | stop }"
- echo ""
- exit 1
- ;;
-esac
-
-exit 0
diff --git a/ftp/bsdftpd-ssl/files/pkg-message.server.compat b/ftp/bsdftpd-ssl/files/pkg-message.server.compat
deleted file mode 100644
index 8637a1fbc643..000000000000
--- a/ftp/bsdftpd-ssl/files/pkg-message.server.compat
+++ /dev/null
@@ -1,14 +0,0 @@
-=============================================================================
-You will also need to read "Configuration" and "Supplement information" parts
-of %%DOCSDIR%%/INSTALL file from the package documentation
-for the subsequent configuration steps:
- 1. Create the server certificate
- 2. Edit PAM configuration
- 3. Start the FTP server
-
-If you want to run the FTP server in the daemon mode, you can copy the sample
-start-up script %%PREFIX%%/etc/rc.d/bsdftpd_ssl.sh.sample to
-%%PREFIX%%/etc/rc.d/bsdftpd_ssl.sh.
-
-Please note: the manual page for the FTP server is available as ftpd-ssl(8).
-=============================================================================
diff --git a/ftp/bsdftpd-ssl/files/pkg-plist.server.compat b/ftp/bsdftpd-ssl/files/pkg-plist.server.compat
deleted file mode 100644
index 71c4aff5a04d..000000000000
--- a/ftp/bsdftpd-ssl/files/pkg-plist.server.compat
+++ /dev/null
@@ -1,22 +0,0 @@
-bin/ftps
-etc/rc.d/bsdftpd_ssl.sh.sample
-libexec/ftpd
-%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/INSTALL
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/cert/cert-nopass.sh
-%%PORTDOCS%%%%DOCSDIR%%/cert/cert-pass.sh
-%%PORTDOCS%%%%DOCSDIR%%/cert/cert-dummy.sh
-%%PORTDOCS%%%%DOCSDIR%%/cert/xCA.sh
-%%PORTDOCS%%%%DOCSDIR%%/docs/README
-%%PORTDOCS%%%%DOCSDIR%%/docs/cert-basics.txt
-%%PORTDOCS%%%%DOCSDIR%%/docs/cert-howto.txt
-%%PORTDOCS%%%%DOCSDIR%%/docs/ciphers.txt
-%%PORTDOCS%%%%DOCSDIR%%/docs/licenses
-%%PORTDOCS%%%%DOCSDIR%%/docs/standards.txt
-%%PORTDOCS%%%%DOCSDIR%%/docs/verify.txt
-%%PORTDOCS%%%%DOCSDIR%%/docs/x509_auth.txt
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/cert
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
diff --git a/ftp/ftp-proxy/Makefile b/ftp/ftp-proxy/Makefile
index f9d691561ea2..276d829fae65 100644
--- a/ftp/ftp-proxy/Makefile
+++ b/ftp/ftp-proxy/Makefile
@@ -30,10 +30,6 @@ CFLAGS+= -I${LOCALBASE}/include
IGNORE= is a part of base for 7.0 and above
.endif
-.if ${OSVERSION} < 502106
-IGNORE= only for 5.3 and above
-.endif
-
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ftp-proxy ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/ftp-proxy.8.gz ${PREFIX}/man/man8
diff --git a/ftp/ftpsesame/Makefile b/ftp/ftpsesame/Makefile
index 6a5c0f7d476e..074f06febc8c 100644
--- a/ftp/ftpsesame/Makefile
+++ b/ftp/ftpsesame/Makefile
@@ -21,10 +21,4 @@ USE_RC_SUBR= ftpsesame.sh
MAKE_ARGS= PREFIX=${PREFIX} MANPREFIX=${MANPREFIX}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600034
-IGNORE= need BIOCLOCK and BIOCSETWF ioctls (FreeBSD 6.0+)
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/ftp/ncftpd/Makefile b/ftp/ncftpd/Makefile
index a7c17a65cd53..b586018764d0 100644
--- a/ftp/ncftpd/Makefile
+++ b/ftp/ncftpd/Makefile
@@ -32,10 +32,8 @@ PORTDOCS= install.html README README.freebsd LICENSE
.if ${OSVERSION} >= 700000
BINVER= 7.0
-.elif ${OSVERSION} >= 600000
-BINVER= 6.0
.else
-BROKEN= FreeBSD version too old
+BINVER= 6.0
.endif
.if ${ARCH} == amd64
diff --git a/ftp/pftpx/Makefile b/ftp/pftpx/Makefile
index 8652223ddcdb..457f90c732f1 100644
--- a/ftp/pftpx/Makefile
+++ b/ftp/pftpx/Makefile
@@ -21,23 +21,11 @@ MAN8= pftpx.8
PLIST_FILES= sbin/pftpx
USE_RC_SUBR= pftpx
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 502116
-MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=34
-.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes")
-CFLAGS+= -DHAVE_ALTQ=1
-.endif
-.elif ${OSVERSION} < 600025
-MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=35
-CFLAGS+= -DHAVE_ALTQ=1 -DHAVE_RULE_ANCHOR=1
-.else
MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=37
CFLAGS+= -DHAVE_ALTQ=1
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pftpx ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/pftpx.8 ${PREFIX}/man/man8
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/ftp/profxp/Makefile b/ftp/profxp/Makefile
index 90d36e2bd9bf..721c373a603f 100644
--- a/ftp/profxp/Makefile
+++ b/ftp/profxp/Makefile
@@ -17,18 +17,11 @@ COMMENT= FXP (server-to-server FTP) client
USE_PERL5= yes
-.include <bsd.port.pre.mk>
-
RUN_DEPENDS= ${PERL_SITELIBDIR}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes \
${PERL_SITELIBDIR}/Net/SOCKS.pm:${PORTSDIR}/net/p5-Socks \
${PERL_SITELIBDIR}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \
${PERL_SITELIBDIR}/Term/ReadLine/Perl.pm:${PORTSDIR}/devel/p5-ReadLine-Perl
-# perl 5.6.0
-.if ${OSVERSION} < 500007
-RUN_DEPENDS+= ${PERL_SITELIBDIR}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor
-.endif
-
PERL_SITELIBDIR= ${SITE_PERL}
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
@@ -40,4 +33,4 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/profxpv3.pl ${PREFIX}/bin/profxp
${CP} -R ${WRKSRC}/profxp ${SITE_PERL}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>