forked from Lainports/freebsd-ports
- Remove conditional checks for FreeBSD 5.x and older
Approved by: pav
This commit is contained in:
parent
856903091a
commit
7b4ee14e1f
21 changed files with 11 additions and 108 deletions
|
|
@ -26,8 +26,4 @@ USE_AUTOTOOLS= libtool:15
|
|||
CONFIGURE_ARGS+= --enable-ascii
|
||||
.endif
|
||||
|
||||
.if ${OSVERSION} < 500016
|
||||
CONFIGURE_ENV+= PTHREAD_CFLAGS=${PTHREAD_CFLAGS} PTHREAD_LIBS=${PTHREAD_LIBS}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
|||
|
|
@ -33,10 +33,4 @@ USE_LDCONFIG= yes
|
|||
|
||||
PLIST_SUB= SHLIB_MAJOR="${SHLIB_MAJOR}"
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500039
|
||||
IGNORE= requires wchar functions to use the produced library
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -44,10 +44,4 @@ do-extract:
|
|||
${CP} -rp /usr/src/contrib/groff/src/xditview/* ${WRKSRC}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} <= 600000
|
||||
BROKEN= Missing dependency on imake
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -54,10 +54,6 @@ PORTDOCS= CHANGES README LICENSE
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 600000
|
||||
BROKEN= fails to install on FreeBSD 5.x
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
|
|
|
|||
|
|
@ -33,10 +33,6 @@ PORTDOCS= ChangeLog INSTALL README README_DE README_INDENT \
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 600000
|
||||
BROKEN= does not compile
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
's|^PREFIX =|PREFIX ?=|' ${WRKSRC}/${MAKEFILE}
|
||||
|
|
|
|||
|
|
@ -31,10 +31,6 @@ BUILDDIR= ${WRKSRC}/lib/iiimcf
|
|||
|
||||
.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}"
|
||||
|
|
|
|||
|
|
@ -29,10 +29,6 @@ BUILDDIR= ${WRKSRC}/lib/CSConv
|
|||
|
||||
.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 -liconv ${PTHREAD_LIBS}
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
|
|
|||
|
|
@ -34,10 +34,6 @@ BUILDDIR= ${WRKSRC}/gnome-im-switcher
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 503000
|
||||
IGNORE= is supported on FreeBSD 5.3 and later only
|
||||
.endif
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib -lintl ${PTHREAD_LIBS}
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
|
|
|||
|
|
@ -33,10 +33,6 @@ BUILDDIR= ${WRKSRC}/iiimgcf
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 503000
|
||||
IGNORE= is supported on FreeBSD 5.3 and later only
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DEBUG)
|
||||
CFLAGS+= -DDEBUG
|
||||
.endif
|
||||
|
|
|
|||
|
|
@ -34,10 +34,6 @@ 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 -I${X11BASE}/include ${PTHREAD_CFLAGS}
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib -liconv ${PTHREAD_LIBS}
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
|
|
|||
|
|
@ -28,10 +28,6 @@ BUILDDIR= ${WRKSRC}/lib/iiimp
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 503000
|
||||
IGNORE= is supported on FreeBSD 5.3 and later only
|
||||
.endif
|
||||
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
||||
post-patch:
|
||||
|
|
|
|||
|
|
@ -33,10 +33,6 @@ BUILDDIR= ${WRKSRC}/iiimsf
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 503000
|
||||
IGNORE= is supported on FreeBSD 5.3 and later only
|
||||
.endif
|
||||
|
||||
.if defined(WITH_DEBUG)
|
||||
CFLAGS+= -g -ggdb -DDEBUG
|
||||
.endif
|
||||
|
|
|
|||
|
|
@ -34,10 +34,6 @@ BUILDDIR= ${WRKSRC}/iiimxcf/xiiimp.so
|
|||
|
||||
.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 -lintl ${PTHREAD_LIBS}
|
||||
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
||||
|
|
|
|||
|
|
@ -32,10 +32,6 @@ BUILDDIR= ${WRKSRC}/iiimxcf/htt_xbe
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 503000
|
||||
IGNORE= is supported on FreeBSD 5.3 and later only
|
||||
.endif
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
|
||||
CXXFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include ${PTHREAD_CFLAGS}
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD_LIBS}
|
||||
|
|
|
|||
|
|
@ -22,6 +22,7 @@ CONFIGURE_ARGS= --enable-shared
|
|||
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
|
||||
AUTOHEADER="${TRUE}"
|
||||
USE_LDCONFIG= yes
|
||||
USE_GCC= 3.3
|
||||
|
||||
INFO= latte liblatte
|
||||
|
||||
|
|
@ -30,10 +31,6 @@ LDFLAGS= -L${LOCALBASE}/lib
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 502126
|
||||
USE_GCC= 3.3
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
-@${RM} ${WRKSRC}/getopt*
|
||||
|
||||
|
|
|
|||
|
|
@ -29,10 +29,4 @@ PLIST_FILES= bin/msg bin/msort
|
|||
|
||||
MAN1= msort.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500035
|
||||
BROKEN= Does not build with older versions of FreeBSD
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ MASTER_SITES= http://www.mirrors.wiretapped.net/security/steganography/nicetext/
|
|||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Convert files to pseudo-natural-language text and back again
|
||||
|
||||
USE_GCC= 3.3
|
||||
USE_GMAKE= yes
|
||||
CFLAGS+= -fpermissive
|
||||
|
||||
|
|
@ -31,10 +32,6 @@ PROGRAMS= bitcp dct2mstr expgram genmodel gramtest impkimmo impmsc \
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 502126
|
||||
USE_GCC= 3.3
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${FIND} ${WRKSRC} -name "Makefile" | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|gcc|$${CC}|g ; \
|
||||
|
|
|
|||
|
|
@ -37,11 +37,4 @@ MAN3= XML::DOM.3 XML::DOM::AttDef.3 XML::DOM::AttlistDecl.3 \
|
|||
|
||||
PBASE= ${SITE_PERL}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 500007
|
||||
post-patch:
|
||||
@${PERL} -i -pe 's/^ *use bytes;.*//;' ${WRKSRC}/lib/XML/DOM.pm
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -25,10 +25,4 @@ pre-build:
|
|||
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist_egg -o plat-name -s ${PYEASYINSTALL_OSARCH:S/^-//}
|
||||
@cd ${WRKSRC} && ${PYTHON_CMD} setup.py setopt -c bdist -o plat-name -s ${PYEASYINSTALL_OSARCH:S/^-//}
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} < 600000
|
||||
BROKEN= Leaves egg file behind on deinstall
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -69,11 +69,6 @@ PLIST_SUB+= WITH_XMLRPC_C="@comment "
|
|||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# For 4.x systems.
|
||||
.if ${OSVERSION} <= 503000
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/include/magic.h:${PORTSDIR}/sysutils/file
|
||||
.endif
|
||||
|
||||
DEFAULT_ENCODING?= euc_jp
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
|||
|
|
@ -27,20 +27,13 @@ PYDISTUTILS_NOEGGINFO= yes
|
|||
|
||||
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
|
||||
PTHREAD_LIBS="${PTHREAD_LIBS}" \
|
||||
PREFIX="${PREFIX}"
|
||||
PREFIX="${PREFIX}" \
|
||||
CXXFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__ ${CFLAGS}" \
|
||||
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+= CXXFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/stlport ${CFLAGS}" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -lstlport_gcc -lintl ${PTHREAD_LIBS}"
|
||||
.else
|
||||
CONFIGURE_ENV+= CXXFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__ ${CFLAGS}" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib -lintl"
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} s,bash,sh,g ${WRKSRC}/src/scim-panel-kde.in
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue