FreeBSD Bugzilla – Attachment 145968 Details for
Bug 192793
[stage] games/adonthell: Fix build on -current
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
games_adonthell.diff
games_adonthell.diff (text/plain), 2.35 KB, created by
tkato432
on 2014-08-18 18:34:05 UTC
(
hide
)
Description:
games_adonthell.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2014-08-18 18:34:05 UTC
Size:
2.35 KB
patch
obsolete
>diff -urN /usr/ports/games/adonthell/Makefile games/adonthell/Makefile >--- /usr/ports/games/adonthell/Makefile 2014-07-14 19:45:47.000000000 +0900 >+++ games/adonthell/Makefile 2014-09-19 00:00:00.000000000 +0900 >@@ -19,42 +19,43 @@ > LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis \ > libfreetype.so:${PORTSDIR}/print/freetype2 > >+USES= gettext gmake python > USE_SDL= mixer ttf sdl >-USE_PYTHON= yes >-USES= gettext gmake >+USE_GCC= any > GNU_CONFIGURE= yes > CONFIGURE_ENV= PYPACKAGE="${PYTHON_CMD}" ac_cv_path_P_SWIG=no > CONFIGURE_ARGS= --disable-py-debug > >-PLIST_SUB= VERSION="${PORTVERSION:R}" >+CPPFLAGS+= -I${LOCALBASE}/include >+LDFLAGS+= -L${LOCALBASE}/lib > >-CPPFLAGS+= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} >-LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS} >+PLIST_SUB= VERSION="${PORTVERSION:R}" > >-WEDGE_VERSION= 0.3.5 >+BROKEN_sparc64= Does not build on sparc64 > >-NO_STAGE= yes >-.include <bsd.port.pre.mk> >+DESKTOP_ENTRIES="Adonthell" "" "" "adonthell" "" "" > >-.if ${ARCH} == "sparc64" >-BROKEN= Does not build on sparc64 >-.endif >+WEDGE_VERSION= 0.3.5 > > post-patch: > @cd ${WRKSRC} && ${REINPLACE_CMD} -e \ > 's|-g -Wall|$$CFLAGS -Wall|g ; \ >- s|-lpthread|${PTHREAD_LIBS}|g' configure >+ s|-lpthread|-pthread|g' configure >+ @cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${REINPLACE_CMD} -e \ >+ 's|@adonthell_binary@|${PREFIX}/bin/adonthell|' Makefile.in > @cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${REINPLACE_CMD} -e \ >- 's/test $$adonthell_major_ver -eq 0 .*/true ;/' configure >+ 's|test $$adonthell_major_ver -eq 0 .*|true ;|' configure > @cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${REINPLACE_CMD} -e \ >- 's/^[[:space:]]*_//' scripts/modules/player_text.py >+ 's|^[[:space:]]*_||' scripts/modules/player_text.py > > post-install: > cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} \ > && ${SETENV} ${CONFIGURE_ENV} ./configure ${CONFIGURE_ARGS} \ >- --with-adonthell-binary=${PREFIX}/bin/${PORTNAME} \ >+ --with-adonthell-binary=${STAGEDIR}${PREFIX}/bin/adonthell \ > ${CONFIGURE_TARGET} >- cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${MAKE_CMD} >- cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${MAKE_CMD} install >+ cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${SETENV} HOME=${WRKDIR} \ >+ ${MAKE_CMD} >+ cd ${WRKDIR}/wastesedge-${WEDGE_VERSION} && ${SETENV} HOME=${WRKDIR} \ >+ ${MAKE_CMD} ${MAKE_ARGS} ${INSTALL_TARGET} > >-.include <bsd.port.post.mk> >+.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 192793
: 145968