Remove always-false/true conditions based on OSVERSION 500000
This commit is contained in:
parent
e74f1f2ba2
commit
ec7c5b0142
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200770
@ -24,9 +24,6 @@ PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# Check for FreeBSD version
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= this port is for FreeBSD 5 or above
|
||||
.else
|
||||
.if ${OSVERSION} < 600000
|
||||
.if ${ARCH} != "i386"
|
||||
IGNORE= this port is for FreeBSD 6 or above
|
||||
@ -35,7 +32,6 @@ VER= 5.4
|
||||
.else
|
||||
VER= 6.0
|
||||
.endif
|
||||
.endif
|
||||
|
||||
.if ${PHP_VER} == 4
|
||||
ZEND_PATH= 4.4.x
|
||||
|
@ -48,10 +48,6 @@ SHLIB_VER= 43
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-include-allegro-inline-fmaths.in
|
||||
.endif
|
||||
|
||||
.if defined(WITH_AL)
|
||||
LIB_DEPENDS+= openal.0:${PORTSDIR}/audio/openal
|
||||
CONFIGURE_ARGS+=--enable-sgialdigi
|
||||
|
@ -48,10 +48,6 @@ PORTSCOUT= limitw:1,even
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-include-allegro-inline-fmaths.in
|
||||
.endif
|
||||
|
||||
.if defined(WITH_ARTS)
|
||||
LIB_DEPENDS+= artsc.0:${PORTSDIR}/audio/arts
|
||||
CONFIGURE_ARGS+=--enable-artsdigi
|
||||
|
@ -42,10 +42,6 @@ APR_UTIL_CONF_ARGS= --with-apr=../apr-${PORTVERSION} \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000 && defined(APR_SVN_WITHOUT_THREADS_4)
|
||||
APR_UTIL_WITHOUT_THREADS= yes
|
||||
.endif
|
||||
|
||||
.if defined(APR_UTIL_WITHOUT_THREADS)
|
||||
CONFIGURE_ARGS+= --disable-threads
|
||||
APR_UTIL_CONF_ARGS+= --disable-threads
|
||||
|
@ -42,10 +42,6 @@ APR_UTIL_CONF_ARGS= --with-apr=../apr-${PORTVERSION} \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000 && defined(APR_SVN_WITHOUT_THREADS_4)
|
||||
APR_UTIL_WITHOUT_THREADS= yes
|
||||
.endif
|
||||
|
||||
.if defined(APR_UTIL_WITHOUT_THREADS)
|
||||
CONFIGURE_ARGS+= --disable-threads
|
||||
APR_UTIL_CONF_ARGS+= --disable-threads
|
||||
|
@ -42,10 +42,6 @@ APR_UTIL_CONF_ARGS= --with-apr=../apr-${PORTVERSION} \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000 && defined(APR_SVN_WITHOUT_THREADS_4)
|
||||
APR_UTIL_WITHOUT_THREADS= yes
|
||||
.endif
|
||||
|
||||
.if defined(APR_UTIL_WITHOUT_THREADS)
|
||||
CONFIGURE_ARGS+= --disable-threads
|
||||
APR_UTIL_CONF_ARGS+= --disable-threads
|
||||
|
@ -42,10 +42,6 @@ APR_UTIL_CONF_ARGS= --with-apr=../apr-${PORTVERSION} \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000 && defined(APR_SVN_WITHOUT_THREADS_4)
|
||||
APR_UTIL_WITHOUT_THREADS= yes
|
||||
.endif
|
||||
|
||||
.if defined(APR_UTIL_WITHOUT_THREADS)
|
||||
CONFIGURE_ARGS+= --disable-threads
|
||||
APR_UTIL_CONF_ARGS+= --disable-threads
|
||||
|
@ -36,9 +36,6 @@ LIB= ar
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Code::Blocks is currently not supported for FreeBSD versions prior to FreeBSD 5
|
||||
.endif
|
||||
.if ${ARCH} == ia64 && ${OSVERSION} >= 600000 && ${OSVERSION} < 700000
|
||||
BROKEN= Code::Blocks is currently not supported on IA64 FreeBSD 6
|
||||
.endif
|
||||
|
@ -21,12 +21,6 @@ ALL_TARGET= lib
|
||||
USE_GMAKE= yes
|
||||
USE_GCC= 2.95
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${ARCH} == "alpha" && ${OSVERSION} < 500000
|
||||
BROKEN= "Does not compile on alpha 4.x"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@( cd ${WRKSRC}; ${MV} c++ c++.orig; \
|
||||
${SED} -e 's|^ *gcc|${CXX} ${CXXFLAGS}|' c++.orig > c++; ${CHMOD} +x c++ )
|
||||
@ -51,4 +45,4 @@ do-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/cppadvio
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -15,6 +15,8 @@ MASTER_SITES= http://ch.tudelft.nl/~arthur/cvsd/
|
||||
MAINTAINER= bu7cher@yandex.ru
|
||||
COMMENT= CVS pserver daemon
|
||||
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-cvsd-buildroot.in
|
||||
|
||||
USE_PERL5= yes
|
||||
USE_GETOPT_LONG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
@ -32,16 +34,10 @@ PLIST_FILES= etc/cvsd/cvsd.conf.sample sbin/cvsd sbin/cvsd-buginfo \
|
||||
PLIST_DIRS= etc/cvsd
|
||||
USE_RC_SUBR= cvsd
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 500000
|
||||
EXTRA_PATCHES+= ${FILESDIR}/extra-cvsd-buildroot.in
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/cvsd ${PREFIX}/sbin/cvsd
|
||||
.for FILE in cvsd-buginfo cvsd-buildroot cvsd-passwd
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${FILE} ${PREFIX}/sbin
|
||||
.for f in cvsd-buginfo cvsd-buildroot cvsd-passwd
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/sbin
|
||||
.endfor
|
||||
@${MKDIR} ${PREFIX}/etc/cvsd
|
||||
${INSTALL_DATA} ${WRKSRC}/cvsd.conf-dist ${PREFIX}/etc/cvsd/cvsd.conf.sample
|
||||
@ -57,4 +53,4 @@ do-install:
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -33,10 +33,4 @@ MAN1= cvs.1
|
||||
MAN5= cvs.5
|
||||
MLINKS= cvs.1 cvsnt.1 cvs.5 cvsnt.5
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= requires wscanf, vswprintf
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -25,10 +25,6 @@ USE_GECKO= mozilla
|
||||
.include <bsd.port.pre.mk>
|
||||
.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN="Does not build"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|firefox-nspr|firefox-xpcom|; \
|
||||
s|mozilla-nspr|mozilla-xpcom|' \
|
||||
|
@ -40,7 +40,7 @@ PORTDOCS= *
|
||||
CFLAGS+= -Duseconds_t=long
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 500000 || exists(${LOCALBASE}/lib/libreadline.so.5)
|
||||
.if exists(${LOCALBASE}/lib/libreadline.so.5)
|
||||
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
|
||||
.endif
|
||||
|
||||
|
@ -29,13 +29,7 @@ MAN1= assa-genesis.1
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/^SUBDIRS/s: doc : :g' ${WRKSRC}/Makefile.in
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ( ${OSVERSION} < 500000 )
|
||||
BROKEN= compilation fails and passing -fhuge-objects does not help
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/debian/assa-genesis.1 ${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -22,13 +22,8 @@ USE_GMAKE= yes
|
||||
USE_LDCONFIG= yes
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's, make, gmake,' ${WRKSRC}/Makefile
|
||||
.if ${OSVERSION} < 500000
|
||||
${REINPLACE_CMD} -e 's, -Wno-strict-aliasing,,' ${WRKSRC}/libdisasm/Makefile
|
||||
.endif
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
DOCSDIR= ${DATADIR}/doc
|
||||
@ -57,4 +52,4 @@ do-install:
|
||||
${INSTALL_MAN} ${WRKSRC}/man/${i} ${PREFIX}/man/man7
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -24,7 +24,7 @@ CFLAGS:= ${CFLAGS:N-O*} -O2
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 600000 && ${OSVERSION} > 500000 && !defined(WITH_3DNOW_GCC40)
|
||||
.if ${OSVERSION} < 600000 && && !defined(WITH_3DNOW_GCC40)
|
||||
BUILD_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34
|
||||
RUN_DEPENDS+= gcc34:${PORTSDIR}/lang/gcc34
|
||||
CC:= gcc34
|
||||
@ -33,7 +33,7 @@ CXX:= g++34
|
||||
|
||||
.if defined(WITH_3DNOW_GCC40) && ${OSVERSION} < 700042
|
||||
USE_GCC= 4.0+
|
||||
.if ${OSVERSION} < 600000 && ${OSVERSION} > 500000
|
||||
.if ${OSVERSION} < 600000
|
||||
RUN_DEPENDS+= ${BUILD_DEPENDS}
|
||||
.endif
|
||||
.endif
|
||||
|
@ -24,11 +24,6 @@ SCRIPTS_ENV= WRKDIRPREFIX="${WRKDIRPREFIX}" \
|
||||
PORTNAME="${PORTNAME}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
.if ${OSVERSION} < 500000
|
||||
PLIST_SUB+= THREADS="@comment "
|
||||
.else
|
||||
PLIST_SUB+= THREADS=""
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/genmanlist.sh
|
||||
|
@ -3,6 +3,6 @@ include/libtecla.h
|
||||
lib/libtecla.a
|
||||
lib/libtecla.so
|
||||
lib/libtecla.so.1
|
||||
%%THREADS%%lib/libtecla_r.a
|
||||
%%THREADS%%lib/libtecla_r.so
|
||||
%%THREADS%%lib/libtecla_r.so.1
|
||||
lib/libtecla_r.a
|
||||
lib/libtecla_r.so
|
||||
lib/libtecla_r.so.1
|
||||
|
@ -24,10 +24,6 @@ PLIST_FILES= bin/linux_kdump
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
USE_GCC= 3.4+
|
||||
.endif
|
||||
|
||||
.ifndef(SRCDIR)
|
||||
SRCDIR= /usr/src
|
||||
pre-everything::
|
||||
|
@ -44,12 +44,6 @@ INSTALLS_SHLIB= yes
|
||||
PORTDOCS= *
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= does not compile on FreeBSD 4.x (missing swprintf in libc)
|
||||
.endif
|
||||
|
||||
pre-configure:
|
||||
@(cd ${CONFIGURE_WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${ACLOCAL})
|
||||
@${REINPLACE_CMD} -e '/^_LT_AC_SHELL_INIT/d' ${WRKSRC}/aclocal.m4
|
||||
@ -65,4 +59,4 @@ post-install:
|
||||
done
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -13,6 +13,8 @@ MASTER_SITES= http://monotone.ca/downloads/${PORTVERSION}/
|
||||
MAINTAINER= lapo@lapo.it
|
||||
COMMENT= A distributed version control system with digital signatures
|
||||
|
||||
LIB_DEPENDS= boost_regex.4:${PORTSDIR}/devel/boost
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
USE_GCC= 3.4+
|
||||
USE_PERL5_BUILD=yes
|
||||
@ -30,14 +32,6 @@ PLIST_FILES= bin/mtn share/zsh/site-functions/_mtn \
|
||||
INFO= monotone
|
||||
PORTDOCS= NEWS UPGRADE monotone.html
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
LIB_DEPENDS+= boost_regex.4:${PORTSDIR}/devel/boost-gcc3
|
||||
.else
|
||||
LIB_DEPENDS+= boost_regex.4:${PORTSDIR}/devel/boost
|
||||
.endif
|
||||
|
||||
.if defined(WITHOUT_NLS)
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
.else
|
||||
@ -63,4 +57,4 @@ post-install:
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -29,7 +29,7 @@ INFO= omake-doc
|
||||
|
||||
.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
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
@ -50,15 +50,6 @@ post-patch:
|
||||
${WRKSRC}/OMakefile ${WRKSRC}/src/main/OMakefile \
|
||||
${WRKSRC}/doc/OMakefile
|
||||
|
||||
#
|
||||
# Readline code is deeply broken on 4
|
||||
#
|
||||
.if ${OSVERSION} < 500000
|
||||
@${REINPLACE_CMD} -E -e \
|
||||
"s,^(READLINE_ENABLED[[:space:]]*=[[:space:]]*).*,\1false," \
|
||||
${WRKSRC}/mk/make_config ${WRKSRC}/mk/defaults
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}/
|
||||
|
@ -20,16 +20,10 @@ USE_BZIP2= yes
|
||||
USE_GMAKE= yes
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
PLIST_FILES= include/stdint.h
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${FIND} -d ${PREFIX}/include/openwince/ -type f | \
|
||||
${SED} -e 's,^${PREFIX}/,,' >> ${TMPPLIST}
|
||||
@${FIND} -d ${PREFIX}/include/openwince/ -type d | \
|
||||
${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -145,10 +145,5 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|P_PTHREADS_XPG6|0|' \
|
||||
${WRKSRC}/src/ptlib/unix/tlibthrd.cxx
|
||||
.endif
|
||||
.if ${OSVERSION} < 500000
|
||||
@${REINPLACE_CMD} -e 's|<stdint.h>|<inttypes.h>|' \
|
||||
${WRKSRC}/src/ptlib/common/tinyjpeg.cxx \
|
||||
${WRKSRC}/src/ptlib/common/jidctflt.cxx
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -25,7 +25,7 @@ MAKE_ENV= MAINCC=${CC}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000 && ${OSVERSION} < 500010
|
||||
.if ${OSVERSION} < 500010
|
||||
IGNORE="requires new kqueue API"
|
||||
.endif
|
||||
|
||||
|
@ -25,12 +25,4 @@ CONFIGURE_ENV= PTHREADINCLUDES="${PTHREAD_CFLAGS}" \
|
||||
PTHREADLIB="${PTHREAD_LIBS}"
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
PLIST_SUB+= NOT4X="@comment "
|
||||
.else
|
||||
PLIST_SUB+= NOT4X=""
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -12,7 +12,7 @@ include/rudiments/datetime.h
|
||||
include/rudiments/device.h
|
||||
include/rudiments/dictionary.h
|
||||
include/rudiments/directory.h
|
||||
%%NOT4X%%include/rudiments/dtd.h
|
||||
include/rudiments/dtd.h
|
||||
include/rudiments/dynamiclib.h
|
||||
include/rudiments/environment.h
|
||||
include/rudiments/error.h
|
||||
@ -28,7 +28,7 @@ include/rudiments/intervaltimer.h
|
||||
include/rudiments/linkedlist.h
|
||||
include/rudiments/listener.h
|
||||
include/rudiments/logger.h
|
||||
%%NOT4X%%include/rudiments/memorymap.h
|
||||
include/rudiments/memorymap.h
|
||||
include/rudiments/memorypool.h
|
||||
include/rudiments/modemclient.h
|
||||
include/rudiments/modemserver.h
|
||||
@ -64,8 +64,8 @@ include/rudiments/private/dictionarynode.h
|
||||
include/rudiments/private/dictionarynodeinlines.h
|
||||
include/rudiments/private/directory.h
|
||||
include/rudiments/private/directoryincludes.h
|
||||
%%NOT4X%%include/rudiments/private/dtd.h
|
||||
%%NOT4X%%include/rudiments/private/dtdincludes.h
|
||||
include/rudiments/private/dtd.h
|
||||
include/rudiments/private/dtdincludes.h
|
||||
include/rudiments/private/dynamiclib.h
|
||||
include/rudiments/private/dynamiclibincludes.h
|
||||
include/rudiments/private/environmentincludes.h
|
||||
@ -101,8 +101,8 @@ include/rudiments/private/listenerincludes.h
|
||||
include/rudiments/private/logdestination.h
|
||||
include/rudiments/private/logger.h
|
||||
include/rudiments/private/loggerincludes.h
|
||||
%%NOT4X%%include/rudiments/private/memorymap.h
|
||||
%%NOT4X%%include/rudiments/private/memorymapincludes.h
|
||||
include/rudiments/private/memorymap.h
|
||||
include/rudiments/private/memorymapincludes.h
|
||||
include/rudiments/private/memorypool.h
|
||||
include/rudiments/private/memorypoolincludes.h
|
||||
include/rudiments/private/modemclient.h
|
||||
@ -161,12 +161,12 @@ include/rudiments/private/unixsocketutil.h
|
||||
include/rudiments/private/unixsocketutilincludes.h
|
||||
include/rudiments/private/variablebuffer.h
|
||||
include/rudiments/private/variablebufferincludes.h
|
||||
%%NOT4X%%include/rudiments/private/xmldom.h
|
||||
%%NOT4X%%include/rudiments/private/xmldomincludes.h
|
||||
%%NOT4X%%include/rudiments/private/xmldomnode.h
|
||||
%%NOT4X%%include/rudiments/private/xmldomnodeincludes.h
|
||||
%%NOT4X%%include/rudiments/private/xmlsax.h
|
||||
%%NOT4X%%include/rudiments/private/xmlsaxincludes.h
|
||||
include/rudiments/private/xmldom.h
|
||||
include/rudiments/private/xmldomincludes.h
|
||||
include/rudiments/private/xmldomnode.h
|
||||
include/rudiments/private/xmldomnodeincludes.h
|
||||
include/rudiments/private/xmlsax.h
|
||||
include/rudiments/private/xmlsaxincludes.h
|
||||
include/rudiments/process.h
|
||||
include/rudiments/protocolentry.h
|
||||
include/rudiments/randomnumber.h
|
||||
@ -190,9 +190,9 @@ include/rudiments/unixclientsocket.h
|
||||
include/rudiments/unixserversocket.h
|
||||
include/rudiments/unixsocketutil.h
|
||||
include/rudiments/variablebuffer.h
|
||||
%%NOT4X%%include/rudiments/xmldom.h
|
||||
%%NOT4X%%include/rudiments/xmldomnode.h
|
||||
%%NOT4X%%include/rudiments/xmlsax.h
|
||||
include/rudiments/xmldom.h
|
||||
include/rudiments/xmldomnode.h
|
||||
include/rudiments/xmlsax.h
|
||||
lib/librudiments.a
|
||||
lib/librudiments.la
|
||||
lib/librudiments.so
|
||||
|
@ -49,7 +49,7 @@ OPTIONS= NAS "Include support for the Network Audio System" Off \
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 500000 && exists(/usr/lib/libvgl.so)
|
||||
.if exists(/usr/lib/libvgl.so)
|
||||
CONFIGURE_ARGS+=--enable-video-vgl
|
||||
DISPLAY_MSG= ${CAT} ${PKGMESSAGE}
|
||||
.else
|
||||
|
@ -13,6 +13,10 @@ MASTER_SITES= http://dist.okws.org/dist/
|
||||
MAINTAINER= ports@okws.org
|
||||
COMMENT= Standard version of the sfslite library
|
||||
|
||||
LIB_DEPENDS= gmp.7:${PORTSDIR}/math/libgmp4
|
||||
|
||||
CONFIGURE_ARGS= --with-gmp=${LOCALBASE}
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_GMAKE= yes
|
||||
#
|
||||
@ -20,15 +24,6 @@ USE_GMAKE= yes
|
||||
#
|
||||
USE_BISON= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} > 500000
|
||||
LIB_DEPENDS+= gmp.7:${PORTSDIR}/math/libgmp4
|
||||
CONFIGURE_ARGS+=--with-gmp=${LOCALBASE}
|
||||
.else
|
||||
CONFIGURE_ARGS+=--with-gmp=/usr
|
||||
.endif
|
||||
|
||||
#
|
||||
# Map X.Y.Z.Q => X.Y
|
||||
#
|
||||
@ -68,4 +63,4 @@ PKG_INSTALL?= pkg-install
|
||||
pre-install:
|
||||
PKG_PREFIX=${PREFIX} ${SH} ${PKG_INSTALL} ${PKGNAME} PRE-INSTALL
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -45,10 +45,4 @@ do-install:
|
||||
done
|
||||
(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} install)
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= "Does not compile"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -33,29 +33,17 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700000
|
||||
PLIST_SUB+= RELENG_4="@comment "
|
||||
PLIST_SUB+= RELENG_5="@comment "
|
||||
PLIST_SUB+= RELENG_6="@comment "
|
||||
PLIST_SUB+= RELENG_7=""
|
||||
.else
|
||||
.if ${OSVERSION} >= 600000
|
||||
PLIST_SUB+= RELENG_4="@comment "
|
||||
.elif ${OSVERSION} >= 600000
|
||||
PLIST_SUB+= RELENG_5="@comment "
|
||||
PLIST_SUB+= RELENG_6=""
|
||||
PLIST_SUB+= RELENG_7="@comment "
|
||||
.else
|
||||
.if ${OSVERSION} >= 500000
|
||||
PLIST_SUB+= RELENG_4="@comment "
|
||||
PLIST_SUB+= RELENG_5=""
|
||||
PLIST_SUB+= RELENG_6="@comment "
|
||||
PLIST_SUB+= RELENG_7="@comment "
|
||||
.else
|
||||
PLIST_SUB+= RELENG_4=""
|
||||
PLIST_SUB+= RELENG_5="@comment "
|
||||
PLIST_SUB+= RELENG_6="@comment "
|
||||
PLIST_SUB+= RELENG_7="@comment "
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
|
||||
PROCFS!= /sbin/mount | ${GREP} '^procfs' | ${AWK} '{print $1}'
|
||||
|
@ -13,7 +13,6 @@ lib/valgrind/glibc-2.1.supp
|
||||
lib/valgrind/glibc-2.2.supp
|
||||
lib/valgrind/glibc-2.3.supp
|
||||
lib/valgrind/hp2ps
|
||||
%%RELENG_4%%lib/valgrind/libc_r.so.4
|
||||
%%RELENG_5%%lib/valgrind/libc_r.so.5
|
||||
%%RELENG_5%%lib/valgrind/libkse.so.1
|
||||
%%RELENG_5%%lib/valgrind/libpthread.so.1
|
||||
|
@ -29,29 +29,17 @@ USE_PERL5_BUILD=yes
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 700000
|
||||
PLIST_SUB+= RELENG_4="@comment "
|
||||
PLIST_SUB+= RELENG_5="@comment "
|
||||
PLIST_SUB+= RELENG_6="@comment "
|
||||
PLIST_SUB+= RELENG_7=""
|
||||
.else
|
||||
.if ${OSVERSION} >= 600000
|
||||
PLIST_SUB+= RELENG_4="@comment "
|
||||
.elif ${OSVERSION} >= 600000
|
||||
PLIST_SUB+= RELENG_5="@comment "
|
||||
PLIST_SUB+= RELENG_6=""
|
||||
PLIST_SUB+= RELENG_7="@comment "
|
||||
.else
|
||||
.if ${OSVERSION} >= 500000
|
||||
PLIST_SUB+= RELENG_4="@comment "
|
||||
PLIST_SUB+= RELENG_5=""
|
||||
PLIST_SUB+= RELENG_6="@comment "
|
||||
PLIST_SUB+= RELENG_7="@comment "
|
||||
.else
|
||||
PLIST_SUB+= RELENG_4=""
|
||||
PLIST_SUB+= RELENG_5="@comment "
|
||||
PLIST_SUB+= RELENG_6="@comment "
|
||||
PLIST_SUB+= RELENG_7="@comment "
|
||||
.endif
|
||||
.endif
|
||||
.endif
|
||||
|
||||
PROCFS!= /sbin/mount | ${GREP} '^procfs' | ${AWK} '{print $1}'
|
||||
|
@ -12,7 +12,6 @@ lib/valgrind/default.supp
|
||||
lib/valgrind/glibc-2.1.supp
|
||||
lib/valgrind/glibc-2.2.supp
|
||||
lib/valgrind/glibc-2.3.supp
|
||||
%%RELENG_4%%lib/valgrind/libc_r.so.4
|
||||
%%RELENG_5%%lib/valgrind/libc_r.so.5
|
||||
%%RELENG_5%%lib/valgrind/libkse.so.1
|
||||
%%RELENG_5%%lib/valgrind/libpthread.so.1
|
||||
|
@ -20,12 +20,6 @@ AUX_FILES= doc-1.awk doc-3.awk doc-4.awk INFO RFC.XXXX
|
||||
|
||||
MAN8= doc.8
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
IGNORE= requires DiG Version-9.x to run on 4.x
|
||||
.endif
|
||||
|
||||
do-build:
|
||||
@${MV} ${WRKSRC}/doc ${WRKSRC}/doc.org
|
||||
@${SED} -e 's|$${PREFIX}|${PREFIX}|g' -e 's|$${AUX_DIR}|${AUX_DIR}|g' ${WRKSRC}/doc.org \
|
||||
@ -41,4 +35,4 @@ do-install:
|
||||
@${INSTALL_DATA} ${WRKSRC}/doc.8 ${PREFIX}/man/man8/doc.8
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -21,12 +21,6 @@ USE_BZIP2= yes
|
||||
HAS_CONFIGURE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500000
|
||||
USE_GCC= 3.2+
|
||||
.endif
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
MAN1= fdnscname.1 fdnsip.1 fdnsip6.1 fdnsip6list.1 fdnsiplist.1 fdnsmx.1 \
|
||||
@ -50,4 +44,4 @@ MAN3= firedns_aton4.3 firedns_aton6.3 firedns_dnsbl_lookup.3 \
|
||||
pre-configure:
|
||||
@-${RM} ${WRKSRC}/firemake/*.orig
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
@ -27,13 +27,9 @@ ALL_TARGET= all
|
||||
INSTALL_TARGET= install-lib install-h
|
||||
|
||||
.if defined(WITH_DOCS)
|
||||
.if ${OSVERSION} < 500000
|
||||
BROKEN= Doxygen fails to create manpages on 4.x
|
||||
.endif
|
||||
|
||||
BUILD_DEPENDS+= doxygen:${PORTSDIR}/devel/doxygen
|
||||
ALL_TARGET+= doc
|
||||
INSTALL_TARGET+= install-doc
|
||||
INSTALL_TARGET+=install-doc
|
||||
|
||||
NOMANCOMPRESS= true
|
||||
MANCOMPRESSED= no
|
||||
|
@ -46,7 +46,7 @@ PLIST_SUB+= STATIC="@comment "
|
||||
EXTRA_PATCHES+= ${PATCHDIR}/extrapatch-setuid
|
||||
.endif
|
||||
|
||||
.if exists(/usr/include/ucontext.h) && ${OSVERSION} >= 500000
|
||||
.if exists(/usr/include/ucontext.h)
|
||||
UCONTEXT!= ${AWK} '/setcontext/ { print "YES" }' \
|
||||
/usr/include/ucontext.h
|
||||
.if ${UCONTEXT} == ""
|
||||
|
Loading…
Reference in New Issue
Block a user