FreeBSD Bugzilla – Attachment 158223 Details for
Bug 201252
games/darkplaces: fix build on mips and other archs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
darkplaces.patch (text/plain), 1.50 KB, created by
Dmitry Marakasov
on 2015-07-01 14:58:57 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Dmitry Marakasov
Created:
2015-07-01 14:58:57 UTC
Size:
1.50 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 390640) >+++ Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= darkplaces > PORTVERSION= 20140513 >+PORTREVISION= 1 > CATEGORIES= games > MASTER_SITES= http://icculus.org/twilight/darkplaces/files/ > DISTNAME= ${PORTNAME}engine${PORTVERSION} >@@ -22,10 +23,13 @@ > ALL_TARGET= # > > OPTIONS_DEFINE= DOCS SDL1 >+OPTIONS_DEFINE_i386= SSE >+OPTIONS_DEFINE_amd64= SSE > OPTIONS_MULTI= MODULE > MODULE_DESC= Components > OPTIONS_MULTI_MODULE= GLX SDL SERVER > OPTIONS_DEFAULT= ${OPTIONS_MULTI_MODULE} >+OPTIONS_DEFAULT_amd64= SSE > OPTIONS_SUB= yes > > GLX_DESC= Build GLX client >@@ -73,6 +77,10 @@ > darkplaces darkplaces-sdl "Game;Shooter;" false > .endif > >+.if ! ${PORT_OPTIONS:MSSE} >+CFLAGS+= -DNO_SSE=1 >+.endif >+ > post-extract: > @${UNZIP_CMD} ${EXTRACT_BEFORE_ARGS} \ > ${WRKDIR}/${PORTNAME}enginesource${PORTVERSION}.zip \ >@@ -79,10 +87,13 @@ > -d ${WRKDIR} > > post-patch: >- ${REINPLACE_CMD} 's,/usr/X11R6,${LOCALBASE},g' \ >+ @${REINPLACE_CMD} 's,/usr/X11R6,${LOCALBASE},g' \ > ${WRKSRC}/makefile \ > ${WRKSRC}/makefile.inc \ > ${WRKSRC}/BSDmakefile >+.if ! ${PORT_OPTIONS:MSSE} >+ @${REINPLACE_CMD} '/^CFLAGS_SSE/ d' ${WRKSRC}/makefile.inc >+.endif > > do-install: > ${INSTALL_PROGRAM} ${EXE_TARGETS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin >@@ -99,8 +110,4 @@ > .endfor > .endif > >-BROKEN_ia64= does not compile: unrecognized command line option "-msse2" >-BROKEN_powerpc= ${BROKEN_ia64} >-BROKEN_sparc64= ${BROKEN_ia64} >- > .include <bsd.port.mk>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 201252
: 158223