1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Remove conditional checks for FreeBSD 5.x and older

This commit is contained in:
Pav Lucistnik 2009-01-05 20:36:33 +00:00
parent 5e3b0872db
commit 41d8c3385c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=225297
118 changed files with 82 additions and 972 deletions

View File

@ -34,7 +34,7 @@ USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "alpha" && ${OSVERSION} >= 502102
.if ${ARCH} == "alpha"
BROKEN= Configure fails
.endif

View File

@ -21,11 +21,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" CXXFLAGS="${CFLAGS}"
MAN6= crack-attack.6
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} >= 502126
@${REINPLACE_CMD} -e 's|#ifndef max|#if 0|' ${WRKSRC}/src/Game.h
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -29,12 +29,6 @@ DATADIR= ${PREFIX}/share/djgame2
SUB_FILES= djgame2.desktop startdjg
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000 && ${ARCH} == "amd64"
BROKEN= libLandLord does not compile
.endif
post-patch:
${RM} -f ${WRKSRC}/Hall/HallRes/platform/x11/install
@${REINPLACE_CMD} -e 's|linux/soundcard.h|sys/soundcard.h|g' \
@ -60,4 +54,4 @@ do-install:
${INSTALL_DATA} ${WRKDIR}/djgame2.desktop ${PREFIX}/share/applications
${INSTALL_SCRIPT} ${WRKDIR}/startdjg ${PREFIX}/bin
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -39,12 +39,6 @@ USE_GNOME= gnomehack
USE_BZIP2= YES
CPPFLAGS= -DBR_NO_MACROS
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
IGNORE= does not compile because of inlining error
.endif
post-patch:
@${REINPLACE_CMD} -e '\
s|sdl-config|${SDL_CONFIG}|g; \
@ -79,4 +73,4 @@ post-install:
.endfor
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -54,7 +54,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|\($${OPT}\)|${CFLAGS} \1|' ${WRKSRC}/${MAKEFILE}
# Enable/disable compilation optimizations.
.if defined(WITHOUT_OPTIMIZED_CFLAGS) || ${OSVERSION} < 500035
.if defined(WITHOUT_OPTIMIZED_CFLAGS)
@${REINPLACE_CMD} -e 's|$${OPT}||' ${WRKSRC}/${MAKEFILE}
.endif

View File

@ -32,12 +32,6 @@ MAN6= frozen-bubble-editor.6 frozen-bubble.6
LEXECDIR= ${PREFIX}/libexec/${PORTNAME}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600020
IGNORE= doesn't work unless MSG_NOSIGNAL is defined (FreeBSD version 600020 and higher)
.endif
post-patch:
@${REINPLACE_CMD} -e 's|sdl-config|\${SDL_CONFIG}|g' \
${WRKSRC}/c_stuff/Makefile.PL
@ -66,4 +60,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -28,10 +28,6 @@ CFLAGS+= -Dsqrtl=sqrt
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502114
CFLAGS+= -Dround=rint
.endif
.if ${OSVERSION} >= 800024
BROKEN= does not compile
.endif

View File

@ -23,10 +23,6 @@ MAN1= latrine.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 503000
IGNORE= needs libcursesw which doesnt work on this OSVERSION
.endif
.if ${OSVERSION} < 602107 || (${OSVERSION} > 700000 && ${OSVERSION} < 700033)
LIB_DEPENDS+= ncursesw.5:${PORTSDIR}/devel/ncurses
.endif

View File

@ -29,18 +29,10 @@ CONFIGURE_ARGS= --with-libphysfs=${PREFIX} \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 504000
pre-configure::
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-src-gui-Gradient.cpp
@${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-src-gui-PainterSDL-PainterSDL.cpp
.endif
do-build:
@(cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} jam)
do-install:
@(cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} jam ${INSTALL_TARGET})
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,12 +0,0 @@
--- src/gui/Gradient.cpp.orig Fri Jul 15 19:47:11 2005
+++ src/gui/Gradient.cpp Sat Jul 23 12:40:46 2005
@@ -28,9 +28,7 @@
#include "Painter.hpp"
#include "ComponentFactory.hpp"
-#ifdef _MSC_VER
#define lrintf(x) (long int)x
-#endif
Gradient::Gradient()
: direction(LEFT_RIGHT)

View File

@ -1,13 +0,0 @@
--- src/gui/PainterSDL/PainterSDL.cpp.orig Fri Jul 15 19:47:12 2005
+++ src/gui/PainterSDL/PainterSDL.cpp Sat Jul 23 12:41:09 2005
@@ -30,10 +30,8 @@
#include "TextureSDL.hpp"
-#ifdef _MSC_VER
#define lrint(x) (long int)x
#define lroundf(x) (long int)(x + .5)
-#endif
PainterSDL::PainterSDL(SDL_Surface* _target)
: target(_target)

View File

@ -27,11 +27,4 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
GCONF_SCHEMAS= monster-masher.schemas
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500010
IGNORE= Freezes when starting a new game
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src-vector.hpp
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -1,30 +0,0 @@
--- src/vector.hpp.orig Fri Aug 15 19:07:16 2003
+++ src/vector.hpp Wed Nov 5 20:34:27 2003
@@ -107,25 +107,17 @@
}
template <typename T>
-inline bool operator !=(Vector<T> lhs, Vector<T> rhs)
-{
- return !(lhs == rhs);
-}
-
-template <typename T>
inline bool operator ==(Vector<T> lhs, Vector<T> rhs)
{
return lhs.x == rhs.x && lhs.y == rhs.y;
}
-template <>
-inline bool operator ==<double>(Vector<double> lhs, Vector<double> rhs)
+inline bool operator ==(Vector<double> lhs, Vector<double> rhs)
{
return std::abs(lhs.x - rhs.x) < 0.001 && std::abs(lhs.y - rhs.y) < 0.001;
}
-template <>
-inline bool operator ==<float>(Vector<float> lhs, Vector<float> rhs)
+inline bool operator ==(Vector<float> lhs, Vector<float> rhs)
{
return std::abs(lhs.x - rhs.x) < 0.001 && std::abs(lhs.y - rhs.y) < 0.001;
}

View File

@ -26,6 +26,9 @@ USE_GMAKE= yes
USE_LDCONFIG= yes
REINPLACE_ARGS= -i ""
CONFIGURE_ARGS= --x-includes=${LOCALBASE}/include --x-libraries=${LOCALBASE}/lib
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include -DHAVE_DECL_GETOPT" \
LIBS="${PTHREAD_LIBS}" LDFLAGS="${LDFLAGS}"
ALL_TARGET= default
INSTALL_TARGET= install datainstall
@ -47,13 +50,6 @@ BASH2FIX= src/linux/torcs.in src/tools/accc/accc.in \
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500041
CPPFLAGS+= -I${LOCALBASE}/include
.else
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include -DHAVE_DECL_GETOPT" \
LIBS="${PTHREAD_LIBS}" LDFLAGS="${LDFLAGS}"
.endif
.if defined(WITH_FREEGLUT)
LIB_DEPENDS+= glut.11:${PORTSDIR}/graphics/freeglut
.else

View File

@ -27,10 +27,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|$$(prefix)/doc/$$(PACKAGE)|$$(docdir)|' \
${WRKSRC}/Makefile.in ${WRKSRC}/tuxtype/docs/en/Makefile.in
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= does not build due to undefined reference to 'playsound' in 5.x
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -31,14 +31,6 @@ PLIST_FILES= bin/ale
BROKEN= Does not build on alpha
.endif
.if ${OSVERSION} < 600000
BROKEN= Does not build on 5.x due to internal gcc error
.endif
.if ${OSVERSION} < 502114
CFLAGS+= -Dround=rint
.endif
.if defined(WITH_DOUBLE)
MAKE_ARGS+= COLORS=DOUBLE COORDINATES=DOUBLE
.endif

View File

@ -32,12 +32,6 @@ MLINKS= cqcam.1 webcam.1 \
MYPORTDOCS= README docs/APINOTES docs/CHANGES docs/README.webcam \
docs/refresh.html docs/webcam.html docs/README.movies
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502108
BROKEN= "Does not compile: ffs()-clash"
.endif
post-install:
.for file in cqcam gtkcam webcam xcqcam
@${STRIP_CMD} ${PREFIX}/bin/${file}
@ -54,4 +48,4 @@ post-install:
.endif
@${SED} -e "s:/usr/local:${PREFIX}:" ${PKGMESSAGE}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -38,12 +38,6 @@ PLIST_FILES= ${BINS:S|^|bin/|} %%SITE_PERL%%/ExactImage.so \
%%SITE_PERL%%/ExactImage.pm
PORT_VERBS= ExactImage ${BINS}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= Does not compile, missing endian.h header
.endif
post-extract:
@${RM} -rf ${WRKSRC}/agg-2.4/
@ -73,4 +67,4 @@ do-install:
${INSTALL_PROGRAM} ExactImage.so ${SITE_PERL}/;\
${INSTALL_DATA} ExactImage.pm ${SITE_PERL}/
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -26,10 +26,4 @@ GNU_CONFIGURE= yes
PLIST_FILES= bin/gphotofs
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
IGNORE= depends on kernel module that requires FreeBSD 6 or later
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -91,10 +91,4 @@ CONFIGURE_ARGS+= --without-id3
PLIST_SUB+= ID3="@comment "
.endif
post-patch:
.if ${OSVERSION} < 503000
@${REINPLACE_CMD} -e \
's|round|rint|g' ${WRKSRC}/src/lib/color_helpers.c
.endif
.include <bsd.port.post.mk>

View File

@ -34,8 +34,4 @@ MAN1= idraw.1 iclass.1 drawtool.1 comterp.1 comdraw.1 flipbook.1 graphdraw.1
BROKEN= Incomplete pkg-plist
.endif
.if ${OSVERSION} >= 600000 && ${OSVERSION} < 700000
PLIST_SUB+= IVDL="@comment"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -47,10 +47,6 @@ OPTIONS= GNOME "Build for Gnome" off
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= Does not compile on FreeBSD 5.x
.endif
.if defined(WITH_GNOME)
USE_GNOME+= libgnome
CONFIGURE_ARGS+=--with-gnome

View File

@ -39,12 +39,6 @@ DATADIR= ${PREFIX}/share/${PORTNAME}-${PKGNAMESUFFIX:C/.*-//}-${MAJORMINOR}
PLIST_SUB= PLUGINS_BASE_DIR=${LOCALBASE}/lib/${PORTNAME}-${MAJORMINOR} \
DATADIR_REL=${DATADIR_REL}
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= Does not compile on 5.x
.endif
pre-configure:
# /usr/bin/objformat is obsolete, hardcode the object format
@${REINPLACE_CMD} -e 's,objformat=.*,objformat=elf,' \
@ -58,4 +52,4 @@ pre-configure:
@${REINPLACE_CMD} -e 's,^\(SUBDIRS = plugins\) po,\1,' \
${WRKSRC}/Makefile.in
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -22,11 +22,4 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lGL -lGLU -lglut"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 501103
# Work around bsd.port.mk bug: Does not currently set up MAKE_ENV for gcc 3.2 and 3.3
MAKE_ENV+= CC="${CC}" CXX="${CXX}"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -35,11 +35,6 @@ LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502111
EXTRACT_DEPENDS+= bsdtar:${PORTSDIR}/archivers/libarchive
TAR= bsdtar
.endif
do-install:
${MKDIR} ${PREFIX}/usr/X11R6/lib/modules/dri
${INSTALL_PROGRAM} ${WRKSRC}/linux_dri/libGL.so.1.2 \

View File

@ -45,11 +45,6 @@ LDCONFIG_LINUX= ${LINUXBASE}/sbin/ldconfig
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502111
EXTRACT_DEPENDS+= bsdtar:${PORTSDIR}/archivers/libarchive
TAR= bsdtar
.endif
do-install:
${MKDIR} ${PREFIX}/usr/X11R6/lib/modules/dri
${INSTALL_PROGRAM} ${WRKSRC}/linux_dri/libGL.so.1.2 \

View File

@ -35,12 +35,6 @@ USE_XORG= xi xrender xrandr xfixes xcursor xinerama xext x11 xau xdmcp \
USE_GL= gl glu
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-source
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= Does not compile
.endif
do-configure:
@cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
${QMAKE} -unix PREFIX=${PREFIX} \
@ -61,4 +55,4 @@ do-install:
.endfor
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -2,10 +2,7 @@ PGPLOT_LIB = -L/usr/local/lib -lpgplot
CPGPLOT_LIB = -L/usr/local/lib -lcpgplot
LIBS= -L${LOCALBASE}/lib -lX11 -lm
OSVERSION!= /sbin/sysctl -n kern.osreldate
.if ${OSVERSION} > 400004
FFLAGS+= -fno-backslash
.endif
all: cpgdemo pgdemo1 pgdemo2 pgdemo3 pgdemo4 pgdemo5 pgdemo6 pgdemo7 pgdemo8 \
pgdemo9 pgdemo10 pgdemo11 pgdemo12 pgdemo13 pgdemo14 pgdemo15 \

View File

@ -40,10 +40,6 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/OpenGL:${PORTSDIR}/graphics/py-opengl \
.include <bsd.port.pre.mk>
.if ( ${OSVERSION} < 502126 )
BROKEN= does not compile
.endif
.if ${OSVERSION} >= 700042 && ${ARCH} == "amd64"
BROKEN= does not compile
.endif

View File

@ -47,12 +47,6 @@ PLIST_SUB+= GIMP="@comment "
MAN1= ufraw.1
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 504105
BROKEN= Needs memmem(3)
.endif
post-patch:
@${REINPLACE_CMD} -e '18s|^$$|#include <sys/types.h>|' ${WRKSRC}/dcraw.h
@${REINPLACE_CMD} -e '/@schemasdir/s|datadir|sysconfdir|' ${WRKSRC}/Makefile.in
@ -60,4 +54,4 @@ post-patch:
@${REINPLACE_CMD} -e '/PKG_CONFIG.*$i/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure
.endfor
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -35,10 +35,6 @@ INFO= xmorph
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502114
CFLAGS+= -Dround=rint
.endif
.if ${HAVE_GNOME:Mgtk20}!=""
USE_GNOME+= gtk20
CONFIGURE_ARGS+= --with-gtk=2

View File

@ -26,11 +26,9 @@ MLINKS= nview.1 nv.1 \
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 600000
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
DISTFILES+= NConvert-x86-unknown-FreeBSD6.x.tgz
WRKSRC_NC= ${WRKDIR}/NConvert
.endif
LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
DISTFILES+= NConvert-x86-unknown-FreeBSD6.x.tgz
WRKSRC_NC= ${WRKDIR}/NConvert
.if ${OSVERSION} >= 700000
LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
@ -39,23 +37,14 @@ MLINKS= nview.1 nv.1 \
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/xnview ${PREFIX}/bin/xnview
${INSTALL_PROGRAM} ${WRKSRC}/bin/nview ${PREFIX}/bin/nv
.if ${OSVERSION} >= 600000
${INSTALL_PROGRAM} ${WRKSRC_NC}/nconvert ${PREFIX}/bin/nconvert
.else
${INSTALL_PROGRAM} ${WRKSRC}/bin/nconvert ${PREFIX}/bin/nconvert
.endif
${INSTALL_DATA} ${WRKSRC}/app-defaults/XnView.ad ${PREFIX}/lib/X11/app-defaults/XnView
cd ${WRKSRC}/man && ${INSTALL_MAN} xnview.1 nview.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.if ${OSVERSION} >= 600000
cd ${WRKSRC_NC} && \
${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt ${DOCSDIR}
.else
cd ${WRKSRC} && \
${INSTALL_DATA} Formats.txt ReadMe.txt Usage.txt WhatsNew.txt ${DOCSDIR}
.endif
.endif
.include <bsd.port.post.mk>

View File

@ -65,10 +65,6 @@ LIB_DEPENDS+= gimp:${PORTSDIR}/graphics/gimp-app
CONFIGURE_ARGS+= --disable-gimp
.endif
.if ${OSVERSION} < 500035
CONFIGURE_ENV+= CFLAGS="${CFLAGS:C/-O[0-9]*//g}"
.endif
pre-patch:
@${FIND} ${WRKSRC} -name 'Makefile.in' | ${XARGS} ${REINPLACE_CMD} \
-i "" -e 's|\$$(DESTDIR)\$$(sbindir)||g'

View File

@ -75,7 +75,6 @@ PORTDOCS= ${PORTVERSION}
.endif
# nl_langinfo(CODESET) drops the support of ja_JP.EUC after 5.1-RELEASE
.if ${OSVERSION} > 501100
LOCALE_CMD?= /usr/bin/locale
.if exists(${LOCALE_CMD})
CHARMAP!= ${LOCALE_CMD} charmap
@ -85,7 +84,6 @@ pre-build:
@${ECHO_CMD} "Warning: Your current locale setting is not supported by the system."
.endif
.endif
.endif
.if defined(WITHOUT_INFO)
PLIST_SUB+= INFO="@comment "

View File

@ -31,12 +31,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 -liconv ${PTHREAD_LIBS}
CONFIGURE_ENV+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
@ -53,4 +47,4 @@ do-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

@ -31,12 +31,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 -I${LOCALBASE}/include/wnn \
${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib -liconv ${PTHREAD_LIBS}
@ -55,4 +49,4 @@ do-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

@ -27,16 +27,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
IGNORE= does not build on FreeBSD < 5.x
.else
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
.endif
post-install:
@${CAT} ${PKGMESSAGE}
@ -44,4 +37,4 @@ post-install:
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
@${ECHO}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -26,15 +26,8 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
IGNORE= does not build in FreeBSD < 5.x
.else
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -29,15 +29,8 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
IGNORE= does not build in FreeBSD < 5.x
.else
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -26,20 +26,13 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
IGNORE= does not build in FreeBSD < 5.x
.else
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
.endif
post-install:
@${ECHO_CMD}
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -24,17 +24,8 @@ USE_ICONV= yes
USE_GMAKE= yes
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"
.else
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
.endif
post-install:
@${CAT} ${PKGMESSAGE}
@ -42,4 +33,4 @@ post-install:
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
@${ECHO}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -24,19 +24,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
.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 -D__STDC_ISO_10646__" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
CPPFLAGS="-I${LOCALBASE}/include -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
.endif
post-patch:
@${REINPLACE_CMD} "s|LOCALBASE|${LOCALBASE}|" ${WRKSRC}/src/scim_skk_prefs.h
@ -47,4 +37,4 @@ post-install:
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
@${ECHO}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -26,7 +26,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
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"
PLIST_FILES= bin/scim-tomoe \
lib/scim-1.0/1.4.0/Helper/tomoe.a \
@ -35,22 +37,10 @@ PLIST_FILES= bin/scim-tomoe \
share/locale/ja/LC_MESSAGES/scim-tomoe.mo \
share/scim/icons/scim-tomoe.png
.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 -D__STDC_ISO_10646__" \
LDFLAGS="-L${LOCALBASE}/lib"
.endif
post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO}
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
@${ECHO}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -26,16 +26,9 @@ USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
PTHREAD_LIBS="${PTHREAD_LIBS}"
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
IGNORE= does not build on FreeBSD < 5.x
.else
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
PTHREAD_LIBS="${PTHREAD_LIBS}" \
CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
.endif
post-install:
@${CAT} ${PKGMESSAGE}
@ -43,4 +36,4 @@ post-install:
@${ECHO} To display this message again, type \`pkg_info -D ${PKGNAME}\'
@${ECHO}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View File

@ -50,7 +50,7 @@ post-configure:
pre-build:
cd ${WRKSRC} && ${MAKE} -f Makefile.lib PREFIX=${PREFIX} \
VERSION=${VERSION} OSVERSION=${OSVERSION} && ${RM} *.o
VERSION=${VERSION} && ${RM} *.o
pre-install:
${MKDIR} ${PREFIX}/lib/tcl${VERSION}

View File

@ -8,9 +8,6 @@ CFLAGS+= -I. -I./../generic \
-DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_FILIO_H=1 -DKANJI \
-DTCL_LIBRARY=\"${TCL_LIBRARY}\" \
-DTCL_PACKAGE_PATH="\"/usr/local/lib\""
.if ${OSVERSION} < 600011
CFLAGS+= -DNEED_MATHERR=1
.endif
GENERIC_DIR= ../generic
UNIX_DIR= .

View File

@ -45,15 +45,10 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
.include <bsd.port.pre.mk>
JDK_OSREL= freebsd6
.if ${OSVERSION} >= 700000
LIB_DEPENDS= z.3:${PORTSDIR}/misc/compat6x
JDK_OSREL= freebsd6
.elif ${OSVERSION} >= 600000
JDK_OSREL= freebsd6
.elif ${ARCH} == "i386"
JDK_OSREL= freebsd5
.else
IGNORE= only available for FreeBSD 5.x/i386 and FreeBSD 6.x/amd64 and later
.endif
.if !defined(WITHOUT_TZUPDATE)

View File

@ -4,9 +4,6 @@ SIZE (diablo-caffe-freebsd6-amd64-1.5.0_07-b01.tar.bz2) = 46868094
MD5 (diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2) = 611e29db0b841d8c1cd170582946a666
SHA256 (diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2) = b7e010658271bebadaa9ea1f410d7af27fcbc0f864a69feea5cd60c6683aa4c9
SIZE (diablo-caffe-freebsd6-i386-1.5.0_07-b01.tar.bz2) = 54347274
MD5 (diablo-caffe-freebsd5-i386-1.5.0_07-b01.tar.bz2) = ac3a83b3a52cef7e1727ce32d91574d6
SHA256 (diablo-caffe-freebsd5-i386-1.5.0_07-b01.tar.bz2) = fda84f24f4eb489b04ce3185dfe7d70bffbbe624400ae086222a3892cc1ba305
SIZE (diablo-caffe-freebsd5-i386-1.5.0_07-b01.tar.bz2) = 54304946
MD5 (tzupdater-1_3_11-2008i.zip) = 4bb928818a5d81be3ac3edf90b33ee36
SHA256 (tzupdater-1_3_11-2008i.zip) = 69bebfa219bcaffa68cee999e0df76e6730902779f3123a4b41726d33c9b5f9d
SIZE (tzupdater-1_3_11-2008i.zip) = 262340

View File

@ -53,11 +53,9 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jdk${JDK_VERSION}
.if ${OSVERSION} >= 700000
JDK_OSREL= freebsd7
PLIST_SUB+= RELEASENOTE="@comment "
.elif ${OSVERSION} >= 600000
.else
JDK_OSREL= freebsd6
PLIST_SUB+= RELEASENOTE=""
.else
IGNORE= only available for FreeBSD 6.x/i386 and FreeBSD 6.x/amd64 and later
.endif
.if ${ARCH} == "i386"

View File

@ -45,15 +45,10 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jre${JRE_VERSION}
.include <bsd.port.pre.mk>
JRE_OSREL= freebsd6
.if ${OSVERSION} >= 700000
LIB_DEPENDS= z.3:${PORTSDIR}/misc/compat6x
JRE_OSREL= freebsd6
.elif ${OSVERSION} >= 600000
JRE_OSREL= freebsd6
.elif ${ARCH} == "i386"
JRE_OSREL= freebsd5
.else
IGNORE= only available for FreeBSD 5.x/i386 and FreeBSD 6.x/amd64 and later
.endif
.if defined(WITH_TZUPDATE)

View File

@ -4,9 +4,6 @@ SIZE (diablo-latte-freebsd6-amd64-1.5.0_07-b01.tar.bz2) = 20580050
MD5 (diablo-latte-freebsd6-i386-1.5.0_07-b01.tar.bz2) = 4ab052253faf251129737e999916de1b
SHA256 (diablo-latte-freebsd6-i386-1.5.0_07-b01.tar.bz2) = 4585f35124416de052c8be10f0f48536053ab5c33dc3b7d728bf6e84d9b42c14
SIZE (diablo-latte-freebsd6-i386-1.5.0_07-b01.tar.bz2) = 23104037
MD5 (diablo-latte-freebsd5-i386-1.5.0_07-b01.tar.bz2) = 8d678db9f1e88a63bfa8fde387ebe36f
SHA256 (diablo-latte-freebsd5-i386-1.5.0_07-b01.tar.bz2) = f684f425a9cf07e2d8cfe90d1cb6e543d162b026003e7fcf9b655dd8f8f9e3f5
SIZE (diablo-latte-freebsd5-i386-1.5.0_07-b01.tar.bz2) = 23036449
MD5 (tzupdater-1_3_11-2008i.zip) = 4bb928818a5d81be3ac3edf90b33ee36
SHA256 (tzupdater-1_3_11-2008i.zip) = 69bebfa219bcaffa68cee999e0df76e6730902779f3123a4b41726d33c9b5f9d
SIZE (tzupdater-1_3_11-2008i.zip) = 262340

View File

@ -54,11 +54,9 @@ INSTALL_DIR= ${PREFIX}/${PKGNAMEPREFIX}jre${JRE_VERSION}
.if ${OSVERSION} >= 700000
JRE_OSREL= freebsd7
PLIST_SUB+= RELEASENOTE="@comment "
.elif ${OSVERSION} >= 600000
.else
JRE_OSREL= freebsd6
PLIST_SUB+= RELEASENOTE=""
.else
IGNORE= only available for FreeBSD 6.x/i386 and FreeBSD 6.x/amd64 and later
.endif
.if ${ARCH} == "i386"

View File

@ -130,11 +130,6 @@ BUILD_DEPENDS+= ${JDK13DIR}/bin/javac:${PORTSDIR}/java/jbootstrap
.endif
.endif
.if ${OSVERSION} < 500038
EXTRACT_DEPENDS+= gtar:${PORTSDIR}/archivers/gtar
TAR= gtar # Necessary for proper extraction of sources
.endif
# Check for JDK sources and patchset
.if !defined(PACKAGE_BUILDING) && (!exists(${DISTDIR}/${SRCFILE}) || !exists(${DISTDIR}/${PATCHSETFILE}))#{
ECHO_MSG=/usr/bin/printf
@ -165,14 +160,6 @@ IGNORE += \n Then place the downloaded file in ${DISTDIR}
IGNORE += and restart the build.\n\n
.endif#}
# HotSpot and/or native threads require a recent version of FreeBSD
.if ( defined(WITH_NATIVE_THREADS) || defined(WITH_HOTSPOT) ) && ( ${OSVERSION} < 500043 )
ECHO_MSG=/usr/bin/printf
IGNORE= :\n\
You must have a version of FreeBSD later than 4.7-STABLE February 2003\n\
or 5-CURRENT February 2003 to use either native threads or HotSpot.\n
.endif
# Warn user about HotSpot build
.if defined(WITH_HOTSPOT)
pre-everything::

View File

@ -45,10 +45,6 @@ UNPACK_CMD= ${APP_HOME}/lib/unpack
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 504000
IGNORE= does not run (core dumps: Bad System Call)
.endif
post-fetch:
@${CHMOD} +x ${DISTDIR}/${DISTFILES}

View File

@ -42,10 +42,6 @@ UNPACK_CMD= ${APP_HOME}/lib/unpack
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 504000
IGNORE= does not run (core dumps: Bad System Call)
.endif
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE=You must manually fetch the J2SE SDK self-extracting file for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif

View File

@ -42,10 +42,6 @@ UNPACK_CMD= ${APP_HOME}/bin/unpack200
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 504000
IGNORE= does not run (core dumps: Bad System Call)
.endif
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE?=You must manually fetch the J2SE SDK self-extracting file for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif

View File

@ -41,10 +41,6 @@ UNPACK_CMD= ${APP_HOME}/bin/unpack200
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 504000
IGNORE= does not run (core dumps: Bad System Call)
.endif
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE?=You must manually fetch the J2SE SDK self-extracting file for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif

View File

@ -41,10 +41,6 @@ UNPACK_CMD= ${APP_HOME}/bin/unpack200
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 504000
IGNORE= does not run (core dumps: Bad System Call)
.endif
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE?=You must manually fetch the JRE self-extracting file for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif

View File

@ -41,10 +41,6 @@ UNPACK_CMD= ${APP_HOME}/bin/unpack200
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 504000
IGNORE= does not run (core dumps: Bad System Call)
.endif
.if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) && !defined(PACKAGE_BUILDING)
IGNORE?=You must manually fetch the JRE self-extracting file for the Linux platform (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again
.endif

View File

@ -26,10 +26,6 @@ SVN_BUILD_BINDINGS=yes
CONFIGURE_ARGS+= --enable-javahl --with-jdk=${JAVA_HOME}
.if ${OSVERSION} < 503000
BROKEN="Java bindings are supported only on FreeBSD 5.3 or newer"
.endif
do-build:
@${MKDIR} ${WRKSRC}/subversion/bindings/java/javahl/classes
cd ${WRKSRC} ; \

View File

@ -28,12 +28,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

@ -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' \

View File

@ -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"

View File

@ -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"

View File

@ -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."

View File

@ -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}

View File

@ -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}'

View File

@ -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>

View File

@ -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}

View File

@ -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

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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

View File

@ -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 \

View File

@ -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

View File

@ -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} \

View File

@ -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

View File

@ -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 \

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -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

View File

@ -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

View File

@ -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
*/

View File

@ -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

View File

@ -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:

View File

@ -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.

View File

@ -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:

View File

@ -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.

View File

@ -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:

View File

@ -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.

View File

@ -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:

Some files were not shown because too many files have changed in this diff Show More