1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Remove code remnants that test for 3.X and earlier releases of FreeBSD.

The bsd.*.mk architecture has not supported these antique releases for
quite some time.

Hat:		portmgr
This commit is contained in:
Mark Linimon 2006-06-23 05:28:33 +00:00
parent 2b2737e54b
commit 0c9df415d1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=166082
9 changed files with 4 additions and 49 deletions

View File

@ -56,10 +56,6 @@ VERSION= 2.9011.496
VERSION= 2.9012.497
.endif
.if ${OSVERSION} < 300000
IGNORE= requires FreeBSD 3.X or greater
.endif
do-configure:
@if [ ! -f ${PREFIX}/dnetc.ini ]; then \
${INSTALL} -c -m 644 ${FILESDIR}/dnetc.ini ${WRKSRC}; \

View File

@ -16,9 +16,6 @@ COMMENT= A tool to convert VCDs from cue/bin format to mpeg
ONLY_FOR_ARCHS= alpha i386 amd64
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300004
IGNORE= "Only an ELF binary is distributed; requires FreeBSD 3.1 or later"
.endif
.if ${ARCH} == i386 || ${ARCH} == amd64
DISTNAME= ${PORTNAME}16d_i386_freebsd42

View File

@ -18,12 +18,6 @@ COMMENT= Determine the remote OS using simple tcp packets
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300004
LIB_DEPENDS= pcap.2:${PORTSDIR}/net/libpcap
.endif
post-install:
#${INSTALL_PROGRAM} ${WRKSRC}/queso ${PREFIX}/sbin
#${INSTALL_DATA} ${WRKSRC}/queso.conf ${PREFIX}/etc
@ -32,4 +26,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/Documentation.txt ${PREFIX}/share/doc/queso
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -13,13 +13,9 @@ MASTER_SITES= # disappeared
MAINTAINER= shipley@dis.org
COMMENT= Utility for detecting traceroutes and reporting them via syslog
.include <bsd.port.pre.mk>
pre-configure:
${REINPLACE_CMD} -e 's/trdetect/tdetect/g' ${WRKSRC}/config.h
.if ${OSVERSION} > 330002
${REINPLACE_CMD} -e 's/LOG_AUTHPRIV/LOG_SECURITY/g' ${WRKSRC}/config.h
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/tdetect ${PREFIX}/sbin/tdetect
@ -31,4 +27,4 @@ post-install:
${SED} -e 's,/usr/local,${PREFIX},g' ${PKGMESSAGE}; \
fi
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -18,11 +18,6 @@ COMMENT= A telnet-like application which uses a secure SSL channel
GNU_CONFIGURE= yes
USE_OPENSSL= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} <= 300000
BROKEN= does not build
.endif
do-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@ -32,4 +27,4 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/slush ${PREFIX}/bin/slush
${INSTALL_PROGRAM} ${WRKSRC}/slushd ${PREFIX}/sbin/slushd
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -19,12 +19,6 @@ USE_PERL5_BUILD= yes
WRKSRC= ${WRKDIR}/cd-write
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300000
IGNORE= "FreeBSD 3.X or greater is required to support this port"
.endif
PLIST_FILES= bin/cd-write
pre-build:
@ -39,4 +33,4 @@ pre-build:
post-install:
@PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -42,11 +42,7 @@ PORTDOCS= COPYRIGHT README Themes.html
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300000
ALL_TARGET= freebsd2
.else
ALL_TARGET= freebsd
.endif
BINGRP= kmem
.if defined(WITH_SENSOR)

View File

@ -81,11 +81,7 @@ MAN1PREFIX= ${X11BASE}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 300000
ALL_TARGET= freebsd2
.else
ALL_TARGET= freebsd
.endif
INSTALL_TARGET= install_freebsd
MAKE_ENV+= INSTALLROOT=${X11BASE} INSTALLDIR=${X11BASE}/bin \

View File

@ -31,17 +31,8 @@ IGNORE= "is included in the base system"
DISTNAME= ${PORTNAME}-current-${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}-current
.else
. if ${OSVERSION} <= 300000
MAKE_ENV+= NEED_KMEM=1
. endif
DISTNAME= ${PORTNAME}-stable-${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}-stable
.endif
post-install:
.if ${OSVERSION} <= 300000
@${CHGRP} kmem ${PREFIX}/bin/pkill
@${CHMOD} 2555 ${PREFIX}/bin/pkill
.endif
.include <bsd.port.post.mk>