diff -urN /usr/ports/graphics/sdl_gfx/Makefile graphics/sdl_gfx/Makefile --- /usr/ports/graphics/sdl_gfx/Makefile Tue Aug 12 21:28:46 2003 +++ graphics/sdl_gfx/Makefile Sun Aug 17 22:09:45 2003 @@ -20,10 +20,17 @@ USE_REINPLACE= yes USE_GMAKE= yes USE_LIBTOOL= yes +CONFIGURE_ARGS= --disable-mmx MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ AUTOHEADER="${TRUE}" INSTALLS_SHLIB= yes +.include + +.if defined(WITH_MMX) && (${ARCH} == "i386") +CFLAGS+= -DUSE_MMX +.endif + post-patch: @${REINPLACE_CMD} 's|^libSDL_gfxincludedir.*|&/SDL11|' \ ${WRKSRC}/Makefile.in @@ -31,4 +38,4 @@ @${REINPLACE_CMD} 's| +.include