Remove always true/always false OSVERSION conditions.

This commit is contained in:
Edwin Groothuis 2007-10-04 23:08:40 +00:00
parent b3b49aa5ed
commit c947287940
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200870
10 changed files with 23 additions and 72 deletions

View file

@ -76,10 +76,6 @@ CONFIGURE_ARGS+=--with-openssl
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
BROKEN= Coredump during build on alpha 4.x
.endif
.if !defined(SLAVE_ONLY)
# gnugetopt will always be used if already installed
. if ( ${OSVERSION} < 500041 ) && !exists(${LOCALBASE}/include/getopt.h)

View file

@ -29,10 +29,6 @@ CONFIGURE_ARGS= --with-statgrab=${LOCALBASE}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
EXTRA_LIBS= -lkvm
.endif
.if ${PHP_VER} < 5
post-patch:
@${PATCH} -d ${WRKSRC} -p0 < ${FILESDIR}/php_statgrab.h.patch

View file

@ -80,16 +80,6 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/coregrind/vg_unistd.h \
${PREFIX}/include/valgrind
# Check if kernel is built with USER_LDT option (FreeBSD 4 only)
.if ${OSVERSION} < 500000
@${PREFIX}/bin/valgrind --tool=memcheck true 2> ${WRKDIR}/ldt.test
@${GREP} i386_set_ldt ${WRKDIR}/ldt.test >/dev/null &&\
${ECHO_CMD} !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! && \
${ECHO_CMD} Please rebuild your kernel with ``options USER_LDT''! && \
${ECHO_CMD} Otherwise, valgrind will not be able to perform pointer analysis! && \
${ECHO_CMD} !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! || true
.endif
# Generate suppression files
.ifndef (PACKAGE_BUILDING)
@yes | ${PREFIX}/bin/valgrind --tool=memcheck --gen-suppressions=yes true 2>&1 \

View file

@ -76,16 +76,6 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/coregrind/vg_unistd.h \
${PREFIX}/include/valgrind
# Check if kernel is built with USER_LDT option (FreeBSD 4 only)
.if ${OSVERSION} < 500000
@${PREFIX}/bin/valgrind --tool=memcheck true 2> ${WRKDIR}/ldt.test
@${GREP} i386_set_ldt ${WRKDIR}/ldt.test >/dev/null &&\
${ECHO_CMD} !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! && \
${ECHO_CMD} Please rebuild your kernel with ``options USER_LDT''! && \
${ECHO_CMD} Otherwise, valgrind will not be able to perform pointer analysis! && \
${ECHO_CMD} !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! || true
.endif
.ifndef (PACKAGE_BUILDING)
@yes | ${PREFIX}/bin/valgrind --tool=memcheck --gen-suppressions=yes true 2>&1 \
| ${SED} -e 's,.*{$$,{,' \

View file

@ -33,13 +33,7 @@ NO_PACKAGE= ${RESTRICTED}
VMWARE_VER= 3.2.1
BUILD_VER= 2237
.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
@ -85,4 +79,4 @@ do-install:
fi
-${PREFIX}/sbin/vmware-guestd --cmd toolinstall.end
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -41,13 +41,7 @@ NO_LATEST_LINK= yes
VMWARE_VER= 4.5.2
BUILD_VER= 8848
.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
@ -146,4 +140,4 @@ do-install:
${LN} -sfh /usr/bin/true ${PREFIX}/share/vmware-tools/suspend-vm-default
${LN} -sfh ${PREFIX}/share/vmware-tools /etc/vmware-tools
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -102,7 +102,7 @@ PLIST_SUB+= VMWARE_VMMEMCTL="@comment "
.endif
.if defined(WITH_VMWARE_VMXNET)
.if (${OSVERSION} >= 500000) && (${OSVERSION} < 600000)
.if (${OSVERSION} < 600000)
PLIST_SUB+= VMWARE_VMXNET=""
.if ${BITS} == 32
.if ${OSVERSION} < 530000

View file

@ -39,13 +39,6 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
DRWEB_PREFIX= ${PREFIX}/${PORTNAME}
DRWEB_VARPREFIX=/var/drweb
pre-install:
.if ${OSVERSION} < 500000
PLIST_SUB= RU="@comment "
.else
PLIST_SUB= RU=""
.endif
do-install:
@${INSTALL} -dv -m 0750 ${DRWEB_PREFIX}
@${INSTALL} -dv -m 0750 ${PREFIX}/etc/drweb

View file

@ -64,30 +64,30 @@ drweb/bases/drw43321.vdb
drweb/bases/drw43322.vdb
drweb/bases/drw43323.vdb
drweb/bases/drw43324.vdb
%%RU%%drweb/bases/drw43325.vdb
%%RU%%drweb/bases/drw43326.vdb
%%RU%%drweb/bases/drw43327.vdb
%%RU%%drweb/bases/drw43328.vdb
%%RU%%drweb/bases/drw43329.vdb
%%RU%%drweb/bases/drw43330.vdb
%%RU%%drweb/bases/drw43331.vdb
%%RU%%drweb/bases/drw43332.vdb
%%RU%%drweb/bases/drw43333.vdb
%%RU%%drweb/bases/drw43334.vdb
%%RU%%drweb/bases/drw43335.vdb
%%RU%%drweb/bases/drw43336.vdb
%%RU%%drweb/bases/drw43337.vdb
%%RU%%drweb/bases/drw43338.vdb
%%RU%%drweb/bases/drw43339.vdb
%%RU%%drweb/bases/drw43340.vdb
%%RU%%drweb/bases/drw43341.vdb
drweb/bases/drw43325.vdb
drweb/bases/drw43326.vdb
drweb/bases/drw43327.vdb
drweb/bases/drw43328.vdb
drweb/bases/drw43329.vdb
drweb/bases/drw43330.vdb
drweb/bases/drw43331.vdb
drweb/bases/drw43332.vdb
drweb/bases/drw43333.vdb
drweb/bases/drw43334.vdb
drweb/bases/drw43335.vdb
drweb/bases/drw43336.vdb
drweb/bases/drw43337.vdb
drweb/bases/drw43338.vdb
drweb/bases/drw43339.vdb
drweb/bases/drw43340.vdb
drweb/bases/drw43341.vdb
drweb/bases/drwebase.vdb
drweb/bases/drwnasty.vdb
drweb/bases/drwrisky.vdb
drweb/bases/dwn43301.vdb
%%RU%%drweb/bases/dwn43302.vdb
%%RU%%drweb/bases/dwn43303.vdb
%%RU%%drweb/bases/dwr43301.vdb
drweb/bases/dwn43302.vdb
drweb/bases/dwn43303.vdb
drweb/bases/dwr43301.vdb
drweb/bases/update.drl
@dirrm drweb/bases
@dirrm drweb/infected

View file

@ -67,11 +67,9 @@ Gecko_Pre_Include= bsd.gecko.mk
# ${WRKSRC}/configure
# .endif
.if ${OSVERSION} >= 500000
.if (${ARCH}!="sparc64" || ${OSVERSION} >= 601101) && ${ARCH}!="ia64"
_GECKO_ALL= firefox nvu seamonkey thunderbird xulrunner flock firefox15
.endif
.endif
_GECKO_ALL+= mozilla
thunderbird_PORTSDIR= mail