- Remove outdated version checks

Reviewed by:	nox
This commit is contained in:
Eitan Adler 2012-01-09 04:01:17 +00:00
parent 6f72b01686
commit e1925f7102
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288805
29 changed files with 50 additions and 134 deletions

View file

@ -23,10 +23,6 @@ MAN1= ar.1 ranlib.1
DEPRECATED= part of the base system
EXPIRATION_DATE=2013-02-28
.if ${OSVERSION} < 700055
IGNORE= does not compile
.endif
.if ${OSVERSION} >= 800022
IGNORE= bsdar is now part of the base system as /usr/bin/ar
.endif

View file

@ -30,7 +30,7 @@ USE_GMAKE= yes
.if ${ARCH} == "alpha"
BROKEN= Broken pkg-plist on alpha
.elif ${ARCH} == "sparc64" && ${OSVERSION} >= 700042
.elif ${ARCH} == "sparc64"
BROKEN= Fails to install
.endif

View file

@ -36,11 +36,9 @@ MAN1= ace-gperf.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700015
EXTRA_PATCHES+= ${FILESDIR}/extra-ace-OS_NS_netdb.inl
.endif
.if ${OSVERSION} >= 700110 && ${OSVERSION} < 800000
.if ${OSVERSION} < 800000
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-ace-OS_NS_Thread.h
.endif
@ -50,7 +48,7 @@ post-extract:
post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
's|@libdir@/pkgconfig|@prefix@/libdata/pkgconfig|g'
.if (${OSVERSION} >= 700110 && ${OSVERSION} < 800000) || ${OSVERSION} >= 800024
.if (${OSVERSION} < 800000) || ${OSVERSION} >= 800024
@${REINPLACE_CMD} -e 's|cpu_set_t|cpuset_t|g' ${WRKSRC}/ace/OS_NS_Thread.cpp \
${WRKSRC}/ace/OS_NS_Thread.h
.endif

View file

@ -79,10 +79,8 @@ post-install:
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN= Does not compile with GCC 4.2
.endif
.endif
.include <bsd.port.post.mk>

View file

@ -31,13 +31,9 @@ BROKEN= does not build
# This port only works on i386 right now.
ONLY_FOR_ARCHS= i386
.if ${OSVERSION} >= 700042
USING_GCC4= true
MAKE_ENV+= USING_GCC4=true
.else
USING_GCC3= true
MAKE_ENV+= USING_GCC3=true
.endif
.if defined(LINUXTHREADS_INSTALL_LIBLTHREAD_PIC_ARCHIVE)
MAKE_ENV+= INSTALL_LIBLTHREAD_PIC_ARCHIVE=yes
.endif
@ -282,10 +278,6 @@ PLIST_SUB+= LTHREADSHMAJOR:="4"
PLIST_SUB+= LTHREADSHMAJOR:="2"
.endif
.endif
.if ${OSVERSION} >= 700042
PLIST_SUB+= LIBSTDCPPMAJOR:="6"
.else
PLIST_SUB+= LIBSTDCPPMAJOR:="5"
.endif
.include <bsd.port.post.mk>

View file

@ -41,11 +41,7 @@ MAKE_ENV= STDCCFLAGS+="-I${LOCALBASE}"
CPPFLAGS+= -O1 -I${WRKSRC}/include -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
.if ${OSVERSION} >= 700042
CONFIGURE_ENV+= ATOMICITY_H="<ext/atomicity.h>"
.else
CONFIGURE_ENV+= ATOMICITY_H="<bits/atomicity.h>"
.endif
# if explicitely asked for, depend upon it
.if defined(WITH_SDL)

View file

@ -27,9 +27,7 @@ post-patch:
@${REINPLACE_CMD} -e '45s,^.*$$,#include "py_curses.h",' \
${WRKSRC}/ncurses/${f}
.endfor
.if ${OSVERSION} > 700033
@${REINPLACE_CMD} -e '/^extern int define_key(/d' \
${WRKSRC}/ncurses/_curses_wrap.c
.endif
.include <bsd.port.post.mk>

