1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

update graphics/sdl_gfx: add WITH_MMX knob

PR:		55687
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Daichi GOTO 2003-08-19 05:55:07 +00:00
parent d9d0520970
commit df09ef5a58
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87266

View File

@ -20,10 +20,17 @@ USE_SDL= yes
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 <bsd.port.pre.mk>
.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 @@ post-patch:
@${REINPLACE_CMD} 's|<SDL/SDL|<SDL|g' ${WRKSRC}/${file}
.endfor
.include <bsd.port.mk>
.include <bsd.port.post.mk>