Remove support for OSVERSION < 5

This commit is contained in:
Edwin Groothuis 2007-10-04 00:00:38 +00:00
parent 4c021c0e37
commit 0d263e77cb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200765
8 changed files with 7 additions and 51 deletions

View file

@ -139,17 +139,6 @@ post-clean:
.endif
post-install:
.if defined(OSVERSION) && ${OSVERSION} < 400012
@${ECHO} "********************************************************"
@${ECHO} "* Please Note: *"
@${ECHO} "********************************************************"
@${ECHO} "You have FreeBSD version <= 4.0. If you want to print "
@${ECHO} "troff files then you have to install the grog utility "
@${ECHO} "from groff sources: "
@${ECHO} " cp /usr/src/contrib/groff/grog/grog.sh /usr/bin/grog"
@${ECHO} " chmod 555 /usr/bin/grog "
@${ECHO} "--------------------------------------------------------"
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View file

@ -19,12 +19,6 @@ NO_WRKSUBDIR= yes
USE_X_PREFIX= yes
CXXFLAGS+= -I${X11BASE}/include -L${X11BASE}/lib
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400010
LIB_DEPENDS+= ncurses.5:${PORTSDIR}/devel/ncurses
.endif
post-patch:
@${REINPLACE_CMD} -e "s|ulong|unsigned long|g;;s|malloc.h|stdlib.h|g" ${WRKSRC}/src/face/video_x.cpp
@${REINPLACE_CMD} -e "s|g++|${CXX} ${CXXFLAGS}|g" ${WRKSRC}/src/bin/makefile.exe
@ -36,4 +30,4 @@ do-build:
do-install:
@cd ${WRKSRC}/bin && ${MAKE} install
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -19,10 +19,8 @@ COMMENT= BitDefender Console Antivirus for FreeBSD
.if ${OSVERSION} >= 600000
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
.endif
.if ${OSVERSION} < 490000 || ${OSVERSION} >= 500000 && ${OSVERSION} < 502001
.if ${OSVERSION} >= 500000 && ${OSVERSION} < 502001
IGNORE= requires FreeBSD-STABLE \(4.9 or later\), or FreeBSD-CURRENT \(5.2.1 or later\)
.elif ${OSVERSION} < 500000
BDREL= 4
.else
BDREL= 5
.endif

View file

@ -171,11 +171,7 @@ PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
PKGINSTALL= ${WRKDIR}/pkg-install
PKGMESSAGE= ${WRKDIR}/pkg-message
.if ${OSVERSION} < 450000
FMT= /usr/bin/fmt
.else
FMT= /usr/bin/fmt -w 67
.endif
pre-fetch:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.sasl

View file

@ -22,11 +22,7 @@ USE_PERL5= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
PKGDEINSTALL= ${WRKDIR}/pkg-deinstall
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 490000
IGNORE= "Not supported on releases prior to 4.9"
.endif
.include <bsd.port.mk>
do-extract:
[ -d ${WRKDIR} ] || ${MKDIR} ${WRKDIR}
@ -52,4 +48,4 @@ do-install:
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -45,12 +45,6 @@ MAN5= secsh.5 SPKI.5 SHA.5 DSA.5
MAN8= sftp-server.8 lshd.8
INFO= lsh nettle
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 400014
CONFIGURE_ARGS+= --without-ipv6
.endif
post-install:
.for BIN in lsh lsh-keygen lsh-writekey sexp-conv srp-gen lsh-decode-key
${STRIP_CMD} ${PREFIX}/bin/${BIN}
@ -63,4 +57,4 @@ test:
(cd ${WRKSRC}/src/testsuite && ${SETENV} ${MAKE_ENV} \
${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -46,16 +46,11 @@ MAN8= auditfilterd.8
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= does not compile on 4.X
.else
.if ${OSVERSION} < 600000
BROKEN= does not package on 5.X
.endif
.endif
.if ( ( ${OSVERSION} < 500000 && ${OSVERSION} > 491101 ) || \
( ${OSVERSION} < 600000 && ${OSVERSION} > 503100 ) || \
.if ( ( ${OSVERSION} < 600000 && ${OSVERSION} > 503100 ) || \
${OSVERSION} >= 600000 )
MAN8+= audit.8 \
auditd.8

View file

@ -22,15 +22,9 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 490000
IGNORE= "Not supported on releases prior to 4.9"
.endif
do-install:
@${MKDIR} ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/*.pl ${PREFIX}/sbin
${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>