View file

@ -24,11 +24,9 @@ GNU_CONFIGURE= yes
EXTRA_PATCHES+= ${FILESDIR}/gcc3-*
.if ${OSVERSION} >= 700042
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN= Does not compile with GCC 4.2
.endif
.endif
pre-patch: .SILENT
${REINPLACE_CMD} -e 's|malloc\.h|stdlib\.h|' \

View file

@ -31,9 +31,7 @@ LICENSE_FILES= ${WRKSRC}/../COPYING
post-patch:
@${REINPLACE_CMD} -e 's|^DEFINES|# DEFINES|g' ${WRKSRC}/lfhex.pro
.if ${OSVERSION} >= 700042
@${REINPLACE_CMD} -e 's| abs| llabs|g' ${WRKSRC}/reader.cpp
.endif
do-configure:
@cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS}

View file

@ -29,19 +29,16 @@ PORTDOCS= install.html README README.freebsd LICENSE
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 800000
.if ${OSVERSION} >= 900000
BINVER= 9.0
.elif ${OSVERSION} >= 800000
BINVER= 8.0
.elif ${OSVERSION} >= 700000
BINVER= 7.0
.else
BINVER= 6.0
BINVER= 7.0
.endif
.if ${ARCH} == amd64
DIST_ARCH= x86_64
.if ${BINVER} == "6.0"
BINVER= 6.2
.endif
.else
DIST_ARCH= i386
.endif

View file

@ -24,9 +24,7 @@ USE_GMAKE= yes
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} >= 700042
@${REINPLACE_CMD} -e 's/static void/void/g' ${WRKSRC}/game.c
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/vms-empire ${PREFIX}/bin/empire

View file

@ -58,12 +58,6 @@ CONFIGURE_ARGS+= --disable-mmx --disable-sse
BROKEN= Does not compile on ia64, powerpc, or sparc64
.endif
.if ${OSVERSION} < 700000
PLIST_SUB+= DISABLED="@comment "
.else
PLIST_SUB+= DISABLED=""
.endif
.if defined(WITH_AVCODEC)
LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg
PLIST_SUB+= AVCODEC=""

View file

