1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00

Remove support for OSVERSION < 5

This commit is contained in:
Edwin Groothuis 2007-10-03 23:00:29 +00:00
parent bf149172eb
commit 9aaccaed7d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200756
10 changed files with 11 additions and 70 deletions

View File

@ -30,12 +30,6 @@ PLIST_SUB= NLS="@comment "
MAN1= motor.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400010
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
.endif
post-patch:
@${REINPLACE_CMD} -e 's|zxvf|&o|' ${WRKSRC}/share/Makefile.in
@ -45,4 +39,4 @@ post-install:
@(cd ${WRKSRC} ; ${INSTALL_DATA} FAQ README ${DOCSDIR})
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -15,7 +15,7 @@ DISTNAME= PyKQueue-${PORTVERSION}
EXTRACT_SUFX= .tbz
MAINTAINER= ports2@dclg.ca
COMMENT= Python interface to kqueue(2) and kevent(2) system calls
COMMENT= Python interface to kqueue(2) and kevent(2) system calls
USE_BZIP2= yes
USE_PYTHON= yes
@ -25,9 +25,6 @@ MAKE_ENV= MAINCC=${CC}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400018
IGNORE="requires new kqueue API"
.endif
.if ${OSVERSION} >= 500000 && ${OSVERSION} < 500010
IGNORE="requires new kqueue API"
.endif

View File

@ -17,6 +17,7 @@ COMMENT= Common subroutines for UCL mbone applications
WRKSRC= ${WRKDIR}/common
GNU_CONFIGURE= yes
USE_OPENSSL= yes
CONFIGURE_ARGS= --enable-ipv6
post-configure:
@for f in ${FILESDIR}/*.bsd ; do \
@ -34,10 +35,4 @@ post-build test:
do-install:
cd ${WRKSRC}/src && ${MAKE_ENV} ${MAKE} install
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 400014
CONFIGURE_ARGS+= --enable-ipv6
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -34,12 +34,6 @@ PLIST_DIRS= share/biew
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400010
LIB_DEPENDS= ncurses.5:${PORTSDIR}/devel/ncurses
HOST_CFLAGS+= -D__FreeBSD_version=${OSVERSION} -I${LOCALBASE}/include
HOST_LD+= -L${LOCALBASE}/lib
.endif
OST_CFLAGS= ${CFLAGS} -DPREFIX="\'\"${PREFIX}\"\'"
MAKEFILE= makefile

View File

@ -27,11 +27,7 @@ MAN1= mp.1
.include <bsd.port.pre.mk>
.if defined(WITH_CURSES)
.if ${OSVERSION} < 400010
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
.endif
.else
.if !defined(WITH_CURSES)
CONFIGURE_ARGS+= --without-curses
.endif

View File

@ -23,12 +23,6 @@ ALL_TARGET= ne
MAKE_ARGS= CFLAGS="${CFLAGS} -DNOWCHAR" CC="${CC}" \
GLOBALDIR="${DATADIR}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400010
LIB_DEPENDS+= ncurses:${PORTSDIR}/devel/ncurses
.endif
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAN1= ne.1
@ -48,4 +42,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC:S/src//}doc/ne.txt ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -28,14 +28,9 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
MAN1= BasiliskII.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 400012
CFLAGS+= -fpermissive
.endif
CFLAGS= -fpermissive
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -34,10 +34,6 @@ SRC_BASE?= /usr/src
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400013
IGNORE= needs a system more recent than 400013
.endif
.if ${OSVERSION} < 500104
PLIST_SUB+= MAKEDEV=""
.else

View File

@ -53,11 +53,7 @@ BUILD_VER= 19175
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
MOUNT_DEV?= /dev/acd0c
.else
MOUNT_DEV?= /dev/acd0
.endif
MOUNT_PT?= /mnt
MOUNT= /sbin/mount
UMOUNT= /sbin/umount
@ -94,10 +90,7 @@ PLIST_SUB+= VMWARE_VMMEMCTL:="@comment "
.endif
.if defined(WITH_VMWARE_VMXNET)
.if (${OSVERSION} >= 480000) && (${OSVERSION} < 500000) && (${BITS} == 32)
PLIST_SUB+= VMWARE_VMXNET:=""
VMWARE_VMXNET_PATH= 4.9/vmxnet.ko
.elif (${OSVERSION} >= 500000) && (${OSVERSION} < 600000)
.if (${OSVERSION} < 600000)
PLIST_SUB+= VMWARE_VMXNET:=""
.if ${BITS} == 32
VMWARE_VMXNET_PATH= 5.3-i386/vmxnet.ko

View File

@ -55,11 +55,7 @@ BUILD_VER= 55017
LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
.endif
.if ${OSVERSION} < 500000
MOUNT_DEV?= /dev/acd0c
.else
MOUNT_DEV?= /dev/acd0
.endif
MOUNT_PT?= /mnt
MOUNT= /sbin/mount
UMOUNT= /sbin/umount
@ -69,7 +65,7 @@ BITS?= 32
.else # ${ARCH} == amd64
BITS?= 64
.endif
.if ((${OSVERSION} >= 500000) && (${OSVERSION} < 530000)) && (${ARCH} == i386)
.if (${OSVERSION} < 530000) && (${ARCH} == i386)
OSSFX?= -50
.elif ${OSVERSION} < 600000
OSSFX?=
@ -106,16 +102,7 @@ PLIST_SUB+= VMWARE_VMMEMCTL="@comment "
.endif
.if defined(WITH_VMWARE_VMXNET)
.if (${OSVERSION} >= 300000) && (${OSVERSION} < 400000) && (${BITS} == 32)
PLIST_SUB+= VMWARE_VMXNET=""
VMWARE_VMXNET_PATH= 3.2/vmxnet.ko
.elif (${OSVERSION} >= 400000) && (${OSVERSION} < 480000) && (${BITS} == 32)
PLIST_SUB+= VMWARE_VMXNET=""
VMWARE_VMXNET_PATH= 4.0/vmxnet.ko
.elif (${OSVERSION} >= 480000) && (${OSVERSION} < 500000) && (${BITS} == 32)
PLIST_SUB+= VMWARE_VMXNET=""
VMWARE_VMXNET_PATH= 4.9/vmxnet.ko
.elif (${OSVERSION} >= 500000) && (${OSVERSION} < 600000)
.if (${OSVERSION} >= 500000) && (${OSVERSION} < 600000)
PLIST_SUB+= VMWARE_VMXNET=""
.if ${BITS} == 32
.if ${OSVERSION} < 530000