1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00

- Remove conditional checks relevant only on FreeBSD 5.x and older

This commit is contained in:
Pav Lucistnik 2009-01-05 17:27:29 +00:00
parent 5faefa6350
commit c4d4cacd63
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225288
58 changed files with 54 additions and 374 deletions

View File

@ -15,16 +15,11 @@ DISTNAME= einstein_S5R3_${PORTVERSION}_i386-unknown-freebsd
MAINTAINER= pav@FreeBSD.org
COMMENT= Search for gravitational waves, a distributed computing project
.include <bsd.port.pre.mk>
LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
RUN_DEPENDS= boinc_client:${PORTSDIR}/net/boinc-client
ONLY_FOR_ARCHS= i386 amd64
.if ${OSVERSION} >= 600000
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
.endif
RUN_DEPENDS+= boinc_client:${PORTSDIR}/net/boinc-client
NO_BUILD= yes
NO_WRKSUBDIR= yes
STRIP= #
@ -37,7 +32,9 @@ BOINC_HOME?= /var/db/boinc
EINSTEIN_SITE= einstein.phys.uwm.edu
EINSTEIN_BINARY=${DISTNAME}
.if ${ARCH} == amd64 && ${OSVERSION} >= 600000
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
AMD64= ""
.else
AMD64= "@comment "

View File

@ -27,9 +27,7 @@ NO_BUILD= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
GPSMAN_DEFAULT_PORT?= /dev/cuaa0
.elif ${OSVERSION} < 800045
.if ${OSVERSION} < 800045
GPSMAN_DEFAULT_PORT?= /dev/cuad0
.else
GPSMAN_DEFAULT_PORT?= /dev/cuau0

View File

@ -21,16 +21,10 @@ USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503000
IGNORE= requires FreeBSD 5.3 or higher
.endif
#post-extract:
# @${TAR} xf ${WRKDIR}/${PORTNAME}/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} -C ${WRKDIR}
post-patch:
@${REINPLACE_CMD} -e 's|^CFLAGS=|#CFLAGS=|g' ${WRKSRC}/configure
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -20,12 +20,6 @@ MAN1= xmoontool.1
PORTDOCS= NOTES
PLIST_FILES= bin/xmoontool
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503000 # libnova currently not available here!
WITHOUT_LIBNOVA= yes
.endif
.if defined(WITHOUT_LIBNOVA)
MAKE_ENV+= WITHOUT_LIBNOVA=yes
.else
@ -59,4 +53,4 @@ post-install:
.endfor
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -40,10 +40,6 @@ BROKEN= Does not compile on alpha
LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4
.endif
.if ${OSVERSION} < 600020
BROKEN= Requires MSG_NOSIGNAL
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%CXXFLAGS%%|${CXXFLAGS}| ; \
s|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|g ; \

View File

@ -31,7 +31,7 @@ MAN1= ecawave.1
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha" && ${OSVERSION} >= 502102
.if ${ARCH} == "alpha"
BROKEN= Configure fails on alpha 5.x
.endif

View File

@ -47,10 +47,6 @@ CONFIGURE_ENV+= ac_cv_prog_HAVE_DOXYGEN="false"
PLIST_SUB+= DOCS="@comment "
.endif
.if (${OSVERSION} < 502102 )
BROKEN= Does not compile
.endif
.if exists(${LOCALBASE}/lib/libreadline.so.5)
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
.endif

View File

@ -56,10 +56,6 @@ post-install:
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= fails to install
.endif
.if ${OSVERSION} >= 700042 && ${ARCH} == "amd64"
BROKEN= does not compile
.endif

View File

@ -21,10 +21,4 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= mixmos.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 501105
IGNORE= require SOUND_MIXER_INFO ioctl
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -36,12 +36,6 @@ CONFIGURE_ENV= QMAKESPEC="freebsd-g++"
CONFIGURE_ARGS= --prefix=${PREFIX}
MAKE_ENV= QTDIR="${QT_PREFIX}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503001
IGNORE= does not compile on FreeBSD < 5.3, due to lack of round() in libm
.endif
post-patch:
@${REINPLACE_CMD} \
-e 's|/bin/bash|${LOCALBASE}&| ; \
@ -60,4 +54,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/Mixxx-Manual.pdf ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -36,10 +36,6 @@ OPTIONS= VORBIS "Ogg/Vorbis support" on
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 504000
BUILD_DEPENDS+= ${LOCALBASE}/include/magic.h:${PORTSDIR}/sysutils/file
.endif
.if defined(WITHOUT_VORBIS)
MAKE_ARGS+= VORBIS=""
.else