@ -5,9 +5,9 @@ lib/enfle/plugins/archiver/archiver_arc.so
lib/enfle/plugins/archiver/archiver_rar.a
lib/enfle/plugins/archiver/archiver_rar.la
lib/enfle/plugins/archiver/archiver_rar.so
%%DISABLED%%lib/enfle/plugins/archiver/archiver_tar.a
%%DISABLED%%lib/enfle/plugins/archiver/archiver_tar.la
%%DISABLED%%lib/enfle/plugins/archiver/archiver_tar.so
lib/enfle/plugins/archiver/archiver_tar.a
lib/enfle/plugins/archiver/archiver_tar.la
lib/enfle/plugins/archiver/archiver_tar.so
lib/enfle/plugins/audio/audio_esd.a
lib/enfle/plugins/audio/audio_esd.la
lib/enfle/plugins/audio/audio_esd.so
@ -17,33 +17,33 @@ lib/enfle/plugins/audio/audio_oss.so
%%AVCODEC%%lib/enfle/plugins/audiodecoder/audiodecoder_avcodec.a
%%AVCODEC%%lib/enfle/plugins/audiodecoder/audiodecoder_avcodec.la
%%AVCODEC%%lib/enfle/plugins/audiodecoder/audiodecoder_avcodec.so
%%DISABLED%%lib/enfle/plugins/audiodecoder/audiodecoder_mad.a
%%DISABLED%%lib/enfle/plugins/audiodecoder/audiodecoder_mad.la
%%DISABLED%%lib/enfle/plugins/audiodecoder/audiodecoder_mad.so
%%DISABLED%%lib/enfle/plugins/audiodecoder/audiodecoder_mpglib.a
%%DISABLED%%lib/enfle/plugins/audiodecoder/audiodecoder_mpglib.la
%%DISABLED%%lib/enfle/plugins/audiodecoder/audiodecoder_mpglib.so
%%DISABLED%%lib/enfle/plugins/audiodecoder/audiodecoder_vorbis.a
%%DISABLED%%lib/enfle/plugins/audiodecoder/audiodecoder_vorbis.la
%%DISABLED%%lib/enfle/plugins/audiodecoder/audiodecoder_vorbis.so
%%DISABLED%%lib/enfle/plugins/demultiplexer/demultiplexer_avi.a
%%DISABLED%%lib/enfle/plugins/demultiplexer/demultiplexer_avi.la
%%DISABLED%%lib/enfle/plugins/demultiplexer/demultiplexer_avi.so
%%DISABLED%%lib/enfle/plugins/demultiplexer/demultiplexer_mp3.a
%%DISABLED%%lib/enfle/plugins/demultiplexer/demultiplexer_mp3.la
%%DISABLED%%lib/enfle/plugins/demultiplexer/demultiplexer_mp3.so
%%DISABLED%%lib/enfle/plugins/demultiplexer/demultiplexer_mpeg.a
%%DISABLED%%lib/enfle/plugins/demultiplexer/demultiplexer_mpeg.la
%%DISABLED%%lib/enfle/plugins/demultiplexer/demultiplexer_mpeg.so
%%DISABLED%%lib/enfle/plugins/demultiplexer/demultiplexer_ogg.a
%%DISABLED%%lib/enfle/plugins/demultiplexer/demultiplexer_ogg.la
%%DISABLED%%lib/enfle/plugins/demultiplexer/demultiplexer_ogg.so
%%DISABLED%%lib/enfle/plugins/effect/effect_gamma.a
%%DISABLED%%lib/enfle/plugins/effect/effect_gamma.la
%%DISABLED%%lib/enfle/plugins/effect/effect_gamma.so
%%DISABLED%%lib/enfle/plugins/effect/effect_rotate.a
%%DISABLED%%lib/enfle/plugins/effect/effect_rotate.la
%%DISABLED%%lib/enfle/plugins/effect/effect_rotate.so
lib/enfle/plugins/audiodecoder/audiodecoder_mad.a
lib/enfle/plugins/audiodecoder/audiodecoder_mad.la
lib/enfle/plugins/audiodecoder/audiodecoder_mad.so
lib/enfle/plugins/audiodecoder/audiodecoder_mpglib.a
lib/enfle/plugins/audiodecoder/audiodecoder_mpglib.la
lib/enfle/plugins/audiodecoder/audiodecoder_mpglib.so
lib/enfle/plugins/audiodecoder/audiodecoder_vorbis.a
lib/enfle/plugins/audiodecoder/audiodecoder_vorbis.la
lib/enfle/plugins/audiodecoder/audiodecoder_vorbis.so
lib/enfle/plugins/demultiplexer/demultiplexer_avi.a
lib/enfle/plugins/demultiplexer/demultiplexer_avi.la
lib/enfle/plugins/demultiplexer/demultiplexer_avi.so
lib/enfle/plugins/demultiplexer/demultiplexer_mp3.a
lib/enfle/plugins/demultiplexer/demultiplexer_mp3.la
lib/enfle/plugins/demultiplexer/demultiplexer_mp3.so
lib/enfle/plugins/demultiplexer/demultiplexer_mpeg.a
lib/enfle/plugins/demultiplexer/demultiplexer_mpeg.la
lib/enfle/plugins/demultiplexer/demultiplexer_mpeg.so
lib/enfle/plugins/demultiplexer/demultiplexer_ogg.a
lib/enfle/plugins/demultiplexer/demultiplexer_ogg.la
lib/enfle/plugins/demultiplexer/demultiplexer_ogg.so
lib/enfle/plugins/effect/effect_gamma.a
lib/enfle/plugins/effect/effect_gamma.la
lib/enfle/plugins/effect/effect_gamma.so
lib/enfle/plugins/effect/effect_rotate.a
lib/enfle/plugins/effect/effect_rotate.la
lib/enfle/plugins/effect/effect_rotate.so
lib/enfle/plugins/loader/loader_bmp.a
lib/enfle/plugins/loader/loader_bmp.la
lib/enfle/plugins/loader/loader_bmp.so
@ -122,24 +122,24 @@ lib/enfle/plugins/video/video_Xlib.so
%%AVCODEC%%lib/enfle/plugins/videodecoder/videodecoder_avcodec.a
%%AVCODEC%%lib/enfle/plugins/videodecoder/videodecoder_avcodec.la
%%AVCODEC%%lib/enfle/plugins/videodecoder/videodecoder_avcodec.so
%%DISABLED%%lib/enfle/plugins/videodecoder/videodecoder_libmpeg2.a
%%DISABLED%%lib/enfle/plugins/videodecoder/videodecoder_libmpeg2.la
%%DISABLED%%lib/enfle/plugins/videodecoder/videodecoder_libmpeg2.so
%%DISABLED%%lib/enfle/plugins/videodecoder/videodecoder_raw.a
%%DISABLED%%lib/enfle/plugins/videodecoder/videodecoder_raw.la
%%DISABLED%%lib/enfle/plugins/videodecoder/videodecoder_raw.so
lib/enfle/plugins/videodecoder/videodecoder_libmpeg2.a
lib/enfle/plugins/videodecoder/videodecoder_libmpeg2.la
lib/enfle/plugins/videodecoder/videodecoder_libmpeg2.so
lib/enfle/plugins/videodecoder/videodecoder_raw.a
lib/enfle/plugins/videodecoder/videodecoder_raw.la
lib/enfle/plugins/videodecoder/videodecoder_raw.so
%%DATADIR%%/enfle.rc
@dirrm %%DATADIR%%
%%DISABLED%%@dirrm lib/enfle/plugins/videodecoder
@dirrm lib/enfle/plugins/videodecoder
@dirrm lib/enfle/plugins/video
@dirrm lib/enfle/plugins/ui
@dirrm lib/enfle/plugins/streamer
@dirrm lib/enfle/plugins/saver
@dirrm lib/enfle/plugins/player
@dirrm lib/enfle/plugins/loader
%%DISABLED%%@dirrm lib/enfle/plugins/effect
%%DISABLED%%@dirrm lib/enfle/plugins/demultiplexer
%%DISABLED%%@dirrm lib/enfle/plugins/audiodecoder
@dirrm lib/enfle/plugins/effect
@dirrm lib/enfle/plugins/demultiplexer
@dirrm lib/enfle/plugins/audiodecoder
@dirrm lib/enfle/plugins/audio
@dirrm lib/enfle/plugins/archiver
@dirrm lib/enfle/plugins

View file

@ -29,11 +29,9 @@ post-install:
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
.if ${ARCH} == "amd64"
BROKEN= Does not configure
.endif
.endif
.if ${OSVERSION} >= 800000
BROKEN= Does not build
.endif

View file

@ -36,11 +36,9 @@ FFLAGS+= -fno-range-check -ffixed-line-length-132
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
.if ${ARCH} == "sparc64"
BROKEN= Does not compile with GCC 4.2: internal compiler error
.endif
.endif
.if defined(WITHOUT_IMAGEMAGICK)
PLIST_SUB+= IMAGEMAGICK="@comment "

View file

@ -29,11 +29,9 @@ MAN1= M.1 mahogany.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN= Does not compile with GCC 4.2
.endif
.endif
.if !defined(WITHOUT_NLS)
USE_GETTEXT= yes

View file

@ -30,11 +30,9 @@ CONFIGURE_ARGS+= --enable-html-doc --with-html-dir=${DOCSDIR}
CONFIGURE_ARGS+= --disable-html-doc
.endif
.if ${OSVERSION} >= 700042
.if ${ARCH} == "amd64" || ${ARCH} == "sparc64"
BROKEN= Does not compile with GCC 4.2
.endif
.endif
test: build
@cd ${WRKSRC} && ${GMAKE} test

View file

@ -38,10 +38,5 @@ do-install:
${DOCSDIR}/README.`${BASENAME} ${TOOL}`
.endfor
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700052
IGNORE= broken by removal of wicontrol ioctls from if_wavelan_ieee.h
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -41,10 +41,6 @@ EXAMPLESDIR= ${PREFIX}/share/examples/openh323
.include <bsd.port.pre.mk>
.if ${ARCH} == sparc64 && ${OSVERSION} <= 700003
BROKEN= does not link due to missing symbol in default thread library
.endif
.if defined(WITH_FDSET)
CONFIGURE_ARGS+= --with-large-fdset=${WITH_FDSET}
.endif

View file

@ -30,11 +30,7 @@ do-install:
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700048
CFLAGS+= -DHAVE_IP_MREQ -DHAVE_IPV6_MREQ
.else
CFLAGS+= -DHAVE_IP_MREQ -DHAVE_IPV6_MREQ -DHAVE_IP_MREQN \
-DHAVE_GROUP_SOURCE_REQ
.endif
.include <bsd.port.post.mk>

View file

@ -45,9 +45,7 @@ post-patch:
.for f in conf.h ike_auth.c isakmpd.8 isakmpd.conf.5 isakmpd.policy.5 policy.h
${REINPLACE_CMD} -e "s!/etc/!${PREFIX}/etc/!" ${WRKSRC}/${f}
.endfor
.if ${OSVERSION} > 700050
@${REINPLACE_CMD} -e "s!netinet6/ipsec.h!netipsec/ipsec.h!" \
${WRKSRC}/sysdep/freebsd/sysdep-os.h
.endif
.include <bsd.port.post.mk>

View file

@ -48,10 +48,8 @@ post-install:
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
.if ${ARCH} == "sparc64"
BROKEN= Does not compile with GCC 4.2
.endif
.endif
.include <bsd.port.post.mk>

View file

@ -30,9 +30,7 @@ BROKEN= fails to build with new utmpx
post-patch:
@${GREP} -slR "malloc\.h" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
's|malloc\.h|stdlib\.h|g'
.if ${OSVERSION} >= 700042
@${REINPLACE_CMD} -e 's/^struct.*\*sgetspent.*(const.*//' ${WRKSRC}/base/lib/shadow_.h
.endif
post-install:
.if !defined(NOPORTDOCS)

View file

@ -59,9 +59,7 @@ showinfo:
BROKEN= does not compile on FreeBSD 9.X
.endif
.if ${OSVERSION} > 700000
PKGMESSAGE= ${PKGDIR}/pkg-message-7
.endif
.if defined(WITH_FLAC)
PLIST_SUB+= FLAC=""

View file

@ -23,11 +23,9 @@ PLIST_FILES= bin/opensched
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 700042
.if ${ARCH} == "i386"
BROKEN= Does not install
.endif
.endif
.if ${ARCH} == "alpha"
BROKEN= Does not compile

View file

@ -142,10 +142,6 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/src/xercesc/Makefile.incl \
${WRKSRC}/src/xercesc/runConfigure
.if ${OSVERSION} < 700000
@${REINPLACE_CMD} -e 's,-lgcc,-lgcc_pic,' \
${WRKSRC}/src/xercesc/Makefile.incl
.endif
pre-configure:
@${CHMOD} 700 ${CONFIGURE_WRKSRC}/runConfigure

View file

@ -25,10 +25,4 @@ USE_GMAKE= yes
USE_AUTOTOOLS= aclocal automake autoconf
ACLOCAL_ARGS= -I ${LOCALBASE}/share/aclocal
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700042
QTCFGLIBS+= ${PTHREAD_LIBS}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -49,10 +49,6 @@ PORTDOCS= *
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/www/firefox/Makefile.webplugins"
.if ${OSVERSION} < 700042
BROKEN= Does not compile
.endif
.if ${ARCH} == "sparc64"
BROKEN= Gets internal gcc error on ${ARCH}
.endif

View file

@ -23,9 +23,7 @@ ONLY_FOR_ARCHS= i386
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 700042
LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xscoop6 ${PREFIX}/bin/xscoop