View | Details | Raw Unified | Return to bug 55687
Collapse All | Expand All

(-)graphics/sdl_gfx/Makefile (-1 / +8 lines)
Lines 20-29 Link Here
20
USE_REINPLACE=	yes
20
USE_REINPLACE=	yes
21
USE_GMAKE=	yes
21
USE_GMAKE=	yes
22
USE_LIBTOOL=	yes
22
USE_LIBTOOL=	yes
23
CONFIGURE_ARGS=	--disable-mmx
23
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
24
MAKE_ARGS=	ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
24
		AUTOHEADER="${TRUE}"
25
		AUTOHEADER="${TRUE}"
25
INSTALLS_SHLIB=	yes
26
INSTALLS_SHLIB=	yes
26
27
28
.include <bsd.port.pre.mk>
29
30
.if defined(WITH_MMX) && (${ARCH} == "i386")
31
CFLAGS+=	-DUSE_MMX
32
.endif
33
27
post-patch:
34
post-patch:
28
	@${REINPLACE_CMD} 's|^libSDL_gfxincludedir.*|&/SDL11|' \
35
	@${REINPLACE_CMD} 's|^libSDL_gfxincludedir.*|&/SDL11|' \
29
		${WRKSRC}/Makefile.in
36
		${WRKSRC}/Makefile.in
Lines 31-34 Link Here
31
	@${REINPLACE_CMD} 's|<SDL/SDL|<SDL|g' ${WRKSRC}/${file}
38
	@${REINPLACE_CMD} 's|<SDL/SDL|<SDL|g' ${WRKSRC}/${file}
32
.endfor
39
.endfor
33
40
34
.include <bsd.port.mk>
41
.include <bsd.port.post.mk>

Return to bug 55687