diff --git a/graphics/sdl_gfx/Makefile b/graphics/sdl_gfx/Makefile index a0da546935c4..745480b9eac3 100644 --- a/graphics/sdl_gfx/Makefile +++ b/graphics/sdl_gfx/Makefile @@ -11,10 +11,11 @@ DISTNAME= SDL_gfx-${PORTVERSION} MAINTAINER= mva@FreeBSD.org COMMENT= SDL graphics drawing primitives and other support functions -USES= pathfix +LICENSE= ZLIB + +USES= gmake pathfix USE_AUTOTOOLS= libtool USE_SDL= sdl -USE_GMAKE= yes GNU_CONFIGURE= yes CONFIGURE_ARGS= --includedir=${PREFIX}/include MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \ @@ -23,14 +24,7 @@ USE_LDCONFIG= yes OPTIONS_DEFINE_i386= MMX -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MMMX} -CONFIGURE_ARGS+=--enable-mmx -CFLAGS+= -DUSE_MMX -.else -CONFIGURE_ARGS=--disable-mmx -.endif +MMX_CONFIGURE_ENABLE= mmx +MMX_CFLAGS= -DUSE_MMX .include