ports/55687: Update port: graphics/sdl_gfx

KATO Tsuguru tkato at prontomail.com
Sun Aug 17 23:40:22 UTC 2003


>Number:         55687
>Category:       ports
>Synopsis:       Update port: graphics/sdl_gfx
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 17 16:40:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE-p3 i386
>Organization:
>Environment:
>Description:
- Add WITH_MMX knob

>How-To-Repeat:
>Fix:

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 <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 @@
 	@${REINPLACE_CMD} 's|<SDL/SDL|<SDL|g' ${WRKSRC}/${file}
 .endfor
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list