FreeBSD Bugzilla – Attachment 133666 Details for
Bug 178160
emulators/sness9express: Fix build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.98 KB, created by
tkato432
on 2013-04-25 19:10:04 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2013-04-25 19:10:04 UTC
Size:
1.98 KB
patch
obsolete
>diff -urN /usr/ports/emulators/snes9express/Makefile emulators/snes9express/Makefile >--- /usr/ports/emulators/snes9express/Makefile 2013-04-25 05:21:58.000000000 +0900 >+++ emulators/snes9express/Makefile 2013-04-26 00:00:00.000000000 +0900 >@@ -1,9 +1,5 @@ >-# New ports collection makefile for: snes9express >-# Date created: 15 Mar 2004 >-# Whom: Travis Poppe <tlp@liquidx.org> >-# >+# Created by: Travis Poppe <tlp@liquidx.org> > # $FreeBSD: head/emulators/snes9express/Makefile 316464 2013-04-24 18:10:30Z ak $ >-# > > PORTNAME= snes9express > PORTVERSION= 1.43 >@@ -14,40 +10,45 @@ > MAINTAINER= ports@FreeBSD.org > COMMENT= GTK interface for snes9x > >+LICENSE= GPLv2 # (or later) >+ > RUN_DEPENDS= snes9x:${PORTSDIR}/emulators/snes9x > >+OPTIONS_DEFINE= DOCS >+ > USE_GNOME= gtk20 > USES= gettext > GNU_CONFIGURE= yes > MAKE_JOBS_SAFE= yes > >-BROKEN= does not build >- > PORTDOCS= AUTHORS ChangeLog NEWS README > PLIST_FILES= bin/${PORTNAME} \ > %%DATADIR%%/snes.s9xskin \ > %%DATADIR%%/snsp.s9xskin > PLIST_DIRS= %%DATADIR%% > >+.include <bsd.port.pre.mk> >+ >+.if ${ARCH} == "sparc64" >+BROKEN= Does not compile on sparc64 >+.endif >+ > post-patch: >- @${REINPLACE_CMD} -e 's|<endian\.h>|<sys/endian.h>|' \ >- ${WRKSRC}/s9xskin.cc >+ @${REINPLACE_CMD} -e \ >+ 's|(gzFile\*)|| ; \ >+ s|\*fptr;|fptr;|' ${WRKSRC}/rom.cc >+ @${REINPLACE_CMD} -e \ >+ 's|<endian\.h>|<sys/endian.h>|' ${WRKSRC}/s9xskin.cc > > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin >+ (cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin) > @${MKDIR} ${DATADIR} >- ${INSTALL_DATA} ${WRKSRC}/*.s9xskin ${DATADIR} >-.if !defined(NOPORTDOCS) >+ (cd ${WRKSRC} && ${INSTALL_DATA} *.s9xskin ${DATADIR}) >+.if ${PORT_OPTIONS:MDOCS} > @${MKDIR} ${DOCSDIR} >-.for file in ${PORTDOCS} >- ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} >+.for i in ${PORTDOCS} >+ (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR}) > .endfor > .endif > >-.include <bsd.port.pre.mk> >- >-.if ${ARCH} == "sparc64" >-BROKEN= Does not compile on sparc64 >-.endif >- > .include <bsd.port.post.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 178160
: 133666 |
133667