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:
parent
d9d0520970
commit
df09ef5a58
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=87266
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user