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 01:14:50 +00:00
parent f7c0630cd2
commit 42b9878de0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200773
40 changed files with 27 additions and 239 deletions

View File

@ -32,7 +32,7 @@ PLIST_FILES= bin/ale
BROKEN= Does not build on alpha
.endif
.if ${OSVERSION} >= 500000 && ${OSVERSION} < 600000
.if ${OSVERSION} < 600000
BROKEN= Does not build on 5.x due to internal gcc error
.endif

View File

@ -40,10 +40,6 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= does not build on FreeBSD 4.x
.endif
.if ${OSVERSION} >= 700042
BROKEN= Broken with gcc 4.2
.endif

View File

@ -26,12 +26,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" \
AUTOMAKE="${TRUE}" AUTOCONF="${TRUE}" DOXYGEN="${TRUE}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Does not build
.endif
.if defined(NOPORTDOCS)
CONFIGURE_ARGS+= --disable-docs
@ -42,4 +36,4 @@ post-configure:
@${TOUCH} -f ${WRKSRC}/docs/reference/html/index.html
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -23,12 +23,6 @@ USE_GNOME= gnometarget lthack
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} <= 500000
USE_GCC= 3.4+
.endif
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
LIBS="${LIBS} -L${LOCALBASE}/lib"
@ -37,4 +31,4 @@ post-patch:
's|-Wall||' \
${WRKSRC}/configure
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -63,10 +63,6 @@ OPTIONS= DEBUG "Build with debugging information" off \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Does not compile on 4.x
.endif
.if ${ARCH} == "sparc64"
BROKEN= Does not compile on sparc64
.endif

View File

@ -60,11 +60,4 @@ do-install:
IGNORE= requires libGL from X.Org
.endif
.if ${OSVERSION} < 500000
pre-patch:
@${REINPLACE_CMD} -e 's|stdint.h|sys/types.h|g' \
${WRKSRC}/src/mesa/drivers/dri/mga/mga_xmesa.c \
${WRKSRC}/src/mesa/drivers/dri/mga/mgacontext.h
.endif
.include <bsd.port.post.mk>

View File

@ -24,10 +24,6 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= does not build on 4.X
.endif
.if ${ARCH} == "ia64"
BROKEN= edje is broken on ia64
.endif

View File

