Remove support for OSVERSION < 5

This commit is contained in:
Edwin Groothuis 2007-10-04 00:08:39 +00:00
parent 0d263e77cb
commit 4d5623ea35
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200766
16 changed files with 19 additions and 56 deletions

View file

@ -170,7 +170,7 @@ MAKE_ENV+= MAN8="${MAN8}" MAN1="${MAN1}"
pre-everything::
.if !defined(WITH_CLIENT_ONLY)
.if ${OSVERSION} < 490101 || (${OSVERSION} >= 500000 && ${OSVERSION} < 502101)
.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"

View file

@ -192,7 +192,7 @@ MAKE_ENV+= MAN8="${MAN8}" MAN1="${MAN1}"
pre-everything::
.if !defined(WITH_CLIENT_ONLY)
.if ${OSVERSION} < 490101 || (${OSVERSION} >= 500000 && ${OSVERSION} < 502101)
.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"

View file

@ -53,7 +53,7 @@ SERVICEDIR?= /var/service
STARTUP_SCRIPT?= ${SAMPLERC:S/.sample//}
PLIST_SUB+= STARTUP_SCRIPT="${STARTUP_SCRIPT}"
.if ${OSVERSION} >= 500023 || ${OSVERSION} < 500000 && ${OSVERSION} >= 460102
.if ${OSVERSION} >= 500023
RC_SCRIPTS_SUB+= DAEMON="/usr/sbin/daemon -f"
.else
RC_SCRIPTS_SUB+= DAEMON=""

View file

@ -23,7 +23,7 @@ PLIST_FILES= sbin/sha1
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 502113 || ( ${OSVERSION} > 491100 && ${OSVERSION} < 500000 )
.if ${OSVERSION} > 502113
IGNORE= "is now contained in the base system"
.endif

View file

@ -30,9 +30,7 @@ INSTALL_TARGET= install-all
HDDOCDIR= ${PREFIX}/share/doc/healthd
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400014 || defined(WITHOUT_IPV6)
.if defined(WITHOUT_IPV6)
CONFIGURE_ARGS+= --disable-ipv6
.endif
@ -57,4 +55,5 @@ pre-everything::
.ifndef (WITHOUT_IPV6)
@${ECHO_MSG} "WITHOUT_IPV6=yes builds without IPv6 support"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -37,16 +37,6 @@ RESTRICTED= "Redistribution not allowed"
LINPROCFS!= /sbin/mount | ${GREP} linprocfs | ${AWK} '{print $1}'
pre-fetch:
.if ${OSVERSION} < 460000
@${ECHO}
@${ECHO} "OS-VERSION ${OSVERSION} too low"
@${ECHO}
@${ECHO} "acu needs some important sys/dev/an changes"
@${ECHO} "Please upgrade to 4.6-STABLE or greater"
@${FALSE}
.endif
post-extract:
.if ${LINPROCFS}
@${ECHO}

View file

@ -28,10 +28,6 @@ PLIST_FILES= sbin/pcfdate
IGNORE= not supported for architecture ${ARCH}
.endif
.if ${OSVERSION} < 400000
IGNORE= not supported for versions prior to FreeBSD 4.0
.endif
post-install:
PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL

View file

@ -38,12 +38,6 @@ RUN_DEPENDS+= ${X11BASE}/Adobe/Acrobat7.0/ENU/Browser/intellinux/nppdf.so:${PORT
WITH_PLUGINS= 1
.endif
.if defined(WITH_PLUGINS)
.if ${OSVERSION} < 500000
USE_MOTIF= yes
.endif
.endif
ONLY_FOR_ARCHS= i386
MAKE_ENV= EXAMPLESDIR=${EXAMPLESDIR} INSTALL_DATA="${INSTALL_DATA}" INSTALL_PROGRAM="${INSTALL_PROGRAM}"
@ -51,7 +45,7 @@ CONFLICTS= flashpluginwrapper-*
USE_XLIB= yes
PLIST_SUB= LINUXBASE=${LINUXBASE}
PKGMESSAGE= ${WRKDIR}/pkg-message
.if !defined(WITH_PLUGINS) || ${OSVERSION} < 500000
.if !defined(WITH_PLUGINS)
PLIST= ${WRKDIR}/pkg-plist
.endif
@ -61,10 +55,8 @@ LIBMAPCONF= ${EXAMPLESDIR}/libmap.conf-FreeBSD6
LIBMAPCONF= ${EXAMPLESDIR}/libmap.conf-FreeBSD6
.elif ${OSVERSION} >= 503001
LIBMAPCONF= ${EXAMPLESDIR}/libmap.conf-FreeBSD5-stable
.elif ${OSVERSION} >= 500000
LIBMAPCONF= ${EXAMPLESDIR}/libmap.conf-FreeBSD5-current
.else
LIBMAPCONF= ${EXAMPLESDIR}/libmap.conf-FreeBSD4.x
LIBMAPCONF= ${EXAMPLESDIR}/libmap.conf-FreeBSD5-current
.endif
.if ${OSVERSION} < 501105
@ -78,7 +70,7 @@ CFLAGS+= -DDEBUG=1
.endif
.if !defined(PACKAGE_BUILDING)
.if ${OSVERSION} < 490102 || ${OSVERSION} >= 500000 && ${OSVERSION} < 501107
.if ${OSVERSION} < 501107
pre-everything::
@if ! strings ${RTLD} | ${GREP} libmap.conf > /dev/null 2>&1; then \
${ECHO_MSG} 'Please enable libmap.conf(5) feature for rtld(1).'; \

View file

@ -48,11 +48,7 @@ CONFIGURE_ARGS+= --with-screen=ncursesw
CONFIGURE_ARGS+= --with-ssl=${OPENSSLBASE}
.endif
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
CONFIGURE_ARGS+=--enable-ipv6
MAKE_FLAGS= helpdir=${L_HELP} docdir=${L_DOC} -f
MAKEFILE= makefile
INSTALL_TARGET= install-full

View file

@ -346,7 +346,7 @@ IGNORE= pf available only in FreeBSD 5.3 and newer
# Please see PR misc/44148 and the CVS log of src/include/Makefile for further
# information.
.if defined(WITH_SQUID_IPFILTER)
.if (${OSVERSION} >= 470000 && ${OSVERSION} < 500000) || (${OSVERSION} > 500032 && ${OSVERSION} < 501101)
.if (${OSVERSION} > 500032 && ${OSVERSION} < 501101)
IGNORE= the IPFilter headers are not part of the base system
.else
CONFIGURE_ARGS+= --enable-ipf-transparent

View file

@ -313,7 +313,7 @@ IGNORE= pf available only in FreeBSD 5.3 and newer
# Please see PR misc/44148 and the CVS log of src/include/Makefile for further
# information.
.if defined(WITH_SQUID_IPFILTER)
.if (${OSVERSION} >= 470000 && ${OSVERSION} < 500000) || (${OSVERSION} > 500032 && ${OSVERSION} < 501101)
.if (${OSVERSION} > 500032 && ${OSVERSION} < 501101)
IGNORE= IPFilter headers are not part of the base system
.else
CONFIGURE_ARGS+= --enable-ipf-transparent

View file

@ -341,7 +341,7 @@ IGNORE= pf available only in FreeBSD 5.3 and newer
# Please see PR misc/44148 and the CVS log of src/include/Makefile for further
# information.
.if defined(WITH_SQUID_IPFILTER)
.if (${OSVERSION} >= 470000 && ${OSVERSION} < 500000) || (${OSVERSION} > 500032 && ${OSVERSION} < 501101)
.if (${OSVERSION} > 500032 && ${OSVERSION} < 501101)
IGNORE= the IPFilter headers are not part of the base system
.else
CONFIGURE_ARGS+= --enable-ipf-transparent

View file

@ -341,7 +341,7 @@ IGNORE= pf available only in FreeBSD 5.3 and newer
# Please see PR misc/44148 and the CVS log of src/include/Makefile for further
# information.
.if defined(WITH_SQUID_IPFILTER)
.if (${OSVERSION} >= 470000 && ${OSVERSION} < 500000) || (${OSVERSION} > 500032 && ${OSVERSION} < 501101)
.if (${OSVERSION} > 500032 && ${OSVERSION} < 501101)
IGNORE= the IPFilter headers are not part of the base system
.else
CONFIGURE_ARGS+= --enable-ipf-transparent

View file

@ -13,17 +13,13 @@ MASTER_SITES= http://www.kryltech.com/download/FreeBSD.x86.3/
MAINTAINER= support@kryltech.com
COMMENT= Adds the search capability to a Web site
LIB_DEPENDS= c.3:${PORTSDIR}/misc/compat3x
ONLY_FOR_ARCHS= i386
NO_BUILD= yes
INSTALL_RWDATA= ${INSTALL} ${COPY} -o ${SHAREOWN} -g ${SHAREGRP} -m 666
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400000
LIB_DEPENDS+= c.3:${PORTSDIR}/misc/compat3x
.endif
do-install:
@${MKDIR} ${PREFIX}/www/cgi-bin/ssserverdata
@${INSTALL_PROGRAM} ${WRKSRC}/ssserver ${PREFIX}/www/cgi-bin
@ -89,4 +85,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -24,8 +24,7 @@ MAN1= ctwm.1
.include <bsd.port.pre.mk>
# Very old versions need GNU m4
.if ( ${OSVERSION} < 450005 || \
( ${OSVERSION} >= 500000 && ${OSVERSION} < 500034 ) )
.if ( ${OSVERSION} < 500034 )
EXTRA_PATCHES+= ${FILESDIR}/gm4-patch
BUILD_DEPENDS+= gm4:${PORTSDIR}/devel/m4
RUN_DEPENDS+= gm4:${PORTSDIR}/devel/m4

View file

@ -115,12 +115,7 @@ IGNORE= is part of XFree86 and you have ${X_WINDOW_SYSTEM} set for X11\
of FAQ for more information
.endif
# BuildXF86DRI is false for FreeBSD < 4.1
.if ${OSVERSION} < 410000
PLIST_SUB+= OSMESA:="@comment "
.else
PLIST_SUB+= OSMESA:=""
.endif
# sparc64 doesn't have a working libc_r yet, and -current doesn't need
# libXThrStub.