Index: graphics/devil/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/csup/ports/graphics/devil/Makefile,v retrieving revision 1.26 diff -u -p -r1.26 Makefile --- graphics/devil/Makefile 18 Jul 2009 11:10:46 -0000 1.26 +++ graphics/devil/Makefile 2 Aug 2009 16:02:13 -0000 @@ -24,7 +24,8 @@ OPTIONS=3D JPEG "Enable JPEG support" on=20 TIFF "Enable TIFF support" on \ X11 "Enable X11 support" on \ SDL "Enable SDL support" off \ - NVTT "Enable NVidia texture tools support" off + NVTT "Enable NVidia texture tools support" off \ + SIMD "Enable SIMD autodetection (AltiVec, SSE3,...)" off =20 WRKSRC=3D ${WRKDIR}/${DISTNAME:L} =20 @@ -34,8 +35,7 @@ ACLOCAL_ARGS=3D -I m4 -I ${LOCALBASE}/shar AUTOMAKE_ARGS=3D --add-missing --copy --force-missing CONFIGURE_ENV=3D CPPFLAGS=3D"${CPPFLAGS}" LDFLAGS=3D"${LDFLAGS}" CONFIGURE_ARGS=3D --enable-ILU \ - --disable-allegro --disable-directx8 --disable-directx9 \ - --disable-altivec --disable-sse --disable-sse2 --disable-sse3 + --disable-allegro --disable-directx8 --disable-directx9 USE_LDCONFIG=3D yes MAKE_JOBS_SAFE=3D yes =20 @@ -109,6 +109,10 @@ LDFLAGS+=3D ${PTHREAD_LIBS} CONFIGURE_ARGS+=3D--without-nvtt .endif =20 +.if defined(WITHOUT_SIMD) +CONFIGURE_ARGS+=3D--disable-altivec --disable-sse --disable-sse2 --disable= -sse3 +.endif + post-patch: @${REINPLACE_CMD} -e '/^SUBDIRS/s|docs||g' ${WRKSRC}/Makefile.am @${REINPLACE_CMD} -e '/^pkgdir=3D/s|$$(libdir)/|$$(prefix)/libdata/|g' \