@ -37,27 +37,10 @@ MAN1= exrblur.1 exrchr.1 exricamtm.1 exrnlm.1 exrnormalize.1 \
exrpptm.1 exrstats.1 exrtools.1 exrtopng.1 jpegtoexr.1 \
pngtoexr.1 ppmtoexr.1
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|<values\.h>|<float.h>|' \
${WRKSRC}/src/exrnormalize.c \
${WRKSRC}/src/exrpptm.c \
${WRKSRC}/src/exrstats.c
.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|stdint\.h|inttypes.h|' \
${WRKSRC}/src/exrblur.c \
${WRKSRC}/src/exrchr.c \
${WRKSRC}/src/exrnlm.c \
${WRKSRC}/src/exrnormalize.c \
${WRKSRC}/src/exrpptm.c \
${WRKSRC}/src/ppmtoexr.c \
${WRKSRC}/src/exricamtm.c \
${WRKSRC}/src/jpeginput.h \
${WRKSRC}/src/pngoutput.h \
${WRKSRC}/src/pnginput.h
@${REINPLACE_CMD} -e 's|inttypes\.h|sys/types.h|' \
${WRKSRC}/src/ppmtoexr.c
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -24,12 +24,6 @@ GNU_CONFIGURE= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-*
.endif
post-patch:
@${REINPLACE_CMD} -e 's|libpng|libpng12|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/usr/local/share/geomorph|${DATADIR}|' ${WRKSRC}/install-step* ${WRKSRC}/install-user ${WRKSRC}/src/app/app.c
@ -37,4 +31,4 @@ post-patch:
@${REINPLACE_CMD} -e '/DEFAULT_DIR/ s|geomorph|.geomorph|' ${WRKSRC}/src/app/globals.h ${WRKSRC}/src/hf/globals.h
@${RM} ${WRKSRC}/install-step*.bak ${WRKSRC}/install-user*.bak
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -23,12 +23,4 @@ USE_LDCONFIG= yes
CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}" \
LDFLAGS="${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \
${WRKSRC}/src/glitzint.h
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -30,10 +30,4 @@ MAN1= gwenview.1
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.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

@ -30,10 +30,4 @@ MAN1= gwenview.1
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.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

@ -33,14 +33,6 @@ PORTDOCS= README TODO INSTALL
PLIST_FILES= bin/exiftran bin/ida lib/X11/app-defaults/Ida
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|PRId32|"d"|g' -e 's|PRIx32|"x"|g' \
${WRKSRC}/tiff.c ${WRKSRC}/xwd.c
.endif
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/exiftran ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@ -50,4 +42,4 @@ post-install:
.endfor
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -147,12 +147,6 @@ MAN3= SoAction.3iv SoCallbackAction.3iv SoGLRenderAction.3iv \
SoXtExaminerViewer.3iv SoXtFlyViewer.3iv SoXtFullViewer.3iv \
SoXtPlaneViewer.3iv SoXtViewer.3iv SoXtWalkViewer.3iv
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= "Does not compile"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%CC%%|${CC}|g ;\
s|%%CXX%%|${CXX}|g ; \
@ -160,4 +154,4 @@ post-patch:
post-install:
@${SED} -e "s,%%PREFIX%%,${PREFIX},g" ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -25,10 +25,4 @@ USE_AUTOTOOLS= libtool:15
post-patch:
@${REINPLACE_CMD} -e 's/-O2//g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Does not compile
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -25,10 +25,4 @@ USE_AUTOTOOLS= libtool:15
post-patch:
@${REINPLACE_CMD} -e 's/-O2//g' ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Does not compile
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -19,11 +19,4 @@ INSTALLS_SHLIB= yes
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
MAKEFILE= ${WRKSRC}/GNUmakefile
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
post-patch:
@${REINPLACE_CMD} -e 's/uint_fast16_t/uint32_t/' ${WRKSRC}/yuv2rgb.c
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -32,12 +32,4 @@ PLIST_FILES= include/svg.h \
lib/libsvg.so.1 \
libdata/pkgconfig/libsvg.pc
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} < 500000
@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' \
${WRKSRC}/src/svg_ascii.h
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -35,10 +35,6 @@ QMAKESPEC?= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN=does not compile
.endif
.if ${ARCH} == "ia64"
BROKEN= broken on ia64
.endif

View File

@ -30,14 +30,6 @@ MAN1= metacam.1
ALL_TARGET= ${PORTNAME}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
post-patch:
@${REINPLACE_CMD} -e 's|<\(getopt\.h\)>|"\1"|' ${WRKSRC}/${PORTNAME}.cc
${CP} ${FILESDIR}/getopt.h ${WRKSRC}
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${FILESDIR}/${PORTNAME}.1 ${MANPREFIX}/man/man1
@ -49,4 +41,4 @@ do-install:
.endfor
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -52,11 +52,6 @@ DEVEL_PORTVERSION= 10.31
# -O causes an ICE in converter/other/exif.c with gcc 3.3.3 on sparc64.
CFLAGS+= -O0
.endif
.if ${ARCH} == "alpha"
.if ${OSVERSION} < 500000
CFLAGS+= -O0
.endif
.endif
.if defined(WITH_NETPBM_DEVEL)
EXTRA_PATCHES+= ${FILESDIR}/editor-pnmquant-devel.patch

View File

@ -63,10 +63,6 @@ CONFIGURE_ARGS= --x-includes="${X11BASE}/include" --includedir=${LOCALBASE} \
MAN1= povray.1
.if ${OSVERSION} < 500000
BROKEN= Does not build on 4.x
.endif
post-patch:
#@${REINPLACE_CMD} -e 's+@PREFIX@+${PREFIX}+g;' ${WRKSRC}/povray.ini
#@${REINPLACE_CMD} -e 's+%INSTALLDIR%+${PREFIX}/share/${PORTNAME}-${PORTVERSION}+g;' ${WRKSRC}/povray.conf

View File

@ -63,10 +63,6 @@ CONFIGURE_ARGS= --x-includes="${X11BASE}/include" --includedir=${LOCALBASE} \
MAN1= povray.1
.if ${OSVERSION} < 500000
BROKEN= Does not build on 4.x
.endif
post-patch:
#@${REINPLACE_CMD} -e 's+@PREFIX@+${PREFIX}+g;' ${WRKSRC}/povray.ini
#@${REINPLACE_CMD} -e 's+%INSTALLDIR%+${PREFIX}/share/${PORTNAME}-${PORTVERSION}+g;' ${WRKSRC}/povray.conf

View File

@ -63,10 +63,6 @@ CONFIGURE_ARGS= --x-includes="${X11BASE}/include" --includedir=${LOCALBASE} \
MAN1= povray.1
.if ${OSVERSION} < 500000
BROKEN= Does not build on 4.x
.endif
post-patch:
#@${REINPLACE_CMD} -e 's+@PREFIX@+${PREFIX}+g;' ${WRKSRC}/povray.ini
#@${REINPLACE_CMD} -e 's+%INSTALLDIR%+${PREFIX}/share/${PORTNAME}-${PORTVERSION}+g;' ${WRKSRC}/povray.conf

View File

@ -29,15 +29,9 @@ CONFIGURE_ARGS= --without-pygtk
CONFIGURE_ENV= CPPFLAGS="-I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
IGNORE= does not build on FreeBSD 4.x
.endif
post-patch:
@${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|; \
s|SUBDIRS = cairo examples test|SUBDIRS = cairo examples|' \
${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -35,12 +35,6 @@ PLIST_SUB+= IMAGEMAGICK="@comment "
MANL= avs2ps.l label3d.l r3d_objects.l rastep.l render.l rods.l \
balls.l normal3d.l r3dtops.l raster3d.l ribbon.l stereo3d.l
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
EXTRA_PATCHES= ${FILESDIR}/extrapatch-avs2ps.c ${FILESDIR}/extrapatch-in.h
.endif
pre-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} freebsd
@ -65,4 +59,4 @@ post-install:
cd ${WRKSRC}/examples/msms && ${INSTALL_DATA} * ${EXAMPLESDIR}/msms
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -29,12 +29,6 @@ MAN1= sharpconstruct.1
ONLY_FOR_ARCHS= i386
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Does not compile on FreeBSD 4.x (lack of *round* functions)
.endif
post-patch:
@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/include/Align.hh
@${REINPLACE_CMD} -e 's|"/sharpconstruct|"|' ${WRKSRC}/src/MainWindow.cc
@ -44,4 +38,4 @@ post-patch:
@${FIND} ${WRKSRC} -name Makefile.in -print0 | ${XARGS} -0 \
${REINPLACE_CMD} -e '/^DEFS / s|$$| -DDATADIR=\\"${DATADIR}\\"|'
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -24,13 +24,7 @@ CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" PKG_CONFIG=${LOCALBASE}/bin/pkg-config
USE_LDCONFIG= YES
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's|libpng|libpng12|' ${WRKSRC}/configure
.if ${OSVERSION} < 500000
${REINPLACE_CMD} 's:#include.<stdint\.h>:#include <sys/types.h>:' \
${WRKSRC}/src/*.h
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -15,6 +15,8 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-${PKGNUM}-${OPSYS:L}-${ARCH}
MAINTAINER= nivit@FreeBSD.org
COMMENT= A graph drawing/visualization system
LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
NO_BUILD= yes
ONLY_FOR_ARCHS= i386
@ -79,10 +81,4 @@ do-install:
@${LN} ${LINK_OPTS} ${DOCSDIR} ${DATADIR}/docs
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500000
LIB_DEPENDS+= c.4:${PORTSDIR}/misc/compat4x
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -27,16 +27,6 @@ MLINKS= nview.1 nv.1 \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
PORTVERSION= 1.68
PORTREVISION= 1
DISTNAME= XnView-x86-unknown-FreeBSD4.x-static
WRKSRC= ${WRKDIR}/XnView-${PORTVERSION}-x86-unknown-FreeBSD4.x-static
PLIST_SUB+= FREEBSD4=""
.else
PLIST_SUB+= FREEBSD4="@comment "
.endif
.if ${OSVERSION} >= 600000
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
.endif
@ -45,10 +35,6 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/xnview ${PREFIX}/bin/xnview
${INSTALL_PROGRAM} ${WRKSRC}/bin/nview ${PREFIX}/bin/nv
${INSTALL_PROGRAM} ${WRKSRC}/bin/nconvert ${PREFIX}/bin/nconvert
.if ${OSVERSION} < 500000
${INSTALL_PROGRAM} ${WRKSRC}/lib/libformat.so.4.16 ${PREFIX}/lib/libformat.so.4
${LN} -sf ${PREFIX}/lib/libformat.so.4 ${PREFIX}/lib/libformat.so
.endif
${INSTALL_DATA} ${WRKSRC}/app-defaults/XnView.ad ${PREFIX}/lib/X11/app-defaults/XnView
cd ${WRKSRC}/man && ${INSTALL_MAN} xnview.1 nview.1 ${PREFIX}/man/man1

View File

@ -2,8 +2,6 @@ bin/nconvert
bin/nv
bin/xnview
lib/X11/app-defaults/XnView
%%FREEBSD4%%lib/libformat.so
%%FREEBSD4%%lib/libformat.so.4
%%PORTDOCS%%%%DOCSDIR%%/Formats.txt
%%PORTDOCS%%%%DOCSDIR%%/ReadMe.txt
%%PORTDOCS%%%%DOCSDIR%%/Usage.txt

View File

@ -94,8 +94,4 @@ post-install:
@${CHOWN} -R ircd:ircd ${VARDIR}/log/ircd-ru
@${CAT} ${PKGMESSAGE}
.if ${OSVERSION} < 500000
BROKEN= Does not compile on 4.x
.endif
.include <bsd.port.post.mk>

View File

@ -28,15 +28,9 @@ SYSCONFDIR= ${PREFIX}/etc/ptlink-services
CONFIGURE_ARGS= --sysconfdir=${SYSCONFDIR} --localstatedir=/var \
--with-pidfile=/var/run/ircsvs.pid
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= Doesn't build on 4.x
.endif
post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CHOWN} -R ircd:ircd ${SYSCONFDIR}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -72,10 +72,6 @@ SUB_LIST+= MKDIR="${MKDIR}" PW="${PW}" CHMOD="${CHMOD}" CHOWN="${CHOWN}"
CFLAGS+= -fPIC
.endif
.if ${OSVERSION} < 500000
USE_GCC= 3.4 # Needs va_copy
.endif
post-patch:
@${REINPLACE_CMD} -e "s,-O2,${CFLAGS}," ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s, ircpasswd,tr-ircpasswd," \

View File

@ -80,10 +80,6 @@ PLIST_SUB+= TCL="@comment "
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
BROKEN= does not build on 4.X
.endif
.if defined(WITHOUT_PERL)
CONFIGURE_ARGS+=--disable-perl
PLIST_SUB+= PERL="@comment "

View File

@ -50,7 +50,7 @@ LIB_DEPENDS= z.3:${PORTSDIR}/misc/compat6x
JDK_OSREL= freebsd6
.elif ${OSVERSION} >= 600000
JDK_OSREL= freebsd6
.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
.elif ${ARCH} == "i386"
JDK_OSREL= freebsd5
.else
IGNORE= Only available for FreeBSD 5.x/i386 and FreeBSD 6.x/amd64 and later

View File

@ -50,7 +50,7 @@ LIB_DEPENDS= z.3:${PORTSDIR}/misc/compat6x
JRE_OSREL= freebsd6
.elif ${OSVERSION} >= 600000
JRE_OSREL= freebsd6
.elif ${OSVERSION} >= 500000 && ${ARCH} == "i386"
.elif ${ARCH} == "i386"
JRE_OSREL= freebsd5
.else
IGNORE= Only available for FreeBSD 5.x/i386 and FreeBSD 6.x/amd64 and later

View File

@ -29,8 +29,8 @@ ANT_VERSION= 1.6.5
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000 || ${OSVERSION} > 700000
IGNORE= dumps core on FreeBSD 4.x and 7.x
.if ${OSVERSION} > 700000
IGNORE= dumps core on 7.x
.endif
GCJ= gcj41

View File

@ -61,8 +61,4 @@ CFLAGS+= -DJMPDEBUG -g
CFLAGS+= -O3
.endif
.if ${OSVERSION} < 500000
BROKEN= Does not build on FreeBSD < 5.x
.endif
.include <bsd.port.post.mk>

View File

@ -33,11 +33,9 @@ DOWNLOAD_URL?= http://www.netbeans.org/download/release36/promoted/FCS/release36
IGNORE= you must manually fetch the source distribution (${DISTFILES}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif
.if ${OSVERSION} >= 500000
post-patch:
@${CAT} ${FILESDIR}/bin_runide.sh.diff | ${PATCH} ${WRKSRC}/bin/runide.sh
@${RM} ${WRKSRC}/bin/runide.sh.orig
.endif
do-install:
@${MKDIR} ${PREFIX}/netbeans3