aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2009-01-06 17:59:31 +0000
committerPav Lucistnik <pav@FreeBSD.org>2009-01-06 17:59:31 +0000
commitb2a96c6df1c8809216eced623ec37a8372b3216e (patch)
tree0c994bc87e8a2f221a7e2be76b9aafc16eab32bb /sysutils
parent87b685f5d4325ba771e96b0ef49c71f903fb3ae0 (diff)
downloadports-b2a96c6df1c8809216eced623ec37a8372b3216e.tar.gz
ports-b2a96c6df1c8809216eced623ec37a8372b3216e.zip
- Remove conditional checks for FreeBSD 5.x and older
Notes
Notes: svn path=/head/; revision=225335
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/3dm/Makefile4
-rw-r--r--sysutils/aaccli/Makefile10
-rw-r--r--sysutils/arcconf/Makefile10
-rw-r--r--sysutils/arcconf/distinfo3
-rw-r--r--sysutils/archivemount/Makefile8
-rw-r--r--sysutils/ataidle/Makefile8
-rw-r--r--sysutils/avfs/Makefile4
-rw-r--r--sysutils/bacula-server-devel/Makefile7
-rw-r--r--sysutils/bacula-server/Makefile7
-rw-r--r--sysutils/battmond/Makefile8
-rw-r--r--sysutils/binup/Makefile2
-rw-r--r--sysutils/bsdstats/Makefile8
-rw-r--r--sysutils/cdrtools/Makefile4
-rw-r--r--sysutils/condor/Makefile4
-rw-r--r--sysutils/daemontools/Makefile9
-rw-r--r--sysutils/desktopbsd-tools/Makefile8
-rw-r--r--sysutils/djmount/Makefile8
-rw-r--r--sysutils/ezjail/Makefile8
-rw-r--r--sysutils/fdupes/Makefile8
-rw-r--r--sysutils/flexbackup/Makefile16
-rw-r--r--sysutils/freeipmi/Makefile4
-rw-r--r--sysutils/freesbie/Makefile8
-rw-r--r--sysutils/fusefs-chironfs/Makefile8
-rw-r--r--sysutils/fusefs-curlftpfs/Makefile8
-rw-r--r--sysutils/fusefs-funionfs/Makefile8
-rw-r--r--sysutils/fusefs-gunzip/Makefile8
-rw-r--r--sysutils/fusefs-httpfs/Makefile8
-rw-r--r--sysutils/fusefs-kmod/Makefile4
-rw-r--r--sysutils/fusefs-libs/Makefile8
-rw-r--r--sysutils/fusefs-ntfs/Makefile4
-rw-r--r--sysutils/fusefs-smbnetfs/Makefile8
-rw-r--r--sysutils/fusefs-sqlfs/Makefile4
-rw-r--r--sysutils/fusefs-sshfs/Makefile8
-rw-r--r--sysutils/fusefs-unionfs/Makefile8
-rw-r--r--sysutils/fusefs-wdfs/Makefile8
-rw-r--r--sysutils/fusefs-wikipediafs/Makefile8
-rw-r--r--sysutils/fuser/Makefile4
-rw-r--r--sysutils/gkrellm2/Makefile9
-rw-r--r--sysutils/gpte/Makefile8
-rw-r--r--sysutils/hal/Makefile4
-rw-r--r--sysutils/hdup/Makefile2
-rw-r--r--sysutils/hourglass/Makefile6
-rw-r--r--sysutils/ipmi-kmod/Makefile7
-rw-r--r--sysutils/lsof/Makefile24
-rw-r--r--sysutils/ltrace/Makefile8
-rw-r--r--sysutils/mono-kmod/Makefile4
-rw-r--r--sysutils/p5-BSD-Jail-Object/Makefile8
-rw-r--r--sysutils/p5-Fuse-Simple/Makefile4
-rw-r--r--sysutils/p5-Fuse/Makefile8
-rw-r--r--sysutils/pecl-fileinfo/Makefile13
-rw-r--r--sysutils/pflogx/Makefile4
-rw-r--r--sysutils/pfstat/Makefile4
-rw-r--r--sysutils/pftop/Makefile14
-rw-r--r--sysutils/pmap/Makefile4
-rw-r--r--sysutils/progsreiserfs/Makefile12
-rw-r--r--sysutils/psgconf/Makefile7
-rw-r--r--sysutils/pstack/Makefile6
-rw-r--r--sysutils/rfstool/Makefile8
-rw-r--r--sysutils/sfdisk/Makefile4
-rw-r--r--sysutils/sge60/Makefile4
-rw-r--r--sysutils/vobcopy/Makefile2
-rw-r--r--sysutils/watchdog/Makefile11
-rw-r--r--sysutils/whowatch/Makefile14
-rw-r--r--sysutils/xsi/Makefile8
-rw-r--r--sysutils/yawho/Makefile10
65 files changed, 53 insertions, 424 deletions
diff --git a/sysutils/3dm/Makefile b/sysutils/3dm/Makefile
index 0fa7f247eeed..dbf2c54cc4d7 100644
--- a/sysutils/3dm/Makefile
+++ b/sysutils/3dm/Makefile
@@ -21,10 +21,6 @@ USE_RC_SUBR= 3dm2.sh
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 504000
-IGNORE= is not supported in versions earlier than 5.4-RELEASE
-.endif
-
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
WRKSRC= ${WRKDIR}
diff --git a/sysutils/aaccli/Makefile b/sysutils/aaccli/Makefile
index 0518046353e4..ee89d82e088a 100644
--- a/sysutils/aaccli/Makefile
+++ b/sysutils/aaccli/Makefile
@@ -26,13 +26,7 @@ MD5_FILE= ${MASTERDIR}/distinfo.i386
NO_BUILD= yes
NO_WRKSUBDIR= yes
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 600000
-IGNORE_POST_INSTALL= I
-.endif
-
do-install:
- ${PKG_ADD} -R${IGNORE_POST_INSTALL} ${WRKSRC}/${PKGNAME}_${PORTREVISION}.tgz
+ ${PKG_ADD} -RI ${WRKSRC}/${PKGNAME}_${PORTREVISION}.tgz
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/arcconf/Makefile b/sysutils/arcconf/Makefile
index 9f22ce1b5ce4..c32b6e244951 100644
--- a/sysutils/arcconf/Makefile
+++ b/sysutils/arcconf/Makefile
@@ -26,21 +26,11 @@ PLIST_FILES= sbin/arcconf
LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
.endif
-.if ${OSVERSION} >= 600000
.if ${ARCH} == amd64
DIST_EXT= 6_x64
.else
DIST_EXT= 6_x86
.endif
-.endif
-
-.if ${OSVERSION} < 600000
-.if ${ARCH} == "i386"
-DIST_EXT= 5_x86
-.else
-IGNORE= combination OS/ARCH not supported
-.endif
-.endif
NO_BUILD= yes
NO_WRKSUBDIR= yes
diff --git a/sysutils/arcconf/distinfo b/sysutils/arcconf/distinfo
index 1f07d0b7c745..4582861b8aee 100644
--- a/sysutils/arcconf/distinfo
+++ b/sysutils/arcconf/distinfo
@@ -4,6 +4,3 @@ SIZE (cli_freebsd6_x64_v5_30_17509.tar.gz) = 726757
MD5 (cli_freebsd6_x86_v5_30_17509.tar.gz) = dcf16294f5c96c5769df5629d4bee5a0
SHA256 (cli_freebsd6_x86_v5_30_17509.tar.gz) = f82d1f180e82b72c3c38857be393580d71257a3189fecc28bdffb7f12194b612
SIZE (cli_freebsd6_x86_v5_30_17509.tar.gz) = 682641
-MD5 (cli_freebsd5_x86_v5_30_17509.tar.gz) = 5be1c4ab1742459637d9bfa3f5d7ac61
-SHA256 (cli_freebsd5_x86_v5_30_17509.tar.gz) = 19320b1b4a22c52a5f8ef2f3ced367bc80e11978f8ae457b69b89ce4a7c4be5f
-SIZE (cli_freebsd5_x86_v5_30_17509.tar.gz) = 682674
diff --git a/sysutils/archivemount/Makefile b/sysutils/archivemount/Makefile
index e1b398bee441..d6b76d133fd6 100644
--- a/sysutils/archivemount/Makefile
+++ b/sysutils/archivemount/Makefile
@@ -26,10 +26,4 @@ USE_GCC= 4.2+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/archivemount ${PREFIX}/bin
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000 # Inherited from fusefs-kmod
-IGNORE= requires FreeBSD 6.x or above
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/ataidle/Makefile b/sysutils/ataidle/Makefile
index 7ba816942c73..d0517e1fe79e 100644
--- a/sysutils/ataidle/Makefile
+++ b/sysutils/ataidle/Makefile
@@ -29,10 +29,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600034
-IGNORE= requires FreeBSD 6.1 or newer
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/avfs/Makefile b/sysutils/avfs/Makefile
index d346a9bbc010..a17e470ec7f1 100644
--- a/sysutils/avfs/Makefile
+++ b/sysutils/avfs/Makefile
@@ -55,8 +55,4 @@ CONFIGURE_ARGS+= --disable-fuse
PLIST_SUB+= FUSE="@comment "
.endif
-.if ${OSVERSION} < 600000 # Inherited from fusefs-kmod
-IGNORE= requires FreeBSD 6.x or above
-.endif
-
.include <bsd.port.post.mk>
diff --git a/sysutils/bacula-server-devel/Makefile b/sysutils/bacula-server-devel/Makefile
index bc1b27733128..70e55d371e13 100644
--- a/sysutils/bacula-server-devel/Makefile
+++ b/sysutils/bacula-server-devel/Makefile
@@ -170,13 +170,6 @@ MAKE_ENV+= MAN8="${MAN8}" MAN1="${MAN1}"
pre-everything::
.if !defined(WITH_CLIENT_ONLY)
-.if ${OSVERSION} < 502101
- @${ECHO_MSG} "=======> ATTENTION <======="
- @${ECHO_MSG} "===> Note that there is a pthreads problem, which leads to the loss of 500kB"
- @${ECHO_MSG} "===> of data at the end of an tape. This is corrected in newer versions of FreeBSD"
- @${ECHO_MSG} "===> READ ${WRKSRC}/platforms/freebsd/pthreads-fix.txt"
- @${ECHO_MSG} ""
-.endif
@${ECHO_MSG} "You may use the following build options (or make config):"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITH_CLIENT_ONLY=yes if you only want the file daemon."
diff --git a/sysutils/bacula-server/Makefile b/sysutils/bacula-server/Makefile
index 26ab85db6363..815178aa2f82 100644
--- a/sysutils/bacula-server/Makefile
+++ b/sysutils/bacula-server/Makefile
@@ -191,13 +191,6 @@ MAKE_ENV+= MAN8="${MAN8}" MAN1="${MAN1}"
pre-everything::
.if !defined(WITH_CLIENT_ONLY)
-.if ${OSVERSION} < 502101
- @${ECHO_MSG} "=======> ATTENTION <======="
- @${ECHO_MSG} "===> Note that there is a pthreads problem, which leads to the loss of 500kB"
- @${ECHO_MSG} "===> of data at the end of an tape. This is corrected in newer versions of FreeBSD"
- @${ECHO_MSG} "===> READ ${WRKSRC}/platforms/freebsd/pthreads-fix.txt"
- @${ECHO_MSG} ""
-.endif
@${ECHO_MSG} "You may use the following build options (or make config):"
@${ECHO_MSG} ""
@${ECHO_MSG} " WITH_CLIENT_ONLY=yes if you only want the file daemon."
diff --git a/sysutils/battmond/Makefile b/sysutils/battmond/Makefile
index f0d7e4a872b2..e61d583895ff 100644
--- a/sysutils/battmond/Makefile
+++ b/sysutils/battmond/Makefile
@@ -19,10 +19,4 @@ MANCOMPRESSED= yes
PLIST_FILES= sbin/battmond \
etc/rc.d/battmond
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= requires ACPI features present in FreeBSD 6.X and newer
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/binup/Makefile b/sysutils/binup/Makefile
index 6c80732e5acf..05951b172ed7 100644
--- a/sysutils/binup/Makefile
+++ b/sysutils/binup/Makefile
@@ -24,7 +24,7 @@ PLIST_DIRS= libexec/binup
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 502010 || ${OSVERSION} >= 700000
+.if ${OSVERSION} >= 700000
IGNORE= does not support ${OPSYS}-${OSREL} at this time
.endif
diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile
index d989b5a6cbea..9a11bc289077 100644
--- a/sysutils/bsdstats/Makefile
+++ b/sysutils/bsdstats/Makefile
@@ -14,12 +14,6 @@ DISTFILES=
MAINTAINER= scrappy@freebsd.org
COMMENT= Monthly script for reporting anonymous statistics about your machine
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 503102 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600010)
-RUN_DEPENDS= nc:${PORTSDIR}/net/netcat
-.endif
-
NO_BUILD= yes
do-install:
@@ -39,4 +33,4 @@ post-install:
@PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index 093060ee033b..6a5f4a37a452 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -51,10 +51,6 @@ CCOM!= ${BASENAME} ${CC}
MAKE_ENV= CCOM=${CCOM} LANG=C
CDRTLSTARGET= ${ARCH}-freebsd-${CCOM}
-.if ${OSVERSION} >= 501104 && ${OSVERSION} < 502113
-IGNORE= The mlockall(2) of your FreeBSD 5.x version causes problems when used by cdrecord. Please update FreeBSD to >= 5.3 in order to use this port
-.endif
-
pre-everything::
.if !defined(WITH_RSCSI)
@${ECHO_MSG} ""
diff --git a/sysutils/condor/Makefile b/sysutils/condor/Makefile
index a51bb6b30021..2055915f2bef 100644
--- a/sysutils/condor/Makefile
+++ b/sysutils/condor/Makefile
@@ -29,10 +29,6 @@ USE_PERL5_BUILD= yes
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-BROKEN= Does not compile
-.endif
-
.if ${ARCH} == "amd64" && ${OSVERSION} >= 700000
BROKEN= Does not compile
.endif
diff --git a/sysutils/daemontools/Makefile b/sysutils/daemontools/Makefile
index 3ba9e0e0c413..182c6ded4ad5 100644
--- a/sysutils/daemontools/Makefile
+++ b/sysutils/daemontools/Makefile
@@ -41,7 +41,8 @@ PATCH_DIST_STRIP= -p2
.endif
USE_RC_SUBR= yes
-RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} SERVICEDIR=${SERVICEDIR}
+RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR} SERVICEDIR=${SERVICEDIR} \
+ DAEMON="/usr/sbin/daemon -f"
WRKSRC= ${WRKDIR}/admin/${DISTNAME}/src
@@ -53,12 +54,6 @@ SERVICEDIR?= /var/service
STARTUP_SCRIPT?= ${SAMPLERC:S/.sample//}
PLIST_SUB+= STARTUP_SCRIPT="${STARTUP_SCRIPT}"
-.if ${OSVERSION} >= 500023
-RC_SCRIPTS_SUB+= DAEMON="/usr/sbin/daemon -f"
-.else
-RC_SCRIPTS_SUB+= DAEMON=""
-.endif
-
.if defined(WITHOUT_TESTS)
EXTRA_PATCHES+= ${FILESDIR}/rts-skip.patch
.endif
diff --git a/sysutils/desktopbsd-tools/Makefile b/sysutils/desktopbsd-tools/Makefile
index 60a97a08a8b5..c1176ec94489 100644
--- a/sysutils/desktopbsd-tools/Makefile
+++ b/sysutils/desktopbsd-tools/Makefile
@@ -34,18 +34,10 @@ DATADIR= ${PREFIX}/share/desktopbsd
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600007
-IGNORE= requires FreeBSD 6 or newer
-.endif
-
.if ${OSVERSION} < 601101 || ( ${OSVERSION} >= 700000 && ${OSVERSION} < 700015 )
RUN_DEPENDS+= csup:${PORTSDIR}/net/csup
.endif
-.if ${OSVERSION} >= 600000 && ${OSVERSION} < 600033
-RUN_DEPENDS+= portsnap:${PORTSDIR}/ports-mgmt/portsnap
-.endif
-
post-patch:
@${REINPLACE_CMD} -e \
"/Installation/d; /Documentation/d; /InitialConf/d" \
diff --git a/sysutils/djmount/Makefile b/sysutils/djmount/Makefile
index 5bd801c3afd4..9c1c183e2aff 100644
--- a/sysutils/djmount/Makefile
+++ b/sysutils/djmount/Makefile
@@ -27,16 +27,10 @@ CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \
PORTDOCS= AUTHORS ChangeLog NEWS README TODO
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
post-install:
.ifndef NOPORTDOCS
@${INSTALL} -d ${DOCSDIR}/
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/ezjail/Makefile b/sysutils/ezjail/Makefile
index 299be3059d28..d3ce2c2022fd 100644
--- a/sysutils/ezjail/Makefile
+++ b/sysutils/ezjail/Makefile
@@ -18,10 +18,4 @@ USE_BZIP2= yes
MAN1= ezjail-admin.1
MAN5= ezjail.5 ezjail.conf.5
-.include <bsd.port.pre.mk>
-
-.if ( ${OSVERSION} < 600000 )
-IGNORE= nullfs in FreeBSD releases before 6.0 is considered unstable
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/fdupes/Makefile b/sysutils/fdupes/Makefile
index 1b7d69f89cd0..0d0b8950ba90 100644
--- a/sysutils/fdupes/Makefile
+++ b/sysutils/fdupes/Makefile
@@ -19,12 +19,6 @@ PLIST_FILES= bin/fdupes
CFLAGS+= -DVERSION=\"${PORTVERSION}\"
-.include <bsd.port.pre.mk>
-
-.if (${OSVERSION} < 500041)
-CFLAGS+= -DOMIT_GETOPT_LONG=yes
-.endif
-
do-build:
${CC} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c ${WRKSRC}/md5/md5.c \
-o ${WRKSRC}/${PORTNAME}
@@ -33,4 +27,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/flexbackup/Makefile b/sysutils/flexbackup/Makefile
index c94da0f8ff22..bc48c82f511d 100644
--- a/sysutils/flexbackup/Makefile
+++ b/sysutils/flexbackup/Makefile
@@ -15,6 +15,11 @@ MASTER_SITES= http://www.edwinh.org/flexbackup/tarball/ \
MAINTAINER= mva@sysfault.org
COMMENT= Perl-based flexible backup system that can use dump/afio/cpio/tar/star
+# FreeBSD 6.0 removed gtar
+RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
+
+TAR_CMD= ${PREFIX}/bin/gtar
+
MAKE_ARGS= PERLPATH=${PERL} CONFFILE=${PREFIX}/etc/flexbackup.conf
USE_PERL5= yes
@@ -29,17 +34,6 @@ OPTIONS= AFIO "Enable afio support" Off \
.include <bsd.port.pre.mk>
-# Releases previous to 5.3 do not need a special gtar handling as GNU tar
-# is the default here. >= 503001 to < 60022 have GNU tar renamed to gtar
-# under circumstances, thus rely on gtar here. 600022 removed gtar.
-TAR_CMD= /usr/bin/tar
-.if ${OSVERSION} >= 600022
-RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar
-TAR_CMD= ${PREFIX}/bin/gtar
-.elif ${OSVERSION} >= 503001 && ${OSVERSION} < 600022
-TAR_CMD= /usr/bin/gtar
-.endif
-
.if defined(WITH_AFIO)
RUN_DEPENDS+= afio:${PORTSDIR}/sysutils/afio
.endif
diff --git a/sysutils/freeipmi/Makefile b/sysutils/freeipmi/Makefile
index 496a3e4e737e..89c1342e781e 100644
--- a/sysutils/freeipmi/Makefile
+++ b/sysutils/freeipmi/Makefile
@@ -69,10 +69,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 500112
-BROKEN= missing getpw*_r functions in this FreeBSD release
-.endif
-
.if defined(WITH_IOPERM)
.if ${ARCH} == "i386"
CPPFLAGS+= -DUSE_IOPERM
diff --git a/sysutils/freesbie/Makefile b/sysutils/freesbie/Makefile
index 3eb37265cfee..3cd9fce17d00 100644
--- a/sysutils/freesbie/Makefile
+++ b/sysutils/freesbie/Makefile
@@ -21,15 +21,9 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/${PORTNAME}2
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 504000
-IGNORE= earlier FreeBSD versions then 5.4-RELEASE are not supported
-.endif
-
do-install:
@ ${MKDIR} ${DATADIR}
@ cd ${WRKSRC} && ${FIND} . -type f -print | tar -cf - -T - | \
tar -xf - -C ${DATADIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/fusefs-chironfs/Makefile b/sysutils/fusefs-chironfs/Makefile
index 7379d5d4c846..7027ab674f10 100644
--- a/sysutils/fusefs-chironfs/Makefile
+++ b/sysutils/fusefs-chironfs/Makefile
@@ -30,10 +30,4 @@ post-patch:
@${REINPLACE_CMD} -e 's, doc , ,' ${WRKSRC}/Makefile.in
.endif
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000 # Inherited from sysutils/fusefs-kmod
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/fusefs-curlftpfs/Makefile b/sysutils/fusefs-curlftpfs/Makefile
index 235e36c94466..b1e3953e7987 100644
--- a/sysutils/fusefs-curlftpfs/Makefile
+++ b/sysutils/fusefs-curlftpfs/Makefile
@@ -25,10 +25,4 @@ USE_GNOME= glib20
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/curlftpfs
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/fusefs-funionfs/Makefile b/sysutils/fusefs-funionfs/Makefile
index 8eebdda6c71d..a8730094d5f9 100644
--- a/sysutils/fusefs-funionfs/Makefile
+++ b/sysutils/fusefs-funionfs/Makefile
@@ -24,10 +24,4 @@ GNU_CONFIGURE= yes
MAN1= funionfs.1
PLIST_FILES= bin/funionfs
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000 # Inherited from fusefs-kmod
-IGNORE= requires FreeBSD 6.x or above
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/fusefs-gunzip/Makefile b/sysutils/fusefs-gunzip/Makefile
index 55c83fba4723..091f5f642b20 100644
--- a/sysutils/fusefs-gunzip/Makefile
+++ b/sysutils/fusefs-gunzip/Makefile
@@ -32,10 +32,4 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/fuse.gunzip ${PREFIX}/bin
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000 # Inherited from fusefs-kmod
-IGNORE= requires FreeBSD 6.x or above
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/fusefs-httpfs/Makefile b/sysutils/fusefs-httpfs/Makefile
index b05e7a1bf7a9..2ef3a86eeee4 100644
--- a/sysutils/fusefs-httpfs/Makefile
+++ b/sysutils/fusefs-httpfs/Makefile
@@ -32,10 +32,4 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/httpfs ${PREFIX}/bin
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000 # Inherited from sysutils/fusefs-kmod
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/fusefs-kmod/Makefile b/sysutils/fusefs-kmod/Makefile
index ea21b42314e0..5c774ca5eea1 100644
--- a/sysutils/fusefs-kmod/Makefile
+++ b/sysutils/fusefs-kmod/Makefile
@@ -58,10 +58,6 @@ OPTIONS= AUTOSETUP "Automatic global config file setup" off
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-IGNORE= requires FreeBSD 6 or above. Please consider porting it to 5.x or even 4.x
-.endif
-
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= requires the Kernel source to be installed. Set SRC_BASE if it is not in /usr/src
.endif
diff --git a/sysutils/fusefs-libs/Makefile b/sysutils/fusefs-libs/Makefile
index 6a683c26957c..579fde361dd9 100644
--- a/sysutils/fusefs-libs/Makefile
+++ b/sysutils/fusefs-libs/Makefile
@@ -26,12 +26,6 @@ CONFIGURE_ARGS= --disable-kernel-module --prefix=${PREFIX} \
TXT_DOCS= how-fuse-works \
kernel.txt
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's,-lpthread,${PTHREAD_LIBS},' \
-e 's,-D_FILE_OFFSET_BITS=64,-D_FILE_OFFSET_BITS=64 ${PTHREAD_CFLAGS},' \
@@ -50,4 +44,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/fusefs-ntfs/Makefile b/sysutils/fusefs-ntfs/Makefile
index 8ab4dc04f90a..ed04f2f5366f 100644
--- a/sysutils/fusefs-ntfs/Makefile
+++ b/sysutils/fusefs-ntfs/Makefile
@@ -36,10 +36,6 @@ MLINKS= ntfs-3g.8 mount_ntfs-3g.8
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
.if defined(WITH_LOCK)
CFLAGS+= -DUSE_LOCK
.endif
diff --git a/sysutils/fusefs-smbnetfs/Makefile b/sysutils/fusefs-smbnetfs/Makefile
index ccb04eb8974e..5c3f249f9a74 100644
--- a/sysutils/fusefs-smbnetfs/Makefile
+++ b/sysutils/fusefs-smbnetfs/Makefile
@@ -26,13 +26,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS} -I${LOCALBASE}/include"
SUB_FILES= pkg-message
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/fusefs-sqlfs/Makefile b/sysutils/fusefs-sqlfs/Makefile
index 42b602798c1d..9fba9de57cb3 100644
--- a/sysutils/fusefs-sqlfs/Makefile
+++ b/sysutils/fusefs-sqlfs/Makefile
@@ -31,10 +31,6 @@ PLIST_FILES= bin/sqlfs
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
do-build:
(cd ${WRKSRC} && ${CC} -DFUSE -DFUSE_USE_VERSION=25 \
-D_FILE_OFFSET_BITS=64 -D_REENTRANT ${CFLAGS} \
diff --git a/sysutils/fusefs-sshfs/Makefile b/sysutils/fusefs-sshfs/Makefile
index a64c295c7d5c..c78badfad47e 100644
--- a/sysutils/fusefs-sshfs/Makefile
+++ b/sysutils/fusefs-sshfs/Makefile
@@ -24,13 +24,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV+= CFLAGS="${CFLAGS} ${PTHREAD_CFLAGS}"
USE_GNOME= glib20
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
post-install:
@${SED} -e "s|%%PREFIX%%|${PREFIX}|" ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/fusefs-unionfs/Makefile b/sysutils/fusefs-unionfs/Makefile
index 13dbadbf2a1d..7171957179c1 100644
--- a/sysutils/fusefs-unionfs/Makefile
+++ b/sysutils/fusefs-unionfs/Makefile
@@ -31,10 +31,4 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unionfs ${PREFIX}/bin
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000 # Inherited from fusefs-kmod
-IGNORE= requires FreeBSD 6.x or above
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/fusefs-wdfs/Makefile b/sysutils/fusefs-wdfs/Makefile
index f0c6b8a5a196..597a237b446d 100644
--- a/sysutils/fusefs-wdfs/Makefile
+++ b/sysutils/fusefs-wdfs/Makefile
@@ -24,10 +24,4 @@ USE_GNOME= glib20
PLIST_FILES= bin/wdfs
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/fusefs-wikipediafs/Makefile b/sysutils/fusefs-wikipediafs/Makefile
index 3db4cd703d21..0fa6582c49bd 100644
--- a/sysutils/fusefs-wikipediafs/Makefile
+++ b/sysutils/fusefs-wikipediafs/Makefile
@@ -23,12 +23,6 @@ USE_PYDISTUTILS=yes
PORTDOCS= AUTHORS ChangeLog HACKING NEWS README TODO
MAN1= mount.${PORTNAME}.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
post-extract:
@${GUNZIP_CMD} ${WRKSRC}/doc/*gz
@@ -43,4 +37,4 @@ post-install:
@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/fuser/Makefile b/sysutils/fuser/Makefile
index c6f845adda62..e086171adbbc 100644
--- a/sysutils/fuser/Makefile
+++ b/sysutils/fuser/Makefile
@@ -23,10 +23,6 @@ PLIST_FILES= bin/fuser
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-IGNORE= src/sys/fs/devfs/devfs_int.h does not exist before OSVERSION 600000
-.endif
-
.if ${OSVERSION} >= 800000
BROKEN= does not compile
.endif
diff --git a/sysutils/gkrellm2/Makefile b/sysutils/gkrellm2/Makefile
index 210cab938598..9595f37dbc1f 100644
--- a/sysutils/gkrellm2/Makefile
+++ b/sysutils/gkrellm2/Makefile
@@ -88,9 +88,6 @@ PORTDOCS= COPYRIGHT CREDITS README Themes.html
.endif
ALL_TARGET= freebsd
-.if ${OSVERSION} < 500000
-INSTALL_TARGET= install_freebsd
-.endif
MAKE_ENV+= INSTALLROOT=${LOCALBASE} INSTALLDIR=${LOCALBASE}/bin \
PKGCONFIGDIR=${LOCALBASE}/libdata/pkgconfig \
@@ -115,12 +112,6 @@ post-install:
@${MKDIR} ${LOCALBASE}/libexec/gkrellm2/plugins
@${MKDIR} ${LOCALBASE}/share/gkrellm2/themes
@${GZIP_CMD} ${MAN1PREFIX}/man/man1/gkrellm.1
-.if ${OSVERSION} < 500000
- @${CHMOD} 2511 ${LOCALBASE}/bin/gkrellm
-.endif
-.endif
-.if ${OSVERSION} < 500000
- @${CHMOD} 2511 ${PREFIX}/sbin/gkrellmd
.endif
@${MKDIR} ${PREFIX}/libexec/gkrellm2/plugins-gkrellmd
@${MKDIR} ${EXAMPLESDIR}
diff --git a/sysutils/gpte/Makefile b/sysutils/gpte/Makefile
index 744eb18d01ff..68d0e7ca3440 100644
--- a/sysutils/gpte/Makefile
+++ b/sysutils/gpte/Makefile
@@ -20,10 +20,4 @@ PLIST_FILES= bin/gpte
post-extract:
cd $(WRKSRC) && ${CP} Makefile.bsd Makefile
-.include <bsd.port.pre.mk>
-
-.if $(OSVERSION) < 502000
-IGNORE= Only for 5.x and later systems
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/hal/Makefile b/sysutils/hal/Makefile
index f97c49754578..bccb417b1c3d 100644
--- a/sysutils/hal/Makefile
+++ b/sysutils/hal/Makefile
@@ -71,10 +71,6 @@ OPTIONS= FIXED_MOUNTPOINTS "use fixed mountpoints" off
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 505000
-IGNORE= not supported on FreeBSD prior to 5.5-RELEASE
-.endif
-
.if (${ARCH}=="i386" || ${ARCH}=="amd64" || ${ARCH}=="ia64")
RUN_DEPENDS+= dmidecode:${PORTSDIR}/sysutils/dmidecode
.endif
diff --git a/sysutils/hdup/Makefile b/sysutils/hdup/Makefile
index 4fc3261a8a95..34b2df106ea8 100644
--- a/sysutils/hdup/Makefile
+++ b/sysutils/hdup/Makefile
@@ -39,8 +39,6 @@ MAN5= hdup.conf.5
BUILD_DEPENDS+= ${LOCALBASE}/gtar:${PORTSDIR}/archivers/gtar
RUN_DEPENDS+= ${LOCALBASE}/gtar:${PORTSDIR}/archivers/gtar
GNUTAR= ${LOCALBASE}/bin/gtar
-.elif ${OSVERSION} < 502110
-GNUTAR= /usr/bin/tar
.else
# bsdtar appeared
GNUTAR= /usr/bin/gtar
diff --git a/sysutils/hourglass/Makefile b/sysutils/hourglass/Makefile
index 1d2dc09340dd..aedb9557e5ee 100644
--- a/sysutils/hourglass/Makefile
+++ b/sysutils/hourglass/Makefile
@@ -25,15 +25,9 @@ PORTDOCS= CALIBRATION
.include <bsd.port.pre.mk>
.if defined(WITH_LINUXTHREADS)
-
-.if ${OSVERSION} >= 500035
PTHREAD_LIBS= -L${LOCALBASE}/lib -llthread -llgcc_r
PTHREAD_CFLAGS= -D_THREAD_SAFE -I${LOCALBASE}/include/pthread/linuxthreads
LIB_DEPENDS+= lthread.3:${PORTSDIR}/devel/linuxthreads
-.else
-LIB_DEPENDS+= lthread.2:${PORTSDIR}/devel/linuxthreads
-.endif
-
.endif
post-patch:
diff --git a/sysutils/ipmi-kmod/Makefile b/sysutils/ipmi-kmod/Makefile
index 899f2baa0eb2..8d0fe70e848f 100644
--- a/sysutils/ipmi-kmod/Makefile
+++ b/sysutils/ipmi-kmod/Makefile
@@ -35,13 +35,6 @@ IGNORE= requires kernel source to be installed
.if exists(${SRC_BASE}/sys/dev/ipmi)
IGNORE= is already included in the base system
-.elif ${OSVERSION} < 503000
-IGNORE= does not support FreeBSD before 5.3
-.endif
-
-# Need to include this extra path on 5.x.
-.if ${OSVERSION} < 600000
-CFLAGS+= -I@/contrib/dev/acpica
.endif
do-install:
diff --git a/sysutils/lsof/Makefile b/sysutils/lsof/Makefile
index 42136015bea0..404f7154386f 100644
--- a/sysutils/lsof/Makefile
+++ b/sysutils/lsof/Makefile
@@ -79,32 +79,10 @@ do-install:
${INSTALL_SCRIPT} ${WRKSRC}/scripts/* ${PREFIX}/share/lsof
@${CHMOD} 0444 ${PREFIX}/share/lsof/00*
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500019
-.if !exists(${FREEBSD_SYS}/miscfs/fdesc/fdesc.h)
-.if defined(PACKAGE_BUILDING)
-BROKEN= 'please install kernel source for official package builds'
-.endif
-
-pre-configure:
- @${ECHO} ""
- @${ECHO} "************************************************************"
- @${ECHO} "* W a r n i n g *"
- @${ECHO} "* A more capable version of LSOF is built if you have *"
- @${ECHO} "* the complete kernel source installed. *"
- @${ECHO} "* If your kernel sources are somewhere other than *"
- @${ECHO} "* /usr/src/sys, you may set the FREEBSD_SYS variable *"
- @${ECHO} "* to the correct path. *"
- @${ECHO} "************************************************************"
- @${ECHO} ""
-.endif
-.endif
-
post-install:
cd ${PREFIX} && \
${FIND} -s share/lsof -type f -o -type l >>${TMPPLIST} ;\
${FIND} -d share/lsof -type d \
| ${SED} -e 's/^/@dirrm /g' >>${TMPPLIST}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/ltrace/Makefile b/sysutils/ltrace/Makefile
index 30361ddfc7bc..facd87d59f93 100644
--- a/sysutils/ltrace/Makefile
+++ b/sysutils/ltrace/Makefile
@@ -28,12 +28,6 @@ CONFLICTS= polygraph-2*
MAN1= ltrace.1
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 502000
-IGNORE= depends on PT_SYSCALL ptrace option
-.endif
-
post-patch:
${REINPLACE_CMD} -e 's|^\(CC\)|#\1|' ${WRKSRC}/Makefile.in
@@ -42,4 +36,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/etc/ltrace.conf ${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/ltrace.1 ${PREFIX}/man/man1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/mono-kmod/Makefile b/sysutils/mono-kmod/Makefile
index 1be599837501..1849d94b38ff 100644
--- a/sysutils/mono-kmod/Makefile
+++ b/sysutils/mono-kmod/Makefile
@@ -31,10 +31,6 @@ PLIST_FILES+= "@unexec kldxref ${KMODDIR}"
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600009
-IGNORE= requires FreeBSD 6.0 or higher
-.endif
-
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= requires kernel source to be installed
.endif
diff --git a/sysutils/p5-BSD-Jail-Object/Makefile b/sysutils/p5-BSD-Jail-Object/Makefile
index 4cdd56478cfa..53e53024ee4f 100644
--- a/sysutils/p5-BSD-Jail-Object/Makefile
+++ b/sysutils/p5-BSD-Jail-Object/Makefile
@@ -21,10 +21,4 @@ PERL_CONFIGURE= 5.8.6+
MAN3= BSD::Jail::Object.3
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 503100 # ref: jail.h v1.17
-IGNORE= require xprison structure defined
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/p5-Fuse-Simple/Makefile b/sysutils/p5-Fuse-Simple/Makefile
index 82e045ab3655..e2f8969a05fe 100644
--- a/sysutils/p5-Fuse-Simple/Makefile
+++ b/sysutils/p5-Fuse-Simple/Makefile
@@ -23,10 +23,6 @@ MAN3= Fuse::Simple.3
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000 # Inherited from sysutils/p5-Fuse
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
.if ${PERL_LEVEL} < 500703
RUN_DEPENDS+= ${SITE_PERL}/Switch.pm:${PORTSDIR}/lang/p5-Switch
.endif
diff --git a/sysutils/p5-Fuse/Makefile b/sysutils/p5-Fuse/Makefile
index fd7c720db727..513f7bee0d20 100644
--- a/sysutils/p5-Fuse/Makefile
+++ b/sysutils/p5-Fuse/Makefile
@@ -24,10 +24,4 @@ USE_GNOME= pkgconfig
MAN3= Fuse.3
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 600000 # Inherited from sysutils/fusefs-libs
-IGNORE= depends on kernel module that requires FreeBSD 6 or later
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/pecl-fileinfo/Makefile b/sysutils/pecl-fileinfo/Makefile
index c382a3087c72..17003b4e657e 100644
--- a/sysutils/pecl-fileinfo/Makefile
+++ b/sysutils/pecl-fileinfo/Makefile
@@ -20,15 +20,6 @@ COMMENT= A PECL extension to retrieve info about files
USE_PHP= yes
USE_PHPEXT= yes
-.include <bsd.port.pre.mk>
+CONFIGURE_ARGS= --with-fileinfo=/usr
-.if ${OSVERSION} < 502128
-LIB_DEPENDS+= magic.1:${PORTSDIR}/sysutils/file
-MAGICBASE= ${LOCALBASE}
-.else
-MAGICBASE= /usr
-.endif
-
-CONFIGURE_ARGS= --with-fileinfo=${MAGICBASE}
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/pflogx/Makefile b/sysutils/pflogx/Makefile
index 9a028f930c38..f062034c1c6a 100644
--- a/sysutils/pflogx/Makefile
+++ b/sysutils/pflogx/Makefile
@@ -21,10 +21,6 @@ OPTIONS= EXPAT "Ability to merge new events (require expat) " Off
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-IGNORE= only for 6.0 and above
-.endif
-
.if defined(WITH_EXPAT)
LIB_DEPENDS= expat:${PORTSDIR}/textproc/expat2
MAKE_ARGS+= -DWITH_EXPAT \
diff --git a/sysutils/pfstat/Makefile b/sysutils/pfstat/Makefile
index 102155ad67ff..822a647cf387 100644
--- a/sysutils/pfstat/Makefile
+++ b/sysutils/pfstat/Makefile
@@ -30,10 +30,6 @@ PLIST_FILES= bin/pfstat \
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 502106
-IGNORE= is only for 5.3 and above
-.endif
-
.if ${OSVERSION} < 700048
EXTRA_PATCHES= ${PATCHDIR}/pre41-patch-pf.c
.endif
diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile
index dc367f6f423e..39da666091f2 100644
--- a/sysutils/pftop/Makefile
+++ b/sysutils/pftop/Makefile
@@ -21,19 +21,7 @@ MANCOMPRESSED= no
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 502106
-IGNORE= only for 5.3 and above
-.endif
-
-.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
-.elif ${OSVERSION} < 700049
+.if ${OSVERSION} < 700049
MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=37
CFLAGS+= -DHAVE_ALTQ=1
.else
diff --git a/sysutils/pmap/Makefile b/sysutils/pmap/Makefile
index ccd3a5977a03..70ea7df72e0b 100644
--- a/sysutils/pmap/Makefile
+++ b/sysutils/pmap/Makefile
@@ -33,10 +33,6 @@ MANCOMPRESSED= maybe
BROKEN= Currently does not support -CURRENT
.endif
-.if ${OSVERSION} < 600000
-IGNORE= not supported on systems prior to 6.0
-.endif
-
pre-fetch:
.if !exists(${SRC_BASE}/sys/Makefile)
IGNORE= requires kernel sources
diff --git a/sysutils/progsreiserfs/Makefile b/sysutils/progsreiserfs/Makefile
index 861af8d85548..149c13c8e21a 100644
--- a/sysutils/progsreiserfs/Makefile
+++ b/sysutils/progsreiserfs/Makefile
@@ -18,6 +18,9 @@ COMMENT= Utilities and library to manipulate ReiserFS partitions
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
CONFIGURE_ARGS= --disable-debug --disable-Werror
+CFLAGS+= -Dgetopt_long_only=getopt_long
+
+EXTRA_PATCHES= ${FILESDIR}/extrapatch-progsreiserfs::libmisc::Makefile.in
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
@@ -29,17 +32,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
MAN8= cpfs.reiserfs.8 mkfs.reiserfs.8 reiserfs.8 \
resizefs.reiserfs.8 tunefs.reiserfs.8
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500041
-CFLAGS+= -Dgetopt_long_only=getopt_long
-EXTRA_PATCHES= ${FILESDIR}/extrapatch-progsreiserfs::libmisc::Makefile.in
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's|^LIBTOOL=.*|LIBTOOL=${LIBTOOL}|g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|sys/int_types.h|inttypes.h|' \
${WRKSRC}/libreiserfs/tools.c ${WRKSRC}/include/reiserfs/*
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/psgconf/Makefile b/sysutils/psgconf/Makefile
index cc4310cf8796..f0855ffd5d04 100644
--- a/sysutils/psgconf/Makefile
+++ b/sysutils/psgconf/Makefile
@@ -194,13 +194,6 @@ PKGDEINSTALL= ${WRKSRC}/postinstall
post-patch:
${FIND} ${WRKSRC} -name "*.orig" -delete
-#.if ${OSVERSION} > 599999
-# Does not work because Proc::ProcessTable is broken in 5.x
-#${BUILD_DEPENDS}+= ${SITE_PERL}/Perl/Tidy.pm:${PORTSDIR}/devel/perltidy
-#post-build:
-# cd ${WRKSRC} && ${MAKE} test
-#.endif
-
post-install:
-@${MKDIR} ${PREFIX}/etc
@${CP} ${WRKSRC}/etc/psg.conf ${PREFIX}/etc/psg.conf.sample
diff --git a/sysutils/pstack/Makefile b/sysutils/pstack/Makefile
index b2302ba8023b..574cacf09f53 100644
--- a/sysutils/pstack/Makefile
+++ b/sysutils/pstack/Makefile
@@ -22,11 +22,7 @@ MANCOMPRESSED= yes
MAN1= pstack.1
PLIST_FILES= bin/pstack
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 600000
post-patch:
${REINPLACE_CMD} -e 's/DT_COUNT/DT_BIND_NOW/' ${WRKSRC}/elf.c
-.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/rfstool/Makefile b/sysutils/rfstool/Makefile
index 303f9ab55603..874348a6cdfd 100644
--- a/sysutils/rfstool/Makefile
+++ b/sysutils/rfstool/Makefile
@@ -17,13 +17,7 @@ COMMENT= Read from a Reiser file system
PLIST_FILES= bin/rfstool
USE_ZIP= yes
WRKSRC= ${WRKDIR}/rfstool-0.14/RFSTOOL
-
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500035
MAKEFILE= makefile.gcc3x
-.else
-MAKEFILE= makefile.gcc2x
-.endif
post-extract:
@${REINPLACE_CMD} -e "s,g++,\$${CXX},g" ${WRKSRC}/${MAKEFILE}
@@ -31,4 +25,4 @@ post-extract:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rfstool ${PREFIX}/bin
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/sfdisk/Makefile b/sysutils/sfdisk/Makefile
index 2296c9c57812..398ca4154aac 100644
--- a/sysutils/sfdisk/Makefile
+++ b/sysutils/sfdisk/Makefile
@@ -26,8 +26,4 @@ NOT_FOR_ARCHS= ia64
CFLAGS+= -DPC98
.endif
-.if ${OSVERSION} < 502000
-IGNORE= is only for FreeBSD 5.X and later
-.endif
-
.include <bsd.port.post.mk>
diff --git a/sysutils/sge60/Makefile b/sysutils/sge60/Makefile
index c77671ba1592..5ec4dd504f75 100644
--- a/sysutils/sge60/Makefile
+++ b/sysutils/sge60/Makefile
@@ -93,10 +93,6 @@ EXCEPTFILES= arc_depend_irix.asc arc_depend_solaris.asc man testsuite
.include <bsd.port.pre.mk>
-.if ${OSVERSION} < 600000
-BROKEN= missing pthread type defs in sys/types.h
-.endif
-
.if defined(WITH_BDB)
LIB_DEPENDS= db-4.2:${PORTSDIR}/databases/db42
PLIST_SUB+= BDB_SPOOL=
diff --git a/sysutils/vobcopy/Makefile b/sysutils/vobcopy/Makefile
index 9c7aff462f28..f93bf57e663a 100644
--- a/sysutils/vobcopy/Makefile
+++ b/sysutils/vobcopy/Makefile
@@ -42,11 +42,9 @@ post-patch:
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
# -CURRENT after 500041 has getopt_long
# do not use libgnugetopt
-.if ${OSVERSION} >= 500041
@${REINPLACE_CMD} -E \
-e 's|-lgnugetopt||' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
-.endif
# fix typo
@${REINPLACE_CMD} -E \
-e 's|FreeBSD_Version|FreeBSD_version|' \
diff --git a/sysutils/watchdog/Makefile b/sysutils/watchdog/Makefile
index 1becae413f15..bd753519d4e0 100644
--- a/sysutils/watchdog/Makefile
+++ b/sysutils/watchdog/Makefile
@@ -18,13 +18,4 @@ MAN8= watchdogd.8
MANCOMPRESSED= yes
PLIST_FILES= bin/watchdogd
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 500043
-# We need revision 1.12 of /sys/i386/i386/elan-mmrc.c and
-# 1.1 of /sys/sys/watchdog.h. The first tag is RELENG_5_1.
-#
-IGNORE= cannot install: this port only works on FreeBSD 5.1 and above
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/whowatch/Makefile b/sysutils/whowatch/Makefile
index 4831ff4f8a20..f23cec84f38a 100644
--- a/sysutils/whowatch/Makefile
+++ b/sysutils/whowatch/Makefile
@@ -16,17 +16,13 @@ MASTER_SITE_SUBDIR= UNIX/IDS
MAINTAINER= ports@FreeBSD.org
COMMENT= Displays information in real time about users currently logged on
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500014
-pre-patch:
- @${FIND} ${WRKSRC} -name 'proc????.c' | ${XARGS} ${REINPLACE_CMD} -E \
- -e 's/kp_.?proc\.._/ki_/ ; s/pcred\.p_//'
-.endif
-
GNU_CONFIGURE= yes
MAN1= whowatch.1
PLIST_FILES= bin/whowatch
-.include <bsd.port.post.mk>
+pre-patch:
+ @${FIND} ${WRKSRC} -name 'proc????.c' | ${XARGS} ${REINPLACE_CMD} -E \
+ -e 's/kp_.?proc\.._/ki_/ ; s/pcred\.p_//'
+
+.include <bsd.port.mk>
diff --git a/sysutils/xsi/Makefile b/sysutils/xsi/Makefile
index c5948cf24296..9f99e5306637 100644
--- a/sysutils/xsi/Makefile
+++ b/sysutils/xsi/Makefile
@@ -35,10 +35,4 @@ post-install:
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
-.include <bsd.port.pre.mk>
-
-.if (${OSVERSION} < 600007)
-IGNORE= is not supported on FreeBSD < 6.0
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/sysutils/yawho/Makefile b/sysutils/yawho/Makefile
index cfe66884c918..2eeb9f617f1d 100644
--- a/sysutils/yawho/Makefile
+++ b/sysutils/yawho/Makefile
@@ -13,15 +13,11 @@ MASTER_SITES= http://wizard.ae.krakow.pl/~mike/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple 'w'-like program; displays connection type and login shell PID
-PLIST_FILES= bin/yawho
+GNU_CONFIGURE= yes
-.include <bsd.port.pre.mk>
+PLIST_FILES= bin/yawho
-.if ${OSVERSION} >= 500014
pre-patch:
@${REINPLACE_CMD} -E -e 's/kp_.?proc\.._/ki_/' ${WRKSRC}/process.c
-.endif
-
-GNU_CONFIGURE= yes
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>