summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-10-03 23:42:22 +0000
committeredwin <edwin@FreeBSD.org>2007-10-03 23:42:22 +0000
commitcbd5a4e401fc66a1597e913f4544e169f33f0516 (patch)
tree791b36dd4be1eaa1f4f522a71ef77c2751132bb7
parent82f314a8b7f00aa9ecd7cc15a7d9569061e3626c (diff)
downloadFreeBSD-ports-cbd5a4e401fc66a1597e913f4544e169f33f0516.zip
FreeBSD-ports-cbd5a4e401fc66a1597e913f4544e169f33f0516.tar.gz
Remove support for OSVERSION < 5
-rw-r--r--misc/compat3x/Makefile11
-rw-r--r--misc/dnetc/Makefile14
-rw-r--r--misc/ezload/Makefile8
-rw-r--r--misc/ldconfig_compat/Makefile13
-rw-r--r--multimedia/xmms/Makefile8
5 files changed, 12 insertions, 42 deletions
diff --git a/misc/compat3x/Makefile b/misc/compat3x/Makefile
index 018e297..be7c246 100644
--- a/misc/compat3x/Makefile
+++ b/misc/compat3x/Makefile
@@ -31,15 +31,10 @@ USE_LDCONFIG= yes
LDCONFIG_DIRS= %%PREFIX%%/lib/compat
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500000
+
COMPAT3X_OSVERSION= 5.0
COMPAT3X_OSRELDATE= 20020925
PLIST_SUB= CURRENT_ONLY:=""
-.else
-COMPAT3X_OSVERSION= 4.4
-COMPAT3X_OSRELDATE= 20020925
-PLIST_SUB= CURRENT_ONLY:="@comment "
-.endif
FREEBSD4_LIBS= libc_r.so.4 libperl.so.3
@@ -51,11 +46,7 @@ COMPAT3X_PORTVERSION= ${COMPAT3X_OSVERSION}
post-extract:
.for lib in ${FREEBSD4_LIBS}
-.if ${OSVERSION} >= 500000
${MV} ${WRKSRC}/${lib} ${WRKSRC}/${lib}.compat3x
-.else
- ${RM} -f ${WRKSRC}/${lib}
-.endif
.endfor
do-build:
diff --git a/misc/dnetc/Makefile b/misc/dnetc/Makefile
index a97a3bd..d965583 100644
--- a/misc/dnetc/Makefile
+++ b/misc/dnetc/Makefile
@@ -51,17 +51,15 @@ SUB_LIST= BINDIR="${BINDIR}" \
.if ${ARCH} == i386
VERSION= 2.9013.498
REVISION= 0
-.if ${OSVERSION} >= 400017
-DISTNAME= dnetc${PORTVERSION:E}-freebsd4-${ARCH:S/i386/x86/}-elf
-WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd4-${ARCH:S/i386/x86/}-elf
-.endif
-.if ${OSVERSION} >= 503001
-DISTNAME= dnetc${PORTVERSION:E}-freebsd5-${ARCH:S/i386/x86/}-elf
-WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd5-${ARCH:S/i386/x86/}-elf
-.endif
.if ${OSVERSION} >= 600034
DISTNAME= dnetc${PORTVERSION:E}-freebsd6-${ARCH:S/i386/x86/}-elf
WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd6-${ARCH:S/i386/x86/}-elf
+.elif ${OSVERSION} >= 503001
+DISTNAME= dnetc${PORTVERSION:E}-freebsd5-${ARCH:S/i386/x86/}-elf
+WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd5-${ARCH:S/i386/x86/}-elf
+.else
+DISTNAME= dnetc${PORTVERSION:E}-freebsd4-${ARCH:S/i386/x86/}-elf
+WRKSRC= ${WRKDIR}/dnetc${PORTVERSION:E}-freebsd4-${ARCH:S/i386/x86/}-elf
.endif
.endif
diff --git a/misc/ezload/Makefile b/misc/ezload/Makefile
index f3806c9..85a4feb 100644
--- a/misc/ezload/Makefile
+++ b/misc/ezload/Makefile
@@ -18,10 +18,4 @@ MANCOMPRESSED= yes
MAKE_ENV= BINDIR="${PREFIX}/bin" MANDIR="${PREFIX}/man/man" MKDIR="${MKDIR}" INSTALL_DATA="${INSTALL_DATA}" FORCE="${FORCE}"
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 460000
-IGNORE= 'This port only works on FreeBSD 4.6.0+'
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/misc/ldconfig_compat/Makefile b/misc/ldconfig_compat/Makefile
index c6d0cc0..fac7b43 100644
--- a/misc/ldconfig_compat/Makefile
+++ b/misc/ldconfig_compat/Makefile
@@ -55,18 +55,5 @@ do-install:
@${INSTALL_SCRIPT} ${WRKDIR}/ldconfig_compat.sh ${PREFIX}/etc/rc.d/000.ldconfig_compat.sh
@${ECHO_CMD} "etc/rc.d/000.ldconfig_compat.sh" >> ${TMPPLIST}
.endif
-# Special case, recent RELENG_4 versions have no /etc/rc.d/ldconfig script, but directories
-# are present in BSD.{x11,local}.dist.
-.if !( ${OSVERSION} >= 492101 && ${OSVERSION} < 500000 )
-.for prefix in ${LOCAL_PREFIXES}
- @${ECHO_CMD} "@cwd ${prefix}" >> ${TMPPLIST}
-.for dir in ${LOCAL_DIRS}
- echo creating ${prefix}/${dir}
- @${MKDIR} -p ${prefix}/${dir}
- @${ECHO_CMD} "@exec mkdir -p %D/${dir}" >> ${TMPPLIST}
- @${ECHO_CMD} "@unexec rmdir %D/${dir} 2>/dev/null || true" >> ${TMPPLIST}
-.endfor
-.endfor
-.endif
.include <bsd.port.post.mk>
diff --git a/multimedia/xmms/Makefile b/multimedia/xmms/Makefile
index b1909ee..34da592 100644
--- a/multimedia/xmms/Makefile
+++ b/multimedia/xmms/Makefile
@@ -91,11 +91,11 @@ PLIST_SUB+= ESDPLUGIN:="@comment "
WITHOUT_SIMD= yes
.endif
-.if !defined(WITHOUT_SIMD) && ${OSVERSION} >= 400021
+.if !defined(WITHOUT_SIMD)
CONFIGURE_ARGS+= --enable-simd
.endif
-.if defined(WITHOUT_SIMD) || ${OSVERSION} < 400021
+.if defined(WITHOUT_SIMD)
post-extract:
(cd ${WRKSRC}/Input/mpg123 && ${MV} decode_i586.s decode_i586.S && \
cd ${WRKSRC}/Visualization/blur_scope && ${MV} blur_8.s blur_8.S);
@@ -106,7 +106,7 @@ post-extract:
.endif
pre-extract:
-.if !defined(WITHOUT_MIKMOD) || !defined(WITHOUT_VORBIS) || ( !defined(WITHOUT_SIMD) && ${OSVERSION} >= 400021 ) || ${HAVE_GNOME:Mesound}!=""
+.if !defined(WITHOUT_MIKMOD) || !defined(WITHOUT_VORBIS) || ( !defined(WITHOUT_SIMD) ) || ${HAVE_GNOME:Mesound}!=""
@${ECHO_MSG}
.if !defined(WITHOUT_MIKMOD)
@${ECHO_MSG} "You can disable support for mikmod by defining WITHOUT_MIKMOD."
@@ -114,7 +114,7 @@ pre-extract:
.if !defined(WITHOUT_VORBIS)
@${ECHO_MSG} "You can disable support for vorbis by defining WITHOUT_VORBIS."
.endif
-.if !defined(WITHOUT_SIMD) && ${OSVERSION} >= 400021
+.if !defined(WITHOUT_SIMD)
@${ECHO_MSG} "You can disable x86 SIMD (3DNow!/MMX) optimized decoding routines by defining WITHOUT_SIMD."
.endif
.if ${HAVE_GNOME:Mesound}!=""
OpenPOWER on IntegriCloud