diff options
author | pav <pav@FreeBSD.org> | 2009-01-06 04:36:33 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2009-01-06 04:36:33 +0800 |
commit | 460836ff23b6dcedf0492f75495022dc42f6eb99 (patch) | |
tree | 5c97de462ec70569d72e34d640782d1b9348d6de /lang | |
parent | fbbcbe4a59e1074c58bbdabf056cd9c13db27392 (diff) | |
download | freebsd-ports-gnome-460836ff23b6dcedf0492f75495022dc42f6eb99.tar.gz freebsd-ports-gnome-460836ff23b6dcedf0492f75495022dc42f6eb99.tar.zst freebsd-ports-gnome-460836ff23b6dcedf0492f75495022dc42f6eb99.zip |
- Remove conditional checks for FreeBSD 5.x and older
Diffstat (limited to 'lang')
57 files changed, 25 insertions, 556 deletions
diff --git a/lang/compaq-cc/Makefile b/lang/compaq-cc/Makefile index 4fc39837df59..02b173f07b9b 100644 --- a/lang/compaq-cc/Makefile +++ b/lang/compaq-cc/Makefile @@ -131,9 +131,6 @@ post-install: ${FIND} ${CCC_DIR}/alpha-linux -type f -o -type l \ >${WRKDIR}/PLIST.alphalinux ${ECHO_CMD} "lib/ld-linux.so.2" >>${WRKDIR}/PLIST.alphalinux -.if ${OSVERSION} < 501114 - ${ECHO_CMD} "@dirrm lib" >>${WRKDIR}/PLIST.alphalinux -.endif cd ${PREFIX} ;\ ${FIND} ${CCC_DIR}/alpha-linux -type d \ | ${SED} -e 's/^/@dirrm /g' \ diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index dfe70d1a7bd7..ddcd3170385d 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -60,14 +60,6 @@ REINPLACE_ARGS= -i .include <bsd.port.pre.mk> -.if defined(WITHOUT_JAVA) && ${ARCH} == "amd64" && ${OSVERSION} < 600000 -BROKEN= does not compile -.endif - -.if ${OSVERSION} < 502102 -WITHOUT_ODBC= yes -.endif - .if !defined(WITHOUT_ODBC) DRIVER_MANAGER?= iodbc .if ${DRIVER_MANAGER} == "unixodbc" diff --git a/lang/erlang14/Makefile b/lang/erlang14/Makefile index dfe70d1a7bd7..ddcd3170385d 100644 --- a/lang/erlang14/Makefile +++ b/lang/erlang14/Makefile @@ -60,14 +60,6 @@ REINPLACE_ARGS= -i .include <bsd.port.pre.mk> -.if defined(WITHOUT_JAVA) && ${ARCH} == "amd64" && ${OSVERSION} < 600000 -BROKEN= does not compile -.endif - -.if ${OSVERSION} < 502102 -WITHOUT_ODBC= yes -.endif - .if !defined(WITHOUT_ODBC) DRIVER_MANAGER?= iodbc .if ${DRIVER_MANAGER} == "unixodbc" diff --git a/lang/ezm3/Makefile b/lang/ezm3/Makefile index 6db914ac033b..209c78c6080a 100644 --- a/lang/ezm3/Makefile +++ b/lang/ezm3/Makefile @@ -84,12 +84,6 @@ pre-patch: .endfor .endif -post-patch: -.if ${ARCH} == "sparc64" && ${OSVERSION} < 502107 - @${REINPLACE_CMD} -E -e 's|(^.*time_t.*=.*)int64_t;|\1int32_t;|' \ - ${WRKSRC}/libs/m3core/src/unix/freebsd-4.sparc64/Utypes.i3 -.endif - do-build: @${ECHO_MSG} "This port does everything in the install step." @${ECHO_MSG} "The build step is a no-op." diff --git a/lang/fpc/Makefile b/lang/fpc/Makefile index c8273ca3c371..876579fa281f 100644 --- a/lang/fpc/Makefile +++ b/lang/fpc/Makefile @@ -25,6 +25,8 @@ DIST_SUBDIR= freepascal MAINTAINER?= acm@FreeBSD.org COMMENT?= Free Pascal compiler with Turbo and Delphi +LIB_DEPENDS= c.5:${PORTSDIR}/misc/compat5x + USE_GMAKE= yes ONLY_FOR_ARCHS= i386 @@ -76,11 +78,6 @@ MAN1= bin2obj.1 \ unitdiff.1 MAN5= fpc.cfg.5 fpcmake.5 ptop.cfg.5 -# only need misc/compat4x if using the pre-built ppc386 -.if ${OSVERSION} >= 600000 -LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x -.endif - do-extract: # unpack binary distribution @${MKDIR} ${WRKDIR} diff --git a/lang/gambas/Makefile b/lang/gambas/Makefile index 73cb6a3e79b2..845ca8c6c2a5 100644 --- a/lang/gambas/Makefile +++ b/lang/gambas/Makefile @@ -85,10 +85,6 @@ PLIST_SUB+= XML="@comment " BROKEN= Segfault during build on ${ARCH} .endif -.if ${OSVERSION} < 502110 -RUN_DEPENDS+= pgrep:${PORTSDIR}/sysutils/pkill -.endif - .for lib in ${LIBS2FIX} NEW${lib:U}!= ${LDCONFIG} -r | ${GREP} ${lib} | ${GREP} -v 'compat/pkg' \ | ${AWK} -F 'lib\/' '{print $$2}' diff --git a/lang/gawk/Makefile b/lang/gawk/Makefile index 920c9d4981cb..0295be616207 100644 --- a/lang/gawk/Makefile +++ b/lang/gawk/Makefile @@ -16,12 +16,6 @@ COMMENT= The GNU version of Awk INFO= gawk gawkinet -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 500039 -EXTRA_PATCHES= ${PATCHDIR}/extra-patch-nowchar -.endif - GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-libiconv-prefix=${LOCALBASE} \ --with-libintl-prefix=${LOCALBASE} @@ -38,4 +32,4 @@ CONFIGURE_ARGS+=--disable-nls PLIST_SUB+= NLS="@comment " .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/lang/gawk/files/extra-patch-nowchar b/lang/gawk/files/patch-configure index 4896bac598fa..4896bac598fa 100644 --- a/lang/gawk/files/extra-patch-nowchar +++ b/lang/gawk/files/patch-configure diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index a4a8f5347454..d3174820cb94 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .endif -.if ${OSVERSION} < 502102 -CONFIGURE_ARGS+= --disable-libgomp -.endif - SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION} @@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ - gcc${SUFFIX}/gfortran -.if ${OSVERSION} >= 502102 -INFO+= gcc${SUFFIX}/libgomp -.endif + gcc${SUFFIX}/gfortran \ + gcc${SUFFIX}/libgomp .if ! defined(WITHOUT_JAVA) DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} diff --git a/lang/gcc28/Makefile b/lang/gcc28/Makefile index 7d6fc3a1e22d..819ac4a0cd08 100644 --- a/lang/gcc28/Makefile +++ b/lang/gcc28/Makefile @@ -31,9 +31,6 @@ BROKEN= Does not compile on alpha CONFIGURE_ENV+= OSVERSION=${OSVERSION} PLIST_SUB= GNUHOST=${CONFIGURE_TARGET} -.if ${OSVERSION} < 600011 -PLIST_FILES+= lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1/include/math.h -.endif CONFIGURE_ARGS= --with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/2.8.1/include/g++ \ --program-suffix=28 GNU_CONFIGURE= yes diff --git a/lang/gcc295/Makefile b/lang/gcc295/Makefile index 0503f0afbd24..4bd50852112c 100644 --- a/lang/gcc295/Makefile +++ b/lang/gcc295/Makefile @@ -35,9 +35,7 @@ BROKEN= Does not compile on alpha WITHOUT_CPU_CFLAGS= yes .endif -.if ${OSVERSION} >= 500039 WITHOUT_CPU_CFLAGS= yes -.endif GCC_REV= ${DISTNAME:S/gcc-//g:S/.test3//g} TARGLIB= ${PREFIX}/lib/gcc-lib/${CONFIGURE_TARGET}/${GCC_REV} diff --git a/lang/gcc42/Makefile b/lang/gcc42/Makefile index 71c8f4a52863..49054a1ade6a 100644 --- a/lang/gcc42/Makefile +++ b/lang/gcc42/Makefile @@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .endif -.if ${OSVERSION} < 502102 -CONFIGURE_ARGS+= --disable-libgomp -.endif - SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION} @@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ - gcc${SUFFIX}/gfortran -.if ${OSVERSION} >= 502102 -INFO+= gcc${SUFFIX}/libgomp -.endif + gcc${SUFFIX}/gfortran \ + gcc${SUFFIX}/libgomp .if ! defined(WITHOUT_JAVA) DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} diff --git a/lang/gcc43/Makefile b/lang/gcc43/Makefile index 60be8436127b..8133dd125a0a 100644 --- a/lang/gcc43/Makefile +++ b/lang/gcc43/Makefile @@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .endif -.if ${OSVERSION} < 502102 -CONFIGURE_ARGS+= --disable-libgomp -.endif - SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION} @@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ - gcc${SUFFIX}/gfortran -.if ${OSVERSION} >= 502102 -INFO+= gcc${SUFFIX}/libgomp -.endif + gcc${SUFFIX}/gfortran \ + gcc${SUFFIX}/libgomp .if ! defined(WITHOUT_JAVA) DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} diff --git a/lang/gcc44/Makefile b/lang/gcc44/Makefile index a4a8f5347454..d3174820cb94 100644 --- a/lang/gcc44/Makefile +++ b/lang/gcc44/Makefile @@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .endif -.if ${OSVERSION} < 502102 -CONFIGURE_ARGS+= --disable-libgomp -.endif - SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION} @@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ - gcc${SUFFIX}/gfortran -.if ${OSVERSION} >= 502102 -INFO+= gcc${SUFFIX}/libgomp -.endif + gcc${SUFFIX}/gfortran \ + gcc${SUFFIX}/libgomp .if ! defined(WITHOUT_JAVA) DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} diff --git a/lang/gcc45/Makefile b/lang/gcc45/Makefile index a4a8f5347454..d3174820cb94 100644 --- a/lang/gcc45/Makefile +++ b/lang/gcc45/Makefile @@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .endif -.if ${OSVERSION} < 502102 -CONFIGURE_ARGS+= --disable-libgomp -.endif - SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION} @@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ - gcc${SUFFIX}/gfortran -.if ${OSVERSION} >= 502102 -INFO+= gcc${SUFFIX}/libgomp -.endif + gcc${SUFFIX}/gfortran \ + gcc${SUFFIX}/libgomp .if ! defined(WITHOUT_JAVA) DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} diff --git a/lang/gcc46/Makefile b/lang/gcc46/Makefile index a4a8f5347454..d3174820cb94 100644 --- a/lang/gcc46/Makefile +++ b/lang/gcc46/Makefile @@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .endif -.if ${OSVERSION} < 502102 -CONFIGURE_ARGS+= --disable-libgomp -.endif - SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION} @@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ - gcc${SUFFIX}/gfortran -.if ${OSVERSION} >= 502102 -INFO+= gcc${SUFFIX}/libgomp -.endif + gcc${SUFFIX}/gfortran \ + gcc${SUFFIX}/libgomp .if ! defined(WITHOUT_JAVA) DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile index a4a8f5347454..d3174820cb94 100644 --- a/lang/gcc47/Makefile +++ b/lang/gcc47/Makefile @@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .endif -.if ${OSVERSION} < 502102 -CONFIGURE_ARGS+= --disable-libgomp -.endif - SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION} @@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ - gcc${SUFFIX}/gfortran -.if ${OSVERSION} >= 502102 -INFO+= gcc${SUFFIX}/libgomp -.endif + gcc${SUFFIX}/gfortran \ + gcc${SUFFIX}/libgomp .if ! defined(WITHOUT_JAVA) DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile index a4a8f5347454..d3174820cb94 100644 --- a/lang/gcc48/Makefile +++ b/lang/gcc48/Makefile @@ -51,10 +51,6 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .endif -.if ${OSVERSION} < 502102 -CONFIGURE_ARGS+= --disable-libgomp -.endif - SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc-${PORTVERSION} @@ -81,10 +77,8 @@ INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/gcc \ gcc${SUFFIX}/gccinstall \ gcc${SUFFIX}/gccint \ - gcc${SUFFIX}/gfortran -.if ${OSVERSION} >= 502102 -INFO+= gcc${SUFFIX}/libgomp -.endif + gcc${SUFFIX}/gfortran \ + gcc${SUFFIX}/libgomp .if ! defined(WITHOUT_JAVA) DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile index d291472cee0c..09ff4a5bdb47 100644 --- a/lang/ghc/Makefile +++ b/lang/ghc/Makefile @@ -52,10 +52,8 @@ LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline .if ${ARCH} == "i386" .if ${OSVERSION} >= 700000 DISTFILES+= ghc-${PORTVERSION}-i386-unknown-freebsd7-boot${EXTRACT_SUFX}:boot -.elif ${OSVERSION} >= 600000 -DISTFILES+= ghc-${PORTVERSION}-i386-unknown-freebsd6-boot${EXTRACT_SUFX}:boot .else -IGNORE= unsupported at the moment +DISTFILES+= ghc-${PORTVERSION}-i386-unknown-freebsd6-boot${EXTRACT_SUFX}:boot .endif .endif diff --git a/lang/icc/Makefile b/lang/icc/Makefile index 9e5c0dc8c93c..93251e43aded 100644 --- a/lang/icc/Makefile +++ b/lang/icc/Makefile @@ -57,24 +57,8 @@ EXTRACT_AFTER_ARGS= | tar -xf - \ ICCCFGVAL!= ${UNAME} -r | ${SED} -e 's/\..*//' -.if ( ${OSVERSION} < 502108 ) -PLIST_SUB+= MACHINE__TYPES_H="@comment " STDARG_H="" SYS_CDEFS_H="" \ - STDBOOL_H="" -.else -PLIST_SUB+= STDARG_H="@comment " SYS_CDEFS_H="@comment " -.if ( ${OSVERSION} < 503103 || ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600013 ) ) -PLIST_SUB+= MACHINE__TYPES_H="" STDBOOL_H="" -.else -PLIST_SUB+= MACHINE__TYPES_H="@comment " STDBOOL_H="@comment " -.endif -.if ${OSVERSION} < 502126 -GCCCOMPATVER= 330 -.endif -.if ${OSVERSION} >= 502126 GCCCOMPATVER= 340 -.endif GXXINCLUDE= /usr/include/c++/${GCCCOMPATVER:C/([0-9])([0-9]).+/\1.\2/} -.endif .for file in ${DISTFILES} .if !exists(${DISTDIR}/${DIST_SUBDIR}/${file}) @@ -143,49 +127,19 @@ post-patch: # Provide a more FreeBSD'ish compile environment .for i in icc.cfg icpc.cfg @${ECHO_CMD} -e "-Qlocation,ld,${PREFIX}/${COMPILERDIR}/bin/ldwrapper\n\n-wr1125\n-we140\n\n-Ulinux\n-U__linux__\n-U__linux\n-U__gnu_linux__\n\n-D__FreeBSD__=${ICCCFGVAL}\n\n" >>${WRKSRC}/opt/${COMPILERDIR}/bin/${i} -.if ( ${OSVERSION} >= 500039 ) @${ECHO_CMD} -e "-D__wchar_t=__ct_rune_t\n" >>${WRKSRC}/opt/${COMPILERDIR}/bin/${i} -.endif -.if ( ${OSVERSION} >= 502108 ) @${ECHO_CMD} -e "-restrict\n" >>${WRKSRC}/opt/${COMPILERDIR}/bin/${i} -.else - @${ECHO_CMD} -e "-no-gcc\n" >>${WRKSRC}/opt/${COMPILERDIR}/bin/${i} -.endif @${CHMOD} a-x,g-w ${WRKSRC}/opt/${COMPILERDIR}/bin/${i} .endfor # C++ hack for icpc -.if ( ${OSVERSION} >= 502108 ) @${ECHO_CMD} -e "-gcc-version=${GCCCOMPATVER}\n-cxxlib-gcc\n" \ >>${WRKSRC}/opt/${COMPILERDIR}/bin/icpc.cfg -.else - @${ECHO_CMD} -e "\n-I${PREFIX}/include/stlport\n-Qoption,ld,-CPLUSPLUS\n" \ - >>${WRKSRC}/opt/${COMPILERDIR}/bin/icpc.cfg -.endif @cd ${WRKSRC}/opt/${COMPILERDIR}/bin/ && ${LN} -s icc.cfg iccbin.cfg \ && ${LN} -s icpc.cfg icpcbin.cfg -.if ( ${OSVERSION} < 502108 ) -# Hack while there's no support for ICC in the stdarg.h and sys/cdefs.h. - @${CP} ${FILESDIR}/stdarg.h ${WRKSRC}/opt/${COMPILERDIR}/include - @${MKDIR} ${WRKSRC}/opt/${COMPILERDIR}/include/sys - @${CP} ${FILESDIR}/cdefs.h ${WRKSRC}/opt/${COMPILERDIR}/include/sys -.endif -.if ( ( ${OSVERSION} >= 502108 && ${OSVERSION} < 503103 ) || ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600013 ) ) -# Work around bug for ICC support in src/sys/i386/include/_types.h. - @${MKDIR} ${WRKSRC}/opt/${COMPILERDIR}/include/machine - @${CP} ${FILESDIR}/_types.h ${WRKSRC}/opt/${COMPILERDIR}/include/machine -.endif -.if ( ${OSVERSION} < 503103 || ( ${OSVERSION} >= 600000 && ${OSVERSION} < 600013 ) ) -# Work around a bug in stdbool.h - @${SED} -e 's:__STDC_VERSION__ < 199901L.*:__STDC_VERSION__ < 199901L \&\& defined(__GNUC__) \&\& __GNUC__ < 3 \&\& !defined(__INTEL_COMPILER):g' \ - </usr/include/stdbool.h \ - >${WRKSRC}/opt/${COMPILERDIR}/include/stdbool.h -.endif -.if ( ${OSVERSION} >= 500042 ) OBJCOPY_OPS= --redefine-sym stdin=__stdinp \ --redefine-sym stdout=__stdoutp \ --redefine-sym stderr=__stderrp -.endif do-build: # Use the Linux ABI for the binaries @@ -196,14 +150,6 @@ do-build: # Fix unresolved references @cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/assert_fail.c \ ${FILESDIR}/errno_location.c ${FILESDIR}/mcount.S -.if ( ${OSVERSION} < 502101 ) - @cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/cxa_atexit.c -.endif -.if ( ${OSVERSION} < 500042 ) - @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdin.o ${FILESDIR}/stdin.c - @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdout.o ${FILESDIR}/stdout.c - @${CC} ${CFLAGS} -c -o ${WRKSRC}/stderr.o ${FILESDIR}/stderr.c -.endif .for i in libcxa.a libcxaguard.a libimf.a libirc.a libirc_s.a libsvml.a \ libunwind.a @${OBJCOPY} --redefine-sym __sigsetjmp=sigsetjmp \ diff --git a/lang/icc/pkg-plist b/lang/icc/pkg-plist index 243c5e48e42e..cfc34c58f1a2 100644 --- a/lang/icc/pkg-plist +++ b/lang/icc/pkg-plist @@ -910,18 +910,12 @@ %%COMPILERDIR%%/include/fvec.h %%COMPILERDIR%%/include/ivec.h %%COMPILERDIR%%/include/ia32intrin.h -%%MACHINE__TYPES_H%%%%COMPILERDIR%%/include/machine/_types.h -%%MACHINE__TYPES_H%%@dirrm %%COMPILERDIR%%/include/machine %%COMPILERDIR%%/include/mathimf.h %%COMPILERDIR%%/include/mmintrin.h %%COMPILERDIR%%/include/pgouser.h %%COMPILERDIR%%/include/pmmintrin.h %%COMPILERDIR%%/include/proto.h %%COMPILERDIR%%/include/sse2mmx.h -%%STDARG_H%%%%COMPILERDIR%%/include/stdarg.h -%%STDBOOL_H%%%%COMPILERDIR%%/include/stdbool.h -%%SYS_CDEFS_H%%%%COMPILERDIR%%/include/sys/cdefs.h -%%SYS_CDEFS_H%%@dirrm %%COMPILERDIR%%/include/sys %%COMPILERDIR%%/include/xmm_func.h %%COMPILERDIR%%/include/xmm_utils.h %%COMPILERDIR%%/include/xmmintrin.h diff --git a/lang/icc7/Makefile b/lang/icc7/Makefile index da6428d43d8f..8ec353b5d9e2 100644 --- a/lang/icc7/Makefile +++ b/lang/icc7/Makefile @@ -45,12 +45,6 @@ EXTRACT_AFTER_ARGS= | tar -xf - \ ICCCFGVAL!= ${UNAME} -r | ${SED} -e 's/\..*//' -.if ( ${OSVERSION} < 502108 ) -PLIST_SUB+= STDARG_H="" SYS_CDEFS_H="" -.else -PLIST_SUB+= STDARG_H="@comment " SYS_CDEFS_H="@comment " -.endif - .for file in ${DISTNAME} .if !exists(${DISTDIR}/${DIST_SUBDIR}/${file}${EXTRACT_SUFX}) IGNORE= "Go to Intel Premier Support, https://premier.intel.com, to obtain ${DISTFILES}. Product updates such as this compiler are posted regularly on Premier Support. You must have a license to obtain access to Premier Support. If you do not already have a license go to ${ICC_SITE} to review licensing options \(evaluation, commercial, and free non-commercial\) and obtain a license. Put ${DISTFILES} into ${DISTDIR} and run make again" @@ -107,42 +101,23 @@ post-patch: @${REINPLACE_CMD} -i "" -e 's:-Xlinker -rpath -Xlinker <INSTALLDIR>/${COMPILERDIR}/ia32/lib::g' \ ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} @${ECHO_CMD} -e "-Qlocation,ld,${PREFIX}/intel/${COMPILERDIR}/ia32/bin/ldwrapper\n\n-wr1125\n-we140\n\n-Ulinux\n-U__linux__\n-U__linux\n-U__gnu_linux__\n\n-D__FreeBSD__=${ICCCFGVAL}\n-D__ELF__=1\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} -.if ( ${OSVERSION} >= 500039 ) @${ECHO_CMD} -e "-D__wchar_t=__ct_rune_t\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} -.endif -.if ( ${OSVERSION} >= 502108 ) @${ECHO_CMD} -e "-restrict\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} -.endif @${CHMOD} a-x,g-w ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} .endfor # C++ hack for icpc @${ECHO_CMD} -e "\n-I${PREFIX}/include/stlport\n-Qoption,ld,-CPLUSPLUS\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/icpc.cfg @cd ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ && ${LN} -s icc.cfg iccbin.cfg && ${LN} -s icpc.cfg icpcbin.cfg -# Hack while there's no support for icc in the stdarg.h of FreeBSD. -.if ( ${OSVERSION} < 502108 ) - @${CP} ${FILESDIR}/stdarg.h ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/include -.else @${RM} -rf ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/include/sys -.endif -.if ( ${OSVERSION} >= 500042 ) OBJCOPY_OPS= --redefine-sym stdin=__stdinp \ --redefine-sym stdout=__stdoutp \ --redefine-sym stderr=__stderrp -.endif do-build: # Fix unresolved references @cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/assert_fail.c \ ${FILESDIR}/errno_location.c ${FILESDIR}/mcount.S -.if ( ${OSVERSION} < 502101 ) - @cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/cxa_atexit.c -.endif -.if ( ${OSVERSION} < 500042 ) - @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdin.o ${FILESDIR}/stdin.c - @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdout.o ${FILESDIR}/stdout.c - @${CC} ${CFLAGS} -c -o ${WRKSRC}/stderr.o ${FILESDIR}/stderr.c -.endif .for i in libcxa.a libimf.a libirc.a libircmt.a libunwind.a @${OBJCOPY} --redefine-sym __sigsetjmp=sigsetjmp \ ${OBJCOPY_OPS} \ diff --git a/lang/icc7/pkg-plist b/lang/icc7/pkg-plist index c52cc5ba4f03..715a18422517 100644 --- a/lang/icc7/pkg-plist +++ b/lang/icc7/pkg-plist @@ -1124,9 +1124,6 @@ intel/%%COMPILERDIR%%/ia32/include/pgouser.h intel/%%COMPILERDIR%%/ia32/include/pmmintrin.h intel/%%COMPILERDIR%%/ia32/include/proto.h intel/%%COMPILERDIR%%/ia32/include/sse2mmx.h -%%STDARG_H%%intel/%%COMPILERDIR%%/ia32/include/stdarg.h -%%SYS_CDEFS_H%%intel/%%COMPILERDIR%%/ia32/include/sys/cdefs.h -%%SYS_CDEFS_H%%@dirrm intel/%%COMPILERDIR%%/ia32/include/sys intel/%%COMPILERDIR%%/ia32/include/typeinfo intel/%%COMPILERDIR%%/ia32/include/xmmintrin.h intel/%%COMPILERDIR%%/ia32/include/xmtx.h diff --git a/lang/ifc/Makefile b/lang/ifc/Makefile index d0943d69e9e7..b34f9529e5eb 100644 --- a/lang/ifc/Makefile +++ b/lang/ifc/Makefile @@ -121,11 +121,9 @@ post-patch: .endfor @cd ${WRKSRC}/opt/${COMPILERDIR}/bin/ && ${LN} -s ifort.cfg ifortbin.cfg -.if ( ${OSVERSION} >= 500042 ) OBJCOPY_OPS= --redefine-sym stdin=__stdinp \ --redefine-sym stdout=__stdoutp \ --redefine-sym stderr=__stderrp -.endif do-build: # Use the Linux ABI for the binaries @@ -138,14 +136,6 @@ do-build: ${FILESDIR}/sysconf.c \ ${FILESDIR}/errno_location.c ${FILESDIR}/mcount.S \ ${FILESDIR}/memalign.c -.if ( ${OSVERSION} < 502101 ) - @cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/cxa_atexit.c -.endif -.if ( ${OSVERSION} < 500042 ) - @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdin.o ${FILESDIR}/stdin.c - @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdout.o ${FILESDIR}/stdout.c - @${CC} ${CFLAGS} -c -o ${WRKSRC}/stderr.o ${FILESDIR}/stderr.c -.endif .for i in libcprts.a libcxa.a libifcore.a libifcore_pic.a libifcoremt.a libifport.a libimf.a libirc.a libirc_s.a libunwind.a @${OBJCOPY} --redefine-sym __sigsetjmp=sigsetjmp \ --redefine-sym __xpg_basename=basename \ diff --git a/lang/ifc7/Makefile b/lang/ifc7/Makefile index 7e110368d0b3..6ae72fb7971b 100644 --- a/lang/ifc7/Makefile +++ b/lang/ifc7/Makefile @@ -98,18 +98,13 @@ post-patch: -e 's@\<INSTALLDIR\>@${PREFIX}/intel@g;' \ ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} @${ECHO_CMD} -e "-Qlocation,ld,${PREFIX}/intel/${COMPILERDIR}/ia32/bin/ldwrapper\n\n-Ulinux\n-U__linux__\n-U__linux\n-U__gnu_linux__\n\n-D__FreeBSD__=${IFCCFGVAL}\n-D__ELF__=1\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} -.if ${OSVERSION} < 500016 - @${ECHO_CMD} -e "-Qoption,ld,-MT\n" >>${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} -.endif @${CHMOD} a-x,g-w ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/${i} .endfor @cd ${WRKSRC}/opt/intel/${COMPILERDIR}/ia32/bin/ && ${LN} -s ifc.cfg ifcbin.cfg -.if ( ${OSVERSION} >= 500042 ) OBJCOPY_OPS= --redefine-sym stdin=__stdinp \ --redefine-sym stdout=__stdoutp \ --redefine-sym stderr=__stderrp -.endif do-build: # Fix unresolved references @@ -118,14 +113,6 @@ do-build: ${FILESDIR}/mmap.c ${FILESDIR}/pthread.c \ ${FILESDIR}/sysconf.c \ ${FILESDIR}/errno_location.c ${FILESDIR}/mcount.S -.if ( ${OSVERSION} < 502101 ) - @cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/cxa_atexit.c -.endif -.if ( ${OSVERSION} < 500042 ) - @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdin.o ${FILESDIR}/stdin.c - @${CC} ${CFLAGS} -c -o ${WRKSRC}/stdout.o ${FILESDIR}/stdout.c - @${CC} ${CFLAGS} -c -o ${WRKSRC}/stderr.o ${FILESDIR}/stderr.c -.endif .for i in libcxa.a libimf.a libirc.a libircmt.a libunwind.a \ libBINDF90.a libCEPCF90.a libF90.a libIEPCF90.a libPEPCF90.a \ libcprts.a libintrins.a libompstub.a diff --git a/lang/io/Makefile b/lang/io/Makefile index 0befc0135826..6a195eef492a 100644 --- a/lang/io/Makefile +++ b/lang/io/Makefile @@ -33,12 +33,6 @@ DEFAULT_ADDONS= AsyncRequest Blowfish Box CGI ContinuedFraction Curses \ PORTDOCS= * PORTEXAMPLES= * -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 600000 -LIB_DEPENDS+= edit.6:${PORTSDIR}/devel/libedit -.endif - post-patch: @cd ${WRKSRC}/addons && for addon in *; do \ if ! ${ECHO_CMD} ${DEFAULT_ADDONS} | ${GREP} $$addon > /dev/null; then \ @@ -65,4 +59,4 @@ post-install: @cd ${WRKSRC}/samples && ${COPYTREE_SHARE} . ${EXAMPLESDIR} .endif -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/lang/libjit/Makefile b/lang/libjit/Makefile index 0415f8290f32..6c4068b5ffc7 100644 --- a/lang/libjit/Makefile +++ b/lang/libjit/Makefile @@ -36,13 +36,11 @@ BROKEN= Fails to compile: internal gcc error post-patch: # fix for amd64, Upstream forgot a header file ${CP} ${FILESDIR}/extra-jit-rules-interp.h ${WRKSRC}/jit/jit-rules-interp.h -.if ${OSVERSION} >= 502128 @${REINPLACE_CMD} -e 's|#undef HAVE_TGMATH_H||' \ ${WRKSRC}/config.h.in -.endif post-configure: -.if ${OSVERSION} >= 502123 && ${ARCH} != "amd64" +.if ${ARCH} != "amd64" @${REINPLACE_CMD} -e 's|$$pic_flag -DPIC||' \ ${WRKSRC}/libtool .endif diff --git a/lang/maude/Makefile b/lang/maude/Makefile index 94c12d50f35b..15ac3a58ce06 100644 --- a/lang/maude/Makefile +++ b/lang/maude/Makefile @@ -29,10 +29,4 @@ post-patch: ${WRKSRC}/src/Mixfix/global.hh -.include <bsd.port.pre.mk> - -.if ${OSVERSION} < 600000 -BROKEN= does not compile on 4.X or 5.X -.endif - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/lang/mlton/Makefile b/lang/mlton/Makefile index 68ceb31e2ccf..8d50a02f29c6 100644 --- a/lang/mlton/Makefile +++ b/lang/mlton/Makefile @@ -86,9 +86,6 @@ MLTON_ARCH= "x86" OSRELMAJ= .else OSRELMAJ= -6 -.if ${OSVERSION} < 600000 -IGNORE= cannot bootstrap on FreeBSD < 6.0 -.endif .endif BOOT_EXTRACT= --bzip2 diff --git a/lang/mono/Makefile b/lang/mono/Makefile index 62d905597370..03566e2a3ec6 100644 --- a/lang/mono/Makefile +++ b/lang/mono/Makefile @@ -63,15 +63,6 @@ USE_FAM= yes pre-everything:: @${CAT} ${PKGMESSAGE} -.if ${OSVERSION} < 503000 -IGNORE= does not work on 4.X and 5.X before 503000 -.endif - -# ttyname_r(3) patch -.if ${OSVERSION} < 600028 -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-support_mph.h -.endif - .if exists(${LOCALBASE}/lib/libfam.so) USE_FAM= yes .endif diff --git a/lang/mono/files/extra-patch-support_mph.h b/lang/mono/files/extra-patch-support_mph.h deleted file mode 100644 index f8d4206d69cc..000000000000 --- a/lang/mono/files/extra-patch-support_mph.h +++ /dev/null @@ -1,11 +0,0 @@ ---- support/mph.h.orig Tue Apr 5 10:43:05 2005 -+++ support/mph.h Thu May 5 17:34:31 2005 -@@ -149,6 +149,8 @@ - - #endif /* ndef INC_mph_H */ - -+int ttyname_r (int fd, char *buf, size_t buflen); -+ - /* - * vim: noexpandtab - */ diff --git a/lang/neko/Makefile b/lang/neko/Makefile index 76dc3dff69a2..7246e4c1e3a4 100644 --- a/lang/neko/Makefile +++ b/lang/neko/Makefile @@ -28,10 +28,6 @@ OPTIONS= APACHE13 "Build with mod_neko for Apache 1.3.x" off \ .include <bsd.port.pre.mk> -.if ${OSVERSION} < 600000 -IGNORE= it is supported on FreeBSD 6.x and later -.endif - # Neko needs boehm-gc with POSIX thread support. BC_DIR!= cd ${PORTSDIR}/devel/boehm-gc && ${MAKE} -V WRKSRC BC_MAKEARGS= BATCH=yes WITH_THREADING=true diff --git a/lang/perl5.10/Makefile b/lang/perl5.10/Makefile index efbdb029438f..e3f7ce65712d 100644 --- a/lang/perl5.10/Makefile +++ b/lang/perl5.10/Makefile @@ -124,12 +124,7 @@ CONFIGURE_ARGS+= -Duse64bitint LATEST_LINK= perl -.if ${OSVERSION} < 500036 -PLIST_SUB+= NEED_USE_PERL="" -.else -PKGMESSAGE= ${PKGDIR}/.not-here PLIST_SUB+= NEED_USE_PERL="@comment " -.endif .if defined(WITH_GDBM) MAN3+= GDBM_File.3 @@ -190,10 +185,6 @@ post-install: .endfor .if defined(WITH_USE_PERL) PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.if ${OSVERSION} < 500036 - ${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl - @fmt ${PKGMESSAGE} -.endif .endif rebuild-xs: diff --git a/lang/perl5.10/pkg-message b/lang/perl5.10/pkg-message deleted file mode 100644 index 0438edb18a19..000000000000 --- a/lang/perl5.10/pkg-message +++ /dev/null @@ -1,26 +0,0 @@ -Installation of Perl distribution is finished. Please note, that since -Perl is also in the base system, this distribution will not be used by -default. - -If you want this version of Perl to be used by default, please type - - use.perl port - -Assuming that use.perl script (which was installed with the rest of the -Perl distribution) can be found in your PATH (you might have to type -`rehash' first, depending upon a shell you use), this action will -replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the -versions of these binaries in the Perl distribution. This action will -also put some variables into your /etc/make.conf file, so that newly -installed ports (not packages!) will use new version of perl, and the -system upgrades from the source will not overwrite the changes made. - -Note that use.perl port is specific to a given perl installation. If -you later upgrade the perl port, run use.perl port again to update the -symbolic links and /etc/make.conf. - -At any time you can also type - - use.perl system - -if you wish to revert back to the system version of perl. diff --git a/lang/perl5.12/Makefile b/lang/perl5.12/Makefile index efbdb029438f..e3f7ce65712d 100644 --- a/lang/perl5.12/Makefile +++ b/lang/perl5.12/Makefile @@ -124,12 +124,7 @@ CONFIGURE_ARGS+= -Duse64bitint LATEST_LINK= perl -.if ${OSVERSION} < 500036 -PLIST_SUB+= NEED_USE_PERL="" -.else -PKGMESSAGE= ${PKGDIR}/.not-here PLIST_SUB+= NEED_USE_PERL="@comment " -.endif .if defined(WITH_GDBM) MAN3+= GDBM_File.3 @@ -190,10 +185,6 @@ post-install: .endfor .if defined(WITH_USE_PERL) PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.if ${OSVERSION} < 500036 - ${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl - @fmt ${PKGMESSAGE} -.endif .endif rebuild-xs: diff --git a/lang/perl5.12/pkg-message b/lang/perl5.12/pkg-message deleted file mode 100644 index 0438edb18a19..000000000000 --- a/lang/perl5.12/pkg-message +++ /dev/null @@ -1,26 +0,0 @@ -Installation of Perl distribution is finished. Please note, that since -Perl is also in the base system, this distribution will not be used by -default. - -If you want this version of Perl to be used by default, please type - - use.perl port - -Assuming that use.perl script (which was installed with the rest of the -Perl distribution) can be found in your PATH (you might have to type -`rehash' first, depending upon a shell you use), this action will -replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the -versions of these binaries in the Perl distribution. This action will -also put some variables into your /etc/make.conf file, so that newly -installed ports (not packages!) will use new version of perl, and the -system upgrades from the source will not overwrite the changes made. - -Note that use.perl port is specific to a given perl installation. If -you later upgrade the perl port, run use.perl port again to update the -symbolic links and /etc/make.conf. - -At any time you can also type - - use.perl system - -if you wish to revert back to the system version of perl. diff --git a/lang/perl5.14/Makefile b/lang/perl5.14/Makefile index efbdb029438f..e3f7ce65712d 100644 --- a/lang/perl5.14/Makefile +++ b/lang/perl5.14/Makefile @@ -124,12 +124,7 @@ CONFIGURE_ARGS+= -Duse64bitint LATEST_LINK= perl -.if ${OSVERSION} < 500036 -PLIST_SUB+= NEED_USE_PERL="" -.else -PKGMESSAGE= ${PKGDIR}/.not-here PLIST_SUB+= NEED_USE_PERL="@comment " -.endif .if defined(WITH_GDBM) MAN3+= GDBM_File.3 @@ -190,10 +185,6 @@ post-install: .endfor .if defined(WITH_USE_PERL) PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.if ${OSVERSION} < 500036 - ${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl - @fmt ${PKGMESSAGE} -.endif .endif rebuild-xs: diff --git a/lang/perl5.14/pkg-message b/lang/perl5.14/pkg-message deleted file mode 100644 index 0438edb18a19..000000000000 --- a/lang/perl5.14/pkg-message +++ /dev/null @@ -1,26 +0,0 @@ -Installation of Perl distribution is finished. Please note, that since -Perl is also in the base system, this distribution will not be used by -default. - -If you want this version of Perl to be used by default, please type - - use.perl port - -Assuming that use.perl script (which was installed with the rest of the -Perl distribution) can be found in your PATH (you might have to type -`rehash' first, depending upon a shell you use), this action will -replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the -versions of these binaries in the Perl distribution. This action will -also put some variables into your /etc/make.conf file, so that newly -installed ports (not packages!) will use new version of perl, and the -system upgrades from the source will not overwrite the changes made. - -Note that use.perl port is specific to a given perl installation. If -you later upgrade the perl port, run use.perl port again to update the -symbolic links and /etc/make.conf. - -At any time you can also type - - use.perl system - -if you wish to revert back to the system version of perl. diff --git a/lang/perl5.16/Makefile b/lang/perl5.16/Makefile index efbdb029438f..e3f7ce65712d 100644 --- a/lang/perl5.16/Makefile +++ b/lang/perl5.16/Makefile @@ -124,12 +124,7 @@ CONFIGURE_ARGS+= -Duse64bitint LATEST_LINK= perl -.if ${OSVERSION} < 500036 -PLIST_SUB+= NEED_USE_PERL="" -.else -PKGMESSAGE= ${PKGDIR}/.not-here PLIST_SUB+= NEED_USE_PERL="@comment " -.endif .if defined(WITH_GDBM) MAN3+= GDBM_File.3 @@ -190,10 +185,6 @@ post-install: .endfor .if defined(WITH_USE_PERL) PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.if ${OSVERSION} < 500036 - ${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl - @fmt ${PKGMESSAGE} -.endif .endif rebuild-xs: diff --git a/lang/perl5.16/pkg-message b/lang/perl5.16/pkg-message deleted file mode 100644 index 0438edb18a19..000000000000 --- a/lang/perl5.16/pkg-message +++ /dev/null @@ -1,26 +0,0 @@ -Installation of Perl distribution is finished. Please note, that since -Perl is also in the base system, this distribution will not be used by -default. - -If you want this version of Perl to be used by default, please type - - use.perl port - -Assuming that use.perl script (which was installed with the rest of the -Perl distribution) can be found in your PATH (you might have to type -`rehash' first, depending upon a shell you use), this action will -replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the -versions of these binaries in the Perl distribution. This action will -also put some variables into your /etc/make.conf file, so that newly -installed ports (not packages!) will use new version of perl, and the -system upgrades from the source will not overwrite the changes made. - -Note that use.perl port is specific to a given perl installation. If -you later upgrade the perl port, run use.perl port again to update the -symbolic links and /etc/make.conf. - -At any time you can also type - - use.perl system - -if you wish to revert back to the system version of perl. diff --git a/lang/perl5.6/Makefile b/lang/perl5.6/Makefile index fadce419069d..d207cb487d88 100644 --- a/lang/perl5.6/Makefile +++ b/lang/perl5.6/Makefile @@ -95,11 +95,7 @@ CONFIGURE_ARGS+= -Dusemymalloc=n NO_LATEST_LINK= yes -.if ${OSVERSION} < 500036 -PKGMESSAGE= ${PKGDIR}/pkg-message-sysperl -.else PKGMESSAGE= ${PKGDIR}/pkg-message-prefer58 -.endif PLIST_SUB+= NEED_USE_PERL="" diff --git a/lang/perl5.6/pkg-message-sysperl b/lang/perl5.6/pkg-message-sysperl deleted file mode 100644 index 0438edb18a19..000000000000 --- a/lang/perl5.6/pkg-message-sysperl +++ /dev/null @@ -1,26 +0,0 @@ -Installation of Perl distribution is finished. Please note, that since -Perl is also in the base system, this distribution will not be used by -default. - -If you want this version of Perl to be used by default, please type - - use.perl port - -Assuming that use.perl script (which was installed with the rest of the -Perl distribution) can be found in your PATH (you might have to type -`rehash' first, depending upon a shell you use), this action will -replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the -versions of these binaries in the Perl distribution. This action will -also put some variables into your /etc/make.conf file, so that newly -installed ports (not packages!) will use new version of perl, and the -system upgrades from the source will not overwrite the changes made. - -Note that use.perl port is specific to a given perl installation. If -you later upgrade the perl port, run use.perl port again to update the -symbolic links and /etc/make.conf. - -At any time you can also type - - use.perl system - -if you wish to revert back to the system version of perl. diff --git a/lang/perl5.8/Makefile b/lang/perl5.8/Makefile index efbdb029438f..e3f7ce65712d 100644 --- a/lang/perl5.8/Makefile +++ b/lang/perl5.8/Makefile @@ -124,12 +124,7 @@ CONFIGURE_ARGS+= -Duse64bitint LATEST_LINK= perl -.if ${OSVERSION} < 500036 -PLIST_SUB+= NEED_USE_PERL="" -.else -PKGMESSAGE= ${PKGDIR}/.not-here PLIST_SUB+= NEED_USE_PERL="@comment " -.endif .if defined(WITH_GDBM) MAN3+= GDBM_File.3 @@ -190,10 +185,6 @@ post-install: .endfor .if defined(WITH_USE_PERL) PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.if ${OSVERSION} < 500036 - ${INSTALL_SCRIPT} ${WRKDIR}/use.perl ${PREFIX}/bin/use.perl - @fmt ${PKGMESSAGE} -.endif .endif rebuild-xs: diff --git a/lang/perl5.8/pkg-message b/lang/perl5.8/pkg-message deleted file mode 100644 index 0438edb18a19..000000000000 --- a/lang/perl5.8/pkg-message +++ /dev/null @@ -1,26 +0,0 @@ -Installation of Perl distribution is finished. Please note, that since -Perl is also in the base system, this distribution will not be used by -default. - -If you want this version of Perl to be used by default, please type - - use.perl port - -Assuming that use.perl script (which was installed with the rest of the -Perl distribution) can be found in your PATH (you might have to type -`rehash' first, depending upon a shell you use), this action will -replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the -versions of these binaries in the Perl distribution. This action will -also put some variables into your /etc/make.conf file, so that newly -installed ports (not packages!) will use new version of perl, and the -system upgrades from the source will not overwrite the changes made. - -Note that use.perl port is specific to a given perl installation. If -you later upgrade the perl port, run use.perl port again to update the -symbolic links and /etc/make.conf. - -At any time you can also type - - use.perl system - -if you wish to revert back to the system version of perl. diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index fadce419069d..d207cb487d88 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -95,11 +95,7 @@ CONFIGURE_ARGS+= -Dusemymalloc=n NO_LATEST_LINK= yes -.if ${OSVERSION} < 500036 -PKGMESSAGE= ${PKGDIR}/pkg-message-sysperl -.else PKGMESSAGE= ${PKGDIR}/pkg-message-prefer58 -.endif PLIST_SUB+= NEED_USE_PERL="" diff --git a/lang/perl5/pkg-message-sysperl b/lang/perl5/pkg-message-sysperl deleted file mode 100644 index 0438edb18a19..000000000000 --- a/lang/perl5/pkg-message-sysperl +++ /dev/null @@ -1,26 +0,0 @@ -Installation of Perl distribution is finished. Please note, that since -Perl is also in the base system, this distribution will not be used by -default. - -If you want this version of Perl to be used by default, please type - - use.perl port - -Assuming that use.perl script (which was installed with the rest of the -Perl distribution) can be found in your PATH (you might have to type -`rehash' first, depending upon a shell you use), this action will -replace /usr/bin/perl and /usr/bin/suidperl with symbolic links to the -versions of these binaries in the Perl distribution. This action will -also put some variables into your /etc/make.conf file, so that newly -installed ports (not packages!) will use new version of perl, and the -system upgrades from the source will not overwrite the changes made. - -Note that use.perl port is specific to a given perl installation. If -you later upgrade the perl port, run use.perl port again to update the -symbolic links and /etc/make.conf. - -At any time you can also type - - use.perl system - -if you wish to revert back to the system version of perl. diff --git a/lang/php5/Makefile.ext b/lang/php5/Makefile.ext index ef5dde8936ff..42a238cbc07f 100644 --- a/lang/php5/Makefile.ext +++ b/lang/php5/Makefile.ext @@ -551,10 +551,6 @@ CONFIGURE_ARGS+=--enable-gd-jis-conv .endif .if ${PHP_MODNAME} == "mbstring" -. if ${OSVERSION} < 600000 && ${ARCH} == "amd64" -BROKEN= Doesn't build on AMD64 with FreeBSD 5.x (varargs issue) -. endif - . if defined(WITHOUT_REGEX) CONFIGURE_ARGS+=--disable-mbregex . endif diff --git a/lang/php53/Makefile.ext b/lang/php53/Makefile.ext index ef5dde8936ff..42a238cbc07f 100644 --- a/lang/php53/Makefile.ext +++ b/lang/php53/Makefile.ext @@ -551,10 +551,6 @@ CONFIGURE_ARGS+=--enable-gd-jis-conv .endif .if ${PHP_MODNAME} == "mbstring" -. if ${OSVERSION} < 600000 && ${ARCH} == "amd64" -BROKEN= Doesn't build on AMD64 with FreeBSD 5.x (varargs issue) -. endif - . if defined(WITHOUT_REGEX) CONFIGURE_ARGS+=--disable-mbregex . endif diff --git a/lang/ruby18/Makefile b/lang/ruby18/Makefile index 9a3c2055ec6b..546233d2a967 100644 --- a/lang/ruby18/Makefile +++ b/lang/ruby18/Makefile @@ -88,10 +88,6 @@ CONFIGURE_ARGS+= --enable-install-doc CONFIGURE_ARGS+= --disable-install-doc .endif -.if ${OSVERSION} < 502102 -EXTRA_PATCHES= ${PATCHDIR}/extrapatch-eval.c -.endif - # This patch can be used for GC performance analysis and tweaking # svn://rubyforge.org/var/svn/railsbench/trunk/railsbench/ruby185gc.patch .if defined(WITH_GCPATCH) @@ -142,7 +138,7 @@ post-extract: ${MV} ${WRKSRC}/ext/dl/h2rb ${WRKSRC}/bin/ post-patch: -.if ${OSVERSION} < 502102 || ${ARCH} == "sparc64" || ${ARCH} == "alpha" +.if ${ARCH} == "sparc64" || ${ARCH} == "alpha" ${REINPLACE_CMD} -e 's|-lc"|"|g' ${WRKSRC}/configure .endif ${REINPLACE_CMD} -e 's|-l$$pthread_lib|${PTHREAD_LIBS}|g' \ diff --git a/lang/ruby18/files/extrapatch-eval.c b/lang/ruby18/files/extrapatch-eval.c deleted file mode 100644 index 4d9785c75d7f..000000000000 --- a/lang/ruby18/files/extrapatch-eval.c +++ /dev/null @@ -1,13 +0,0 @@ ---- eval.c.orig Wed Feb 23 15:54:03 2005 -+++ eval.c Wed Feb 23 15:54:18 2005 -@@ -12,6 +12,10 @@ - - **********************************************************************/ - -+#ifdef _THREAD_SAFE -+#undef _THREAD_SAFE -+#endif -+ - #include "ruby.h" - #include "node.h" - #include "env.h" diff --git a/lang/ruby19/Makefile b/lang/ruby19/Makefile index ea02fcbf12e6..f8e9a3686ae8 100644 --- a/lang/ruby19/Makefile +++ b/lang/ruby19/Makefile @@ -44,10 +44,6 @@ OPTIONS= RDOC "Build and install Rdoc indexes" off \ .include <bsd.port.pre.mk> -.if ${OSVERSION} < 600000 -BROKEN= Does not compile -.endif - # PORTEPOCH/PORTREVISION hack .if ${PORTEPOCH} != 0 diff --git a/lang/sdcc-devel/Makefile b/lang/sdcc-devel/Makefile index ef8766d9050b..ba2ec1932965 100644 --- a/lang/sdcc-devel/Makefile +++ b/lang/sdcc-devel/Makefile @@ -50,10 +50,6 @@ CXXFLAGS+= -O0 BROKEN= Does not compile on sparc64 .endif -.if !defined(WITHOUT_MCS51) && !defined(WITHOUT_UCSIM) && ${OSVERSION} < 500019 -LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline -.endif - .if defined(WITHOUT_MCS51) && defined(WITHOUT_DS390) CONFIGURE_ARGS+= --disable-51 PLIST_SUB+= MCS51DS390="@comment " diff --git a/lang/sdcc/Makefile b/lang/sdcc/Makefile index 64a71d2f1de3..cbc8960a5896 100644 --- a/lang/sdcc/Makefile +++ b/lang/sdcc/Makefile @@ -46,10 +46,6 @@ CONFIGURE_ARGS= --datarootdir=${DATADIR} \ BROKEN= Does not compile on sparc64 .endif -.if !defined(WITHOUT_MCS51) && !defined(WITHOUT_UCSIM) && ${OSVERSION} < 500019 -LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline -.endif - .if defined(WITHOUT_MCS51) && defined(WITHOUT_DS390) CONFIGURE_ARGS+= --disable-51 PLIST_SUB+= MCS51DS390="@comment " diff --git a/lang/smalltalk/Makefile b/lang/smalltalk/Makefile index ab007c851efd..84303e748b84 100644 --- a/lang/smalltalk/Makefile +++ b/lang/smalltalk/Makefile @@ -46,10 +46,6 @@ LDFLAGS= -L${LOCALBASE}/lib .include <bsd.port.pre.mk> -.if ${OSVERSION} < 600000 -BROKEN= requires C99 math functions for long doubles -.endif - .if defined(WITHOUT_TCLTK) CONFIGURE_ARGS+= --with-tcl=no PLIST_SUB+= TCLTK="@comment " diff --git a/lang/swi-pl/Makefile b/lang/swi-pl/Makefile index 43e532c1b2db..3741e764f259 100644 --- a/lang/swi-pl/Makefile +++ b/lang/swi-pl/Makefile @@ -29,10 +29,6 @@ PLIST_SUB= DISTNAME=${DISTNAME} ARCH=${ARCH} OS=${OPSYS:L} .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500100 -IGNORE= doesn't support FreeBSD < 5.0. Require some C99 functions -.endif - .if (${ARCH} == "i386") PLIST_SUB+= BITS=32 .else diff --git a/lang/tcl80/Makefile b/lang/tcl80/Makefile index 59a5d2224424..cf5ae998f73a 100644 --- a/lang/tcl80/Makefile +++ b/lang/tcl80/Makefile @@ -43,8 +43,7 @@ post-configure: pre-build: @cd ${WRKSRC} && ${MAKE} -f Makefile.lib PREFIX=${PREFIX} \ - SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} \ - OSVERSION=${OSVERSION} + SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} post-install: .if !defined(NO_INSTALL_MANPAGES) && defined(WITH_TCL80_MAN) diff --git a/lang/tcl80/files/Makefile.lib b/lang/tcl80/files/Makefile.lib index af17b230347f..4406971decd6 100644 --- a/lang/tcl80/files/Makefile.lib +++ b/lang/tcl80/files/Makefile.lib @@ -14,11 +14,6 @@ CFLAGS+= -I. -I./../generic \ -DTCL_PACKAGE_PATH="\"${PREFIX}/lib\"" \ -DNO_UNION_WAIT -.if ${OSVERSION} < 600011 -CFLAGS+= -DNEED_MATHERR=1 -.endif - - GENERIC_DIR= ../generic UNIX_DIR= . |