View File

@ -20,13 +20,7 @@ NOT_FOR_ARCHS= ia64 sparc64
MAKEFILE= makefile
PLIST_FILES= bin/mpmf20
.include <bsd.port.pre.mk>
.if ${ARCH} == i386 && ${OSVERSION} < 502108
BROKEN= ffs() clash, see i386/41930
.endif
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/mpmf20 ${PREFIX}/bin
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -108,12 +108,8 @@ PLIST_SUB+= NLS="@comment "
post-patch: .SILENT
${REINPLACE_CMD} -e '/atoll/d' ${WRKSRC}/config/platform/bsd.h
.if ${OSVERSION} > 502112
${REINPLACE_CMD} -e '/round/d' ${WRKSRC}/config/platform/bsd.h
.endif
.if ${OSVERSION} > 502120
${REINPLACE_CMD} -e '/nearbyint/d' ${WRKSRC}/config/platform/bsd.h
.endif
${REINPLACE_CMD} -E 's,(_nl_expand_alias \()\),\1...),' ${WRKSRC}/configure
${REINPLACE_CMD} -e 's,$$(prefix)/doc,$$(datadir)/doc,' \
${WRKSRC}/config/am_include.mk ${WRKSRC}/Makefile.in \

View File

@ -13,6 +13,8 @@ DISTNAME= sc_serv_${PORTVERSION}_FreeBSD5
MAINTAINER= gabor@FreeBSD.org
COMMENT= Nullsoft's streaming audio server (binary port)
LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x
IA32_BINARY_PORT= YES
NO_BUILD= YES
RESTRICTED= Redistribution of the software is not allowed
@ -23,12 +25,6 @@ USE_RC_SUBR= shoutcast.sh
PORTDOCS= README.TXT
WRKSRC= ${WRKDIR}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 600000
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
.endif
post-patch:
@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
-e 's|=sc_serv.log|=/var/log/sc_serv.log|' \
@ -53,4 +49,4 @@ do-install:
post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -26,12 +26,6 @@ PLIST_SUB+= RELEASE=${OSREL:R:R} ARCH=${ARCH}
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message
.include <bsd.port.pre.mk>
.if (${OSVERSION} < 600000 && ${ARCH} == "sparc64")
BROKEN= Does not compile on FreeBSD 5.x sparc64
.endif
LIBBINDIR= ${PREFIX}/lib/X11/xmcd/bin-FreeBSD_${OSREL:R:R}-${ARCH}
post-extract:
@ -56,4 +50,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${CP} ${WRKSRC}/xmcd_d/XMcd.ad ${PREFIX}/lib/X11/app-defaults/XMcd
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -25,15 +25,11 @@ ONLY_FOR_ARCHS= i386 ia64
PLIST_FILES= bin/xmradio lib/X11/app-defaults/XMradio
.include <bsd.port.pre.mk>
.if ${OSVERSION} > 502100
post-patch:
${REINPLACE_CMD} -e "s,machine/ioctl_bt848.h,dev/bktr/ioctl_bt848.h," \
${WRKSRC}/radio.c
.endif
#
#post-install:
# ${STRIP_CMD} ${PREFIX}/bin/xmradio
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -40,18 +40,10 @@ XDFORMAT_LINKS= setdb pressdb
.include <bsd.port.pre.mk>
.if ${ARCH} == amd64
.if ${OSVERSION} >= 600000
DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-6.x-x64
.else
DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-5.x-x64
.endif
.else
.if ${OSVERSION} < 600000
DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-5.x-i686
.else
DISTNAME= blast${PORTVERSION:S/.0//}.freebsd-6.x-i686
.endif
.endif
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
IGNORE= You must manually fetch ${PORTNAME}${PORTVERSION:S/.0//} for the FreeBSD platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again

View File

@ -1,10 +1,4 @@
MD5 (blast2.freebsd-4.x-i686.tar.Z) = IGNORE
MD5 (blast2.freebsd-5.x-i686.tar.Z) = IGNORE
MD5 (blast2.freebsd-6.x-i686.tar.Z) = IGNORE
MD5 (blast2.freebsd-5.x-x64.tar.Z) = IGNORE
MD5 (blast2.freebsd-6.x-x64.tar.Z) = IGNORE
SHA256 (blast2.freebsd-4.x-i686.tar.Z) = IGNORE
SHA256 (blast2.freebsd-5.x-i686.tar.Z) = IGNORE
SHA256 (blast2.freebsd-6.x-i686.tar.Z) = IGNORE
SHA256 (blast2.freebsd-5.x-x64.tar.Z) = IGNORE
SHA256 (blast2.freebsd-6.x-x64.tar.Z) = IGNORE

View File

@ -57,10 +57,6 @@ AMD64= "@comment "
SUB_FILES= app_info.xml pkg-message
SUB_LIST= SIMAP_BINARY=${SIMAP_BINARY} HMMER_BINARY=${HMMER_BINARY} SIMAP_APPVERSION=${SIMAP_VERSION:S/.//} HMMER_APPVERSION=${HMMER_VERSION:S/.//} AMD64=${AMD64}
.if ${OSVERSION} < 600000
IGNORE= only supports FreeBSD 6.X and newer
.endif
.if ${OSVERSION} >= 700043
LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
.endif

View File

@ -1,6 +1,6 @@
--- makefile.orig 2008-06-24 15:44:16.000000000 +0200
+++ makefile 2008-11-10 22:53:22.000000000 +0100
@@ -12,9 +12,23 @@
@@ -12,9 +12,19 @@
#
# Disregard compiler warnings on rdmolf.f
#
@ -15,11 +15,7 @@
+#CC = gcc
+CFLAGS += -c -DDOBACK -DHASTIMER -I${LOCALBASE}/include
+#FC = f77
+.if ${OSVERSION} < 400005
+FFLAGS += -Nn802 -Nx400
+.else
+FFLAGS += #-Wno-globals -fno-globals
+.endif
+LIBS = -L${LOCALBASE}/lib -lX11 -lm
+LDR = ${FC}
+###

View File

@ -49,10 +49,6 @@ MAN3= Ace.3 Ace::Browser::AceSubs.3 Ace::Browser::SearchSubs.3 \
CFLAGS+= -fPIC
.endif
.if ${ARCH} == "amd64" && ${OSVERSION} < 600000
BROKEN= does not compile, GCC bug
.endif
post-patch:
@ ${SED} -e 's|XX__CC__XX|${CC}|' < ${FILESDIR}/FREEBSD_DEF \
> ${WRKSRC}/acelib/wmake/FREEBSD_DEF

View File

@ -4,11 +4,7 @@
TARGET= platon
OBJS= platon.o xdrvr.o
.if ${OSVERSION} >= 400018
FOPT= ${FFLAGS}
.else
FOPT= ${FFLAGS} -Nx800 -NL400 -Nn802
.endif
COPT= ${CFLAGS} -I%%LOCALBASE%%/include
LOPT= -L%%LOCALBASE%%/lib -lX11

View File

@ -27,10 +27,4 @@ MAN1= ghwdump.1 gtkwave.1 lxt2miner.1 lxt2vcd.1 mvl2lxt.1 \
vzt2vcd.1 vztminer.1
MAN5= gtkwaverc.5
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= Does not compile on 5.x
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -26,12 +26,6 @@ USE_XORG= x11
USE_GMAKE= yes
USE_GNOME= gtk12
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= Does not compile on FreeBSD 5.x
.endif
post-extract:
@${UNZIP_CMD} -q -o ${DISTDIR}/leocad-pieces-20030330.zip -d ${WRKDIR}/pieces
@ -51,4 +45,4 @@ do-install:
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKDIR}/pieces/* ${DATADIR}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -24,10 +24,6 @@ PLIST_SUB= BASELOCALEDIR=${BASELOCALEDIR} \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502110
IGNORE= requires UTF-8 locales in base system
.endif
SRCBASE?= ${PORTSDIR}/../src
SRCDIR= ${SRCBASE}/share/mklocale

View File

@ -38,10 +38,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502110
RUN_DEPENDS+= ${LOCALBASE}/share/locale/zh_TW.UTF-8/LC_CTYPE:${PORTSDIR}/misc/utf8locale
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -41,10 +41,6 @@ PLIST_SUB+= WANT_XAUX="@comment "
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503000
IGNORE= is supported on FreeBSD 5.3 and later only
.endif
CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"

View File

@ -27,12 +27,6 @@ USE_AUTOTOOLS= automake:19:env autoconf:262:env libtool:15:env
WRKSRC= ${WRKDIR}/${DISTNAME:S/src-//}
BUILDDIR= ${WRKSRC}/leif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503000
IGNORE= is supported on FreeBSD 5.3 and later only
.endif
CFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
@ -48,4 +42,4 @@ pre-configure:
@cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} reconfig
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${GMAKE} config
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -24,20 +24,12 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
PTHREAD_LIBS="${PTHREAD_LIBS}" \
CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \
LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc -lintl ${PTHREAD_LIBS}"
.else
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib -lintl"
.endif
PLIST_SUB= SKIM="@comment "
pre-fetch:

View File

@ -15,10 +15,4 @@ EXTRACT_SUFX= .tgz
MAINTAINER= chinsan@FreeBSD.org
COMMENT= NTHU-CS Maple BBS 2.36 BBS-like editor
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500113
EXTRA_PATCHES= ${FILESDIR}/extrapatch-screen.c
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -31,10 +31,4 @@ PLIST_SUB+= NLS="@comment "
post-install:
gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500041
EXTRA_PATCHES+= ${FILESDIR}/configure-getopt.patch
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,11 +0,0 @@
--- configure.orig Sat Oct 18 04:38:19 2003
+++ configure Sat Oct 18 04:38:42 2003
@@ -7889,7 +7889,7 @@
GTK2_CFLAGS="`pkg-config --cflags gtk+-2.0`"
-GTK2_LIBS="`pkg-config --libs gtk+-2.0`"
+GTK2_LIBS="`pkg-config --libs gtk+-2.0` -lgnugetopt"
GTK2_BINARY_VERSION="`pkg-config --variable=gtk_binary_version gtk+-2.0`"

View File

@ -16,15 +16,8 @@ COMMENT= Utilities for Garmin GPS receivers
MAN1= gardump.1 garload.1
MANCOMPRESSED= yes
MAKE_ARGS+= MANDIR=${MANPREFIX}/man/man
MAKE_ARGS+= GPS_SERIAL_PORT=/dev/cuad0
PLIST_FILES= bin/gardump bin/garload
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600006
MAKE_ARGS+= GPS_SERIAL_PORT=/dev/cuaa0
.else
MAKE_ARGS+= GPS_SERIAL_PORT=/dev/cuad0
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -19,15 +19,4 @@ MAN1= hcidump.1
MANCOMPRESSED= yes
PLIST_FILES= bin/hcidump
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502000
IGNORE= it needs Bluetooth stack (FreeBSD 5.2 or newer)
.endif
.if ${OSVERSION} < 502121
# libbluetooth is only installed on i386 before this version
ONLY_FOR_ARCHS= i386
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -26,10 +26,6 @@ PLIST_FILES= "@cwd ${KMODDIR}" \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600031
IGNORE= required FreeBSD 6.0-STABLE at least (if_alloc(), etc.)
.endif
pre-fetch:
.if !exists(${SRC_BASE}/sys/Makefile)
@${ECHO} "*************************************************"; \

View File

@ -23,6 +23,9 @@ GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --enable-sandboxed --with-devdir=/var/run/lirc
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
OPTIONS= IRMAN "Build with libirman support" On
@ -44,13 +47,6 @@ CONFIGURE_ARGS+= --with-driver=irman --with-driver=dvico
CONFIGURE_ARGS+= --with-driver=any --with-driver=dvico
.endif
.if ${OSVERSION} >= 500041
# These are already included in the getopt_long case on < 50041
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.endif
MAN1= ircat.1 irexec.1 irpty.1 irrecord.1 irsend.1 irw.1 \
irxevent.1 lircrcd.1 mode2.1 smode2.1 xmode2.1
MAN8= lircd.8 lircmd.8

View File

@ -35,13 +35,7 @@ CONFIGURE_ARGS+= --enable-dfl-baud=57600 \
--sysconfdir=${PREFIX}/etc/minicom \
--enable-lock-dir=/var/spool/lock
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 600000
MINICOM_DEFAULT_PORT?= /dev/cuad0
.else
MINICOM_DEFAULT_PORT?= /dev/cuaa0
.endif
CONFIGURE_ARGS+= --enable-dfl-port=${MINICOM_DEFAULT_PORT}
MAN1= minicom.1 runscript.1 ascii-xfr.1 xminicom.1
@ -71,4 +65,4 @@ post-install:
${DOCSDIR})
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -28,12 +28,7 @@ CONFIGURE_ARGS= CPPFLAGS="-I${LOCALBASE}/include" \
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
post-patch:
@${FIND} ${WRKSRC} -name *.c | ${XARGS} ${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|'
.if ${OSVERSION} < 503000
${ECHO} '#define lrintf(x) ((int16_t)rintf(x))' > ${WRKSRC}/src/tgmath.h
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -35,11 +35,6 @@ USE_AUTOTOOLS= autoconf:262
USE_LDCONFIG= yes
USE_GMAKE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BUILD_DEPENDS+= gawk:${PORTSDIR}/lang/gawk
.endif
pre-extract:
.if !defined(WITH_XCWCP)
@${ECHO_CMD}
@ -53,4 +48,4 @@ post-patch:
@${REINPLACE_CMD} -e "s|%%LIBDATA%%|${PREFIX}/libdata|" \
${WRKSRC}/src/cwlib/Makefile
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -45,10 +45,6 @@ OPTIONS= IMAP4 "Enable experimental IMAP4 backend" off
.include <bsd.port.pre.mk>
.if ( ( ${OSVERSION} < 504101 ) || ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600012 ) )
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libedataserver_e-msgport.c
.endif
.if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL)
HEIMDAL_HOME?= ${LOCALBASE}
LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal

View File

@ -27,10 +27,6 @@ PORTDOCS= FastDB.htm
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= does not compile
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}

View File

@ -19,8 +19,6 @@ COMMENT= Frontbase SQL Database Server
IS_INTERACTIVE= yes
RESTRICTED= License doesn't allow redistribution
.include <bsd.port.pre.mk>
USE_RC_SUBR= frontbase.sh
USE_LDCONFIG= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
@ -30,12 +28,7 @@ SUB_FILES+= pkg-message
ONLY_FOR_ARCHS= i386
# Binary is built for 5.X :
.if ${OSVERSION} < 500000
IGNORE= only supports FreeBSD 5.X and newer
.endif
.if ${OSVERSION} >= 600000
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
.endif
FB_USER= frontbase
FB_GROUP= frontbase
@ -74,4 +67,4 @@ post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -31,12 +31,6 @@ NOT_FOR_ARCHS_REASON_sparc64= Fails to compile
PORTDOCS= *
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500039
USE_GCC= 3.4
.endif
post-install:
@${RM} -f ${PREFIX}/lib/libmysqlpp.so.3
@${LN} -s ${PREFIX}/lib/libmysqlpp.so ${PREFIX}/lib/libmysqlpp.so.3
@ -58,4 +52,4 @@ post-install:
@${RM} -f ${EXAMPLESDIR}/Makefile.temp
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -25,12 +25,6 @@ USE_LDCONFIG= yes
CONFLICTS= ${PORTNAME}*-2.*
NO_LATEST_LINK= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500039
USE_GCC= 3.4
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}/userman/html ${DOCSDIR}/refman/html
@ -49,4 +43,4 @@ post-install:
@${RM} -f ${EXAMPLESDIR}/Makefile.temp
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -20,17 +20,8 @@ USE_MYSQL= yes
USE_GNOME= pkgconfig gnomehack
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport" \
LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}"
.else
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.endif
CONFIGURE_ARGS= --with-mysql=${LOCALBASE}
USE_LDCONFIG= yes
@ -38,7 +29,7 @@ post-patch:
${REINPLACE_CMD} s/libmysqlcppapi-1.9/libmysqlcppapi/g \
${WRKSRC}/mysqlcppapi/Makefile.in ${WRKSRC}/examples/Makefile.in
${FIND} ${WRKSRC}/mysqlcppapi -name Makefile.in \
-exec ${REINPLACE_CMD} -e \
-exec ${REINPLACE_CMD} -e \
'/^library_includedir =/s,\$$(GENERIC_LIBRARY_NAME)-2.0/,,g' '{}' \;
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -32,10 +32,6 @@ IGNORE= selected mutually exclusive options: WITH_IODBC and WITH_UNIXODBC
WITH_IODBC?= yes
.endif
.if defined(WITH_UNIXODBC) && ${OSVERSION} < 500016
IGNORE= Due to some obscure -pthread things, you can not have this work
.endif
.if defined(WITH_IODBC)
LIB_DEPENDS+= iodbc.3:${PORTSDIR}/databases/libiodbc
MYODBC= iodbc

View File

@ -16,16 +16,10 @@ MAINTAINER= leeym@FreeBSD.org
COMMENT= Perl module to access a DBZ database
PERL_CONFIGURE= yes
CONFIGURE_ARGS= DEFINE="-I${FILESDIR}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500007
CONFIGURE_ARGS+= POLLUTE=1
.endif
CONFIGURE_ARGS= DEFINE="-I${FILESDIR}" POLLUTE=1
WRKSRC= ${WRKDIR}/DBZ_File
MAN3= DBZ_File.3
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -31,10 +31,4 @@ WX_UNICODE= yes
post-patch:
@${REINPLACE_CMD} -e 's,/wx-config,/${WX_CONFIG:T},' ${WRKSRC}/configure
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503105 || (${OSVERSION} >= 600000 && ${OSVERSION} < 600014)
IGNORE= can not be built. Your system has broken vswprintf(3) function
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -27,14 +27,4 @@ CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \
--enable-shared \
--with-postgres-include=${LOCALBASE}/include/postgresql
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
CPPFLAGS+= -I${LOCALBASE}/include/stlport
LDFLAGS+= -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -27,14 +27,4 @@ CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \
--enable-shared \
--with-postgres-include=${LOCALBASE}/include/postgresql
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
CPPFLAGS+= -I${LOCALBASE}/include/stlport
LDFLAGS+= -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -27,14 +27,4 @@ CONFIGURE_ARGS= --with-postgres=${LOCALBASE} \
--enable-shared \
--with-postgres-include=${LOCALBASE}/include/postgresql
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
CPPFLAGS+= -I${LOCALBASE}/include/stlport
LDFLAGS+= -L${LOCALBASE}/lib -lstlport_gcc ${PTHREAD_LIBS}
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CPPFLAGS}"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -56,13 +56,6 @@ INFO= tora
PREFIX2FIX= doc/help/preferences.texi src/toconfiguration.h
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600029
BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo
CONFIGURE_ENV+= MAKEINFO=${LOCALBASE}/bin/makeinfo
.endif
run-autotools:
(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ./autogen.sh)
@ -81,4 +74,4 @@ post-install:
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -28,6 +28,8 @@ CONFIGURE_ENV= CPPFLAGS="${PTHREAD_CFLAGS}"\
LDFLAGS="-L${LOCALBASE}/lib"
ONLY_FOR_ARCHS= i386
CHECK_PORT= /usr/bin/nc -z localhost $$\1
OPTIONS= IMAGEMAGICK "ImageMagick support" off\
KERBEROS "Kerberos extension" off\
OPENLDAP "OpenLDAP support" off
@ -56,13 +58,6 @@ post-install:
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 504000
CHECK_PORT= ${LOCALBASE}/bin/nc -vz localhost $$\1 2>\&1 | ${GREP} open
BUILD_DEPENDS+= ${NETCAT}:${PORTSDIR}/net/netcat
.else
CHECK_PORT= /usr/bin/nc -z localhost $$\1
.endif
.if defined(WITH_IMAGEMAGICK)
CONFIGURE_ARGS+=--enable-imagemagick=${LOCALBASE}
LIB_DEPENDS+= MagickWand.1:${PORTSDIR}/graphics/ImageMagick

View File

@ -23,12 +23,6 @@ USE_KDELIBS_VER= 3
USE_PYTHON_BUILD= yes
MAKE_ENV= QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
CXXFLAGS+= -fpermissive
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|%%LINKFLAGS%%|${PTHREAD_LIBS}|g ; \
@ -45,4 +39,4 @@ do-install:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf install
@${STRIP_CMD} ${PREFIX}/bin/kdissert
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -70,10 +70,6 @@ DESKBAR_MOD= ${PREFIX}/${LDESKBAR_MOD}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= does not build on ${OPSYS}-${OSREL}
.endif
.if ${OSVERSION} < 700041
SUB_FILES= pkg-message
PKGMESSAGE= ${WRKDIR}/pkg-message

View File

@ -23,12 +23,6 @@ USE_KDELIBS_VER= 3
USE_PYTHON_BUILD= yes
MAKE_ENV= QTDIR="${QT_PREFIX}" KDEDIR="${KDE_PREFIX}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
CXXFLAGS+= -fpermissive
.endif
post-patch:
@${REINPLACE_CMD} -e \
's|%%LINKFLAGS%%|${PTHREAD_LIBS}|g ; \
@ -45,4 +39,4 @@ do-install:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ./waf install
@${STRIP_CMD} ${PREFIX}/bin/kdissert
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -48,10 +48,4 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/doc/callback_example.sh ${DOCSDIR}
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600030
IGNORE=is not supported on FreeBSD < 6.0
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>