Index: head/devel/clanlib/Makefile =================================================================== --- head/devel/clanlib/Makefile (revision 446691) +++ head/devel/clanlib/Makefile (revision 446692) @@ -1,60 +1,60 @@ # Created by: Maxim Sobolev # $FreeBSD$ PORTNAME= clanlib PORTVERSION= 2.3.7 -PORTREVISION= 12 +PORTREVISION= 13 PORTEPOCH= 1 CATEGORIES= devel MASTER_SITES= http://www.clanlib.org/download/releases-2.0/ DISTNAME= ClanLib-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Cross-platform game SDK LICENSE= ZLIB LIB_DEPENDS= libpng.so:graphics/png \ libmikmod.so:audio/libmikmod \ libvorbis.so:audio/libvorbis \ libfontconfig.so:x11-fonts/fontconfig \ libpcre.so:devel/pcre USES= compiler:c++11-lib execinfo gmake jpeg libtool localbase:ldflags \ pathfix pkgconfig sqlite tar:tgz USE_XORG= x11 USE_LDCONFIG= yes USE_GL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-docs \ --enable-clanDisplay \ --enable-clanGL \ --enable-clanGL1 \ --enable-clanSound \ --enable-clanDatabase \ --enable-clanSqlite \ --enable-clanRegExp \ --enable-clanNetwork \ --enable-clanGUI \ --enable-clanCSSLayout \ --enable-clanSWRender \ --enable-clanMikMod \ --enable-clanVorbis \ --enable-getaddr INSTALL_TARGET= install-strip PLIST_SUB+= VER=${PORTVERSION:R} \ SHORT_VER=${PORTVERSION:R:R}${PORTVERSION:R:E} post-patch: @${REINPLACE_CMD} -e 's|LIBS="-lsqlite3 -ldl"|LIBS="-lsqlite3"|g' \ ${WRKSRC}/configure @${REINPLACE_CMD} -e '114 s|/proc/self/exe|/proc/curproc/file|g' \ ${WRKSRC}/Sources/Core/System/Unix/init_linux.cpp @${REINPLACE_CMD} -e 's|APPLE|FreeBSD|g' \ ${WRKSRC}/Sources/Core/System/system.cpp @${REINPLACE_CMD} -e '47 s|#ifndef __FreeBSD__|#if !defined(__FreeBSD__)|g' \ ${WRKSRC}/Sources/Core/System/system.cpp .include Index: head/devel/clanlib/files/patch-Sources_Core_System_detect__cpu__ext.cpp =================================================================== --- head/devel/clanlib/files/patch-Sources_Core_System_detect__cpu__ext.cpp (revision 446691) +++ head/devel/clanlib/files/patch-Sources_Core_System_detect__cpu__ext.cpp (revision 446692) @@ -1,15 +1,11 @@ --- Sources/Core/System/detect_cpu_ext.cpp.orig 2011-11-15 12:15:42 UTC +++ Sources/Core/System/detect_cpu_ext.cpp -@@ -30,6 +30,7 @@ +@@ -30,7 +30,7 @@ #include "Core/precomp.h" #include "API/Core/System/system.h" -+#ifndef CL_DISABLE_SSE2 - #ifdef CL_ARM_PLATFORM +-#ifdef CL_ARM_PLATFORM ++#if defined(CL_ARM_PLATFORM) || defined(CL_DISABLE_SSE2) bool CL_System::detect_cpu_extension(CL_CPU_ExtensionPPC ext) { -@@ -183,3 +184,4 @@ bool CL_System::detect_cpu_extension(CL_CPU_ExtensionX - } - - #endif -+#endif // not CL_DISABLE_SSE2 + throw ("Congratulations, you've just been selected to code this feature!");