1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

Remove always-false/true conditions based on OSVERSION 500000

This commit is contained in:
Edwin Groothuis 2007-10-04 00:24:54 +00:00
parent 9f89962a6d
commit e74f1f2ba2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200769
28 changed files with 15 additions and 150 deletions

View File

@ -29,12 +29,6 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
USE_GETTEXT= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
USE_GCC= 3.3+
.endif
post-patch:
@${REINPLACE_CMD} -e "s,-lpthread,${PTHREAD_LIBS},g" ${WRKSRC}/configure
@ -46,4 +40,4 @@ post-install:
${INSTALL_MAN} ${WRKSRC}/doc/en/index.docbook ${PREFIX}/share/doc/HTML/en/ktrack/
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -32,12 +32,6 @@ CONFIGURE_ARGS= --with-qtdir=${X11BASE} --prefix=${PREFIX}
SUB_FILES= pkg-message
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= does not build on FreeBSD 4.x
.endif
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread||' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
@ -59,4 +53,4 @@ post-install:
${INSTALL_DATA} ${FILESDIR}/LinPSKConfig.xml ${EXAMPLESDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -23,12 +23,6 @@ COMMENT= Used to calculate antenna patterns useful to ham radio
#
LIB_DEPENDS= ccm:${PORTSDIR}/math/ccmath
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
USE_GCC= 3.4+
.endif
post-patch:
${CP} ${FILESDIR}/carg.c ${WRKSRC}
@ -46,4 +40,4 @@ do-install:
@${ECHO} ""
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -26,13 +26,6 @@ MAKE_ARGS+= QTDIR=${QT_PREFIX} \
QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
DESTDIR="" TARGET="qsstv" DOCSDIR="${DOCSDIR}"
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} < 500000
@${FIND} ${WRKSRC} -name '*.cpp' | ${XARGS} ${REINPLACE_CMD} -e 's|)round(|)rint(|g ; s|) round(|)rint(|g ; s|(round)|(rint)|'
.endif
do-configure:
cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${LOCALBASE}/bin/qmake -spec ${LOCALBASE}/share/qt/mkspecs/freebsd-g++ ${PORTNAME}.pro; \
@ -45,4 +38,4 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -49,8 +49,7 @@ OPTIONS= IMAP4 "Enable experimental IMAP4 backend" off
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libedataserver_e-msgport.c
.endif
.if ${OSVERSION} >= 500000 && !defined(NO_KERBEROS) && \
exists(/usr/lib/libkrb5.so)
.if !defined(NO_KERBEROS) && exists(/usr/lib/libkrb5.so)
CONFIGURE_ARGS+= --with-krb5=/usr
.else
LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal

View File

@ -76,12 +76,6 @@ OPTIONS= MYSQL "Enable MySQL support" Off \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
PLIST_SUB+= FBSD4=""
.else
PLIST_SUB+= FBSD4="@comment "
.endif
.if !defined (GRASS_INST_DIR)
GRASS_INST_DIR= ${PORTNAME}
.endif

View File

@ -370,19 +370,6 @@ bin/grass62
%%GRASS_INST_DIR%%/bwidget/utils.tcl
%%GRASS_INST_DIR%%/bwidget/widget.tcl
%%GRASS_INST_DIR%%/bwidget/xpm2image.tcl
%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/database.html
%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/display.html
%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/full_index.html
%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/general.html
%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/imagery.html
%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/index.html
%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/paint.html
%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/photo.html
%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/postGRASS.html
%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/postscript.html
%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/raster.html
%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/raster3D.html
%%FBSD4%%%%GRASS_INST_DIR%%/docs/html/vector.html
%%GRASS_INST_DIR%%/docs/html/d.ask.html
%%GRASS_INST_DIR%%/docs/html/d.barscale.html
%%GRASS_INST_DIR%%/docs/html/d.colorlist.html

View File

@ -54,10 +54,6 @@ MAN1= hk_report.1man hk_actionquery.1man hk_exportxml.1man \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= there is no wchar support
.endif
.if !defined(WITHOUT_MYSQL)
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql-dir=${LOCALBASE} \

View File

@ -22,14 +22,10 @@ PLIST_FILES= lib/libpbl.a include/pbl.h
PORTDOCS= *
.endif
.include <bsd.port.pre.mk>
post-extract:
@${REINPLACE_CMD} -e 's/= -Wall -O3/+= -Wall/' \
-e 's/^CC=/CC?=/' ${WRKSRC}/makefile
.if ${OSVERSION} >= 500000
@${REINPLACE_CMD} -e 's/%d/%zd/' ${WRKSRC}/pbl.c
.endif
@${REINPLACE_CMD} -e 's/dir\.h/dirent\.h/' ${WRKSRC}/pbl.h
@${REINPLACE_CMD} -e 's/malloc\.h/stdlib\.h/' \
${WRKSRC}/pbl.c ${WRKSRC}/pblhash.c
@ -44,4 +40,4 @@ post-install:
@${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -77,10 +77,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

@ -77,10 +77,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

@ -77,10 +77,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

@ -77,10 +77,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

@ -77,10 +77,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

@ -77,10 +77,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

@ -77,10 +77,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

@ -52,11 +52,6 @@ PREFIX2FIX= help/preferences.html totool.cpp
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
# Just defining time_t as long in topiechart.h could be sufficient?
BROKEN= does not compile with gcc 2.95
.endif
.if ${OSVERSION} >= 700000
BROKEN= does not link with oracle8-client
.endif

View File

@ -53,10 +53,6 @@ post-install:
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= requires wchar_t
.endif
.if ${OSVERSION} < 504000
CHECK_PORT= ${LOCALBASE}/bin/nc -vz localhost $$\1 2>\&1 | ${GREP} open
BUILD_DEPENDS+= ${NETCAT}:${PORTSDIR}/net/netcat

View File

@ -34,14 +34,6 @@ INFO= adesklets \
SUB_FILES= pkg-message
INSTALLS_EGGINFO= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
.endif
.if !defined(WITHOUT_PERL)
USE_PERL5= yes
PLIST_SUB+= PERL=""
@ -67,4 +59,4 @@ post-extract:
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -35,12 +35,6 @@ CFLAGS+= -g
STRIP=
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Does not build on 4.X
.endif
pre-everything::
.if !defined(WITH_DEBUG)
@${ECHO_MSG} "You may specify the following on the command line:"
@ -60,4 +54,4 @@ post-install:
.endfor
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -27,10 +27,4 @@ USE_GETTEXT= yes
PLIST_SUB+= NLS=""
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Does not compile on 4.x
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -24,10 +24,4 @@ INSTALLS_ICONS= yes
USE_GETTEXT= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= doesn't buiold
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -23,10 +23,4 @@ USE_KDEBASE_VER=3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Does not compile"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -29,10 +29,6 @@ MAKE_ENV= QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}"
CXXFLAGS+= -fpermissive
.endif
.if ${OSVERSION} < 500000
BROKEN= Does not compile on 4.x
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|%%LINKFLAGS%%|${PTHREAD_LIBS}|g ; \

View File

@ -33,7 +33,7 @@ _IGNORE_MSG= precompiled binaries, contact ahze@FreeBSD.org for build informatio
ARCH_PORTVERSION?= 0.5
.if ${ARCH}=="i386"
. if ${OSVERSION} < 600000 && ${OSVERSION} > 500000
. if ${OSVERSION} < 600000
OS_VER= 5
. elif ${OSVERSION} > 600000 && ${OSVERSION} < 700000
OS_VER= 6
@ -51,7 +51,7 @@ OS_VER= 7
IGNORE= ${_IGNORE_MSG}
. endif
.elif ${ARCH}=="amd64"
. if ${OSVERSION} < 600000 && ${OSVERSION} > 500000
. if ${OSVERSION} < 600000
OS_VER= 5
. elif ${OSVERSION} > 600000 && ${OSVERSION} < 700000
OS_VER= 6

View File

@ -32,10 +32,5 @@ post-patch:
${WRKSRC}/src/lockedfolder-extension.c
@${REINPLACE_CMD} -e 's|gladedir)"\\" \\|gladedir)"\\"|g ; \
s|.*-Werror||g' ${WRKSRC}/src/Makefile.in
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN="Does not build"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -25,7 +25,7 @@ MAN1= pal.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000 || exists(${LOCALBASE}/lib/libreadline.so.5)
.if exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS= readline.5:${PORTSDIR}/devel/readline
.endif

View File

@ -29,10 +29,6 @@ MAKE_ENV= QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}"
CXXFLAGS+= -fpermissive
.endif
.if ${OSVERSION} < 500000
BROKEN= Does not compile on 4.x
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|%%LINKFLAGS%%|${PTHREAD_LIBS}|g ; \