Remove always-false/true conditions based on OSVERSION 500000
This commit is contained in:
parent
3e2fd4b788
commit
f7c0630cd2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200772
@ -21,12 +21,6 @@ REINPLACE_ARGS= -i ''
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= "use atoll() interface"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
# Fix make command
|
||||
@${REINPLACE_CMD} -e 's|make|${GMAKE}|g' ${WRKSRC}/${MAKEFILE}
|
||||
@ -57,4 +51,4 @@ do-install:
|
||||
${CP} -R ${WRKSRC}/${d} ${DATADIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -65,8 +65,4 @@ pre-build:
|
||||
post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Does not compile on 4.x
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -24,14 +24,9 @@ CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags`" \
|
||||
|
||||
PLIST_FILES= bin/bitefusion
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-linux-gnu|-portbld-freebsd|' \
|
||||
${WRKSRC}/configure
|
||||
@${REINPLACE_CMD} -e 's|-lSDL||' ${WRKSRC}/Makefile.in
|
||||
.if ${OSVERSION} < 500000
|
||||
@${REINPLACE_CMD} -e 's|stdint.h|sys/inttypes.h|' ${WRKSRC}/image.c
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -32,13 +32,7 @@ WRKSRC= ${WRKDIR}/blokish
|
||||
|
||||
PLIST_FILES= bin/blokish
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src-ai.h
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG}|' ${WRKSRC}/makefile.in ${WRKSRC}/configure
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -39,10 +39,6 @@ SAUDATDIR= packages data
|
||||
IGNORE= needs at least one executable (CLIENT or DEDICATED)
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= does not compile
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_CLIENT)
|
||||
USE_GL= yes
|
||||
USE_SDL= image mixer sdl
|
||||
|
@ -30,10 +30,4 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= does not build
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -30,14 +30,8 @@ MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
||||
MAN5= bzw.5
|
||||
MAN6= bzadmin.6 bzflag.6 bzfquery.6 bzfs.6
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Does not compile
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|@LINUX_TRUE@||g ; \
|
||||
s|@LINUX_FALSE@|#|g' ${WRKSRC}/src/platform/Makefile.in
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -38,10 +38,6 @@ PLIST_SUB+= NLS=""
|
||||
FLAG_NLS= true
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Does not compile
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} -e 's/-lSDL /`sdl-config --libs`/g' ${WRKSRC}/configure
|
||||
|
||||
@ -55,9 +51,9 @@ do-install:
|
||||
${FIND} ${CEFEDIRS} -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
|
||||
${FIND} -E ${CEFEDIRS} -type f -iregex ".*\.(png|jpg|xm|map|wav)" -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
|
||||
.if defined(FLAG_NLS)
|
||||
.for FILE in es ca fr
|
||||
${MKDIR} ${PREFIX}/share/locale/${FILE}/LC_MESSAGES && \
|
||||
${INSTALL_DATA} ${WRKSRC}/po/${FILE}.gmo ${PREFIX}/share/locale/${FILE}/LC_MESSAGES/${PORTNAME}.mo
|
||||
.for f in es ca fr
|
||||
${MKDIR} ${PREFIX}/share/locale/${f}/LC_MESSAGES && \
|
||||
${INSTALL_DATA} ${WRKSRC}/po/${f}.gmo ${PREFIX}/share/locale/${f}/LC_MESSAGES/${PORTNAME}.mo
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
|
@ -42,12 +42,6 @@ DESKTOP_ENTRIES="FlightGear Scenery Designer" \
|
||||
"Application;Graphics;" \
|
||||
false
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= does not build on FreeBSD 4.x
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lgif|-lungif|' ${WRKSRC}/configure
|
||||
|
||||
@ -55,4 +49,4 @@ post-install:
|
||||
${MKDIR} ${PREFIX}/share/pixmaps
|
||||
${INSTALL_DATA} ${WRKSRC}/src/curves.xpm ${PREFIX}/share/pixmaps/fgsd.xpm
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -39,12 +39,6 @@ CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
|
||||
MAN1= est-epsilon.1 fgfs.1 fgjs.1 gl-info.1 js_demo.1 pstest.1
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= does not build on FreeBSD 4.x
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-D_REENTRANT|${PTHREAD_CFLAGS}|' \
|
||||
${WRKSRC}/configure
|
||||
@ -53,4 +47,4 @@ post-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/utils/js_server/js_server ${PREFIX}/bin
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -34,10 +34,6 @@ FLEETS_FILE= gh_fleets_020906.zip
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= needs isspace() function in libc (FreeBSD >= 5.X)
|
||||
.endif
|
||||
|
||||
.if defined(WITH_FLEETS)
|
||||
EXTRACT_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip
|
||||
DISTFILES+= ${FLEETS_FILE}
|
||||
|
@ -25,13 +25,4 @@ post-patch:
|
||||
${REINPLACE_CMD} -e 's|)/Makefiles|)/Library/Makefiles|' \
|
||||
${WRKSRC}/GNUmakefile
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
|
||||
# Fatal error 'longjmp()ing between thread contexts is undefined by POSIX 1003.1'
|
||||
# at line ? in file src/lib/libc_r/uthread/uthread_jmp.c (errno = ?)
|
||||
# Abort trap (core dumped)
|
||||
BROKEN= longjmp()ing between thread contexts in src/lib/libc_r/uthread/uthread_jmp.c
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -35,13 +35,6 @@ SCONS_ARGS= ${MAKE_ENV} BUILD=release PTHREAD_LIBS="${PTHREAD_LIBS}"
|
||||
SUB_FILES= ${PORTNAME}
|
||||
DATADIR= ${PREFIX}/lib/${PORTNAME}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libs__bytestreamutils.h \
|
||||
${FILESDIR}/extra-patch-libs__math__vector.h
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's/-ldl//' ${WRKSRC}/SConscript
|
||||
@${GREP} -Rl 'defined[[:blank:]]*([[:blank:]]*__linux__[[:blank:]]*) || defined[[:blank:]]*([[:blank:]]*__APPLE__[[:blank:]]*)' ${WRKSRC} | \
|
||||
@ -57,4 +50,4 @@ do-install:
|
||||
${CP} -R ${WRKSRC}/install/* ${DATADIR}
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -30,12 +30,6 @@ MAKE_ENV= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
|
||||
|
||||
WRKSRC= ${WRKDIR}/kiki
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-kodilib-src-types-kvector.h
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^CXXFLAGS/ s|.*|CXXFLAGS+=$$(KODI_INCLUDES) -I${X11BASE}/include `${SDL_CONFIG} --cflags`|' ${WRKSRC}/kodilib/linux/Makefile
|
||||
@${REINPLACE_CMD} -e '/^X11_INCLUDES/ s|/.*/|${X11BASE}/include|' ${WRKSRC}/linux/Makefile
|
||||
@ -58,4 +52,4 @@ do-install:
|
||||
${FIND} . -type f -exec ${INSTALL_DATA} {} ${DATADIR}/${d}/{} \;
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -22,12 +22,6 @@ USE_KDELIBS_VER= 3
|
||||
USE_BZIP2= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= does not compile
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
${LN} -sfh \
|
||||
`cd ${PORTSDIR}/x11/kdelibs3 && ${MAKE} -V WRKSRC`/admin \
|
||||
@ -35,4 +29,4 @@ pre-configure:
|
||||
${TOUCH} ${WRKSRC}/NEWS
|
||||
cd ${WRKSRC}; ${MAKE} -f admin/Makefile.common cvs
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -33,13 +33,6 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
pre-configure::
|
||||
@${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' \
|
||||
${WRKSRC}/src/gui/Filter.cpp ${WRKSRC}/src/gui/Gradient.hpp \
|
||||
${WRKSRC}/src/gui/Color.hpp
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 504000
|
||||
pre-configure::
|
||||
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-src-gui-Gradient.cpp
|
||||
|
@ -34,10 +34,6 @@ OPTIONS= DEBUG "With additional debug information" off \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= does not build on FreeBSD 4.x
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DEBUG)
|
||||
SCONS_ARGS+= debug=1
|
||||
.else
|
||||
|
@ -30,10 +30,4 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
|
||||
MAN1= mudmagic.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Does not compile
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,17 +17,13 @@ EXTRACT_ONLY=
|
||||
MAINTAINER= clive@FreeBSD.org
|
||||
COMMENT= QKMJ - QK Ma2Jong4 client
|
||||
|
||||
RUN_DEPENDS= compat4x-i386>=0:${PORTSDIR}/misc/compat4x
|
||||
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
IA32_BINARY_PORT= yes
|
||||
|
||||
PLIST_FILES= libexec/qkmj95p5-freebsd bin/qkmj
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
RUN_DEPENDS+= compat4x-i386>=0:${PORTSDIR}/misc/compat4x
|
||||
.endif
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
NO_BUILD= yes
|
||||
NO_CDROM= 'Do not sell for profit.'
|
||||
@ -39,4 +35,4 @@ do-install:
|
||||
@${CHMOD} +x ${PREFIX}/bin/${PORTNAME}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -107,9 +107,6 @@ post-patch:
|
||||
's|\($$(libdir)/\)@PACKAGE@|\1${PORTNAME}|'
|
||||
@${REINPLACE_CMD} -e 's|\($$libdir/\)$$PACKAGE|\1${PORTNAME}|' \
|
||||
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}.in
|
||||
.if ${OSVERSION} < 500000
|
||||
@${REINPLACE_CMD} -e 's/%zu/%u/g' ${WRKSRC}/src/main.c
|
||||
.endif
|
||||
.for f in ${Q2F_BADMODS}
|
||||
@${REINPLACE_CMD} -i "" -e 's/${f}//' ${WRKSRC}/src/Makefile.in
|
||||
.endfor
|
||||
|
@ -39,10 +39,6 @@ SAUDATDIR= packages data
|
||||
IGNORE= needs at least one executable (CLIENT or DEDICATED)
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= does not compile
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_CLIENT)
|
||||
USE_GL= yes
|
||||
USE_SDL= image mixer sdl
|
||||
|
@ -39,10 +39,6 @@ SAUDATDIR= packages data
|
||||
IGNORE= needs at least one executable (CLIENT or DEDICATED)
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= does not compile
|
||||
.endif
|
||||
|
||||
.if !defined(WITHOUT_CLIENT)
|
||||
USE_GL= yes
|
||||
USE_SDL= image mixer sdl
|
||||
|
@ -23,12 +23,6 @@ MAKE_ENV= QTDIR="${QT_PREFIX}"
|
||||
QMAKE= qmake
|
||||
QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Does not compile on FreeBSD 4.x
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|PlaySquare::||' ${WRKSRC}/playsquare.h
|
||||
${REINPLACE_CMD} -e 's|Puzzle::||' ${WRKSRC}/puzzle.h
|
||||
@ -47,4 +41,4 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -20,12 +20,7 @@ ONLY_FOR_ARCHS= i386 amd64
|
||||
NO_BUILD= yes
|
||||
STRIP= # strip(1) does not support a.out binaries
|
||||
PLIST_FILES= bin/timeseal
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000
|
||||
PKGMESSAGE= pkg-message.aout
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${_DISTDIR}/${_DISTFILES} ${PREFIX}/bin/timeseal
|
||||
@ -35,4 +30,4 @@ post-install:
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -26,16 +26,10 @@ CONFIGURE_ARGS= --program-transform-name= --localstatedir=/var/games
|
||||
|
||||
MAN6= toppler.6
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= can not be compiled because it requires mbrtowc() in libc
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${CHOWN} root:games ${PREFIX}/bin/toppler
|
||||
@${CHMOD} g+s ${PREFIX}/bin/toppler
|
||||
@${SETENV} "PKG_PREFIX=${PREFIX}" \
|
||||
${SH} pkg-install ${PKGNAME} POST-INSTALL
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -57,10 +57,6 @@ PLIST_SUB+= MUSICADDON="@comment "
|
||||
LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= does not compile
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
${MKDIR} ${WRKSRC}/sc2/content/packages
|
||||
${CP} ${DISTDIR}/${PORTNAME}-${DATAVERSION}-content.uqm ${WRKSRC}/sc2/content/packages/
|
||||
|
@ -28,12 +28,6 @@ MAKE_ENV= "CXX=${CXX}"
|
||||
|
||||
DATAVERSION= 2005-12-21
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-src-global.hpp
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|__va_copy|va_copy|g' ${WRKSRC}/src/string.cpp
|
||||
@${REINPLACE_CMD} -e 's|; make|; ${GMAKE}|g' ${WRKSRC}/Makefile ${WRKSRC}/src/Makefile
|
||||
@ -57,9 +51,9 @@ do-install:
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
.for file in AUTHORS COPYING ChangeLog README README-COMMAND-LINE-OPTIONS.txt
|
||||
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.for f in AUTHORS COPYING ChangeLog README README-COMMAND-LINE-OPTIONS.txt
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -20,10 +20,4 @@ GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-docdir=${PREFIX}/share/doc
|
||||
USE_GMAKE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= does not build on FreeBSD 4.x
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user