FreeBSD Bugzilla – Attachment 133149 Details for
Bug 177559
emulators/xsystem35: Fix build
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
emulators_xsystem35.diff
emulators_xsystem35.diff (text/x-diff), 8.22 KB, created by
tkato432
on 2013-04-25 19:25:03 UTC
(
hide
)
Description:
emulators_xsystem35.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2013-04-25 19:25:03 UTC
Size:
8.22 KB
patch
obsolete
>diff -urN /usr/ports/emulators/xsystem35/Makefile emulators/xsystem35/Makefile >--- /usr/ports/emulators/xsystem35/Makefile 2013-04-25 05:21:58.000000000 +0900 >+++ emulators/xsystem35/Makefile 2013-04-26 00:00:00.000000000 +0900 >@@ -10,44 +10,44 @@ > MAINTAINER= ports@FreeBSD.org > COMMENT= AliceSoft System 3.5/3.6/3.8/3.9 on X Window System > >-BROKEN= Does not build >+LICENSE= GPLv2 # (or later) > >-LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis \ >- jpeg.11:${PORTSDIR}/graphics/jpeg >+LIB_DEPENDS= vorbis:${PORTSDIR}/audio/libvorbis \ >+ jpeg:${PORTSDIR}/graphics/jpeg >+ >+OPTIONS_DEFINE= ESOUND DOCS EXAMPLES > >-USE_AUTOTOOLS= autoconf libtool > USES= gettext >-USE_GMAKE= yes > USE_GNOME= gtk12 >-WANT_GNOME= yes >- >-PKGMESSAGE= ${WRKSRC}/MESSAGE >- >-DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME} >-PATCHES= pastel.diff >- >-.include <bsd.port.pre.mk> >- >+USE_GMAKE= yes >+USE_AUTOTOOLS= autoconf libtool > CONFIGURE_ARGS= --without-included-gettext \ >- --program-prefix="" \ > --with-cachesize=20 \ > --enable-midi=seq,extp,raw \ > --enable-cdrom=bsd,mp3 >+MAKE_JOBS_SAFE= yes >+ > CPPFLAGS+= -I${LOCALBASE}/include > LDFLAGS+= -L${LOCALBASE}/lib > >-.if ${HAVE_GNOME:Mesound}!="" >+SUB_FILES= pkg-message >+ >+DOCSDIR= ${PREFIX}/share/doc/ja/${PORTNAME} >+ >+.include <bsd.port.options.mk> >+ >+.if ${PORT_OPTIONS:MESOUND} > USE_GNOME+= esound > CONFIGURE_ARGS+= --enable-audio=oss,esd --with-default-output=esd > .else > CONFIGURE_ARGS+= --enable-audio=oss --with-default-output=oss > .endif > >-#.if defined(WITH_SDL) >+#.if ${PORT_OPTIONS:MSDL} > #USE_SDL= sdl > #CONFIGURE_ARGS+= --enable-sdl >-#CONFIGURE_ENV+= "CPPFLAGS=`$(SDL_CONFIG) --cflags`" \ >-# "LIBS=`$(SDL_CONFIG) --libs`" >+#CPPFLAGS+= $$(${SDL_CONFIG} --cflags) >+#LDFLAGS+= $$(${SDL_CONFIG} --libs) > #.else > CONFIGURE_ARGS+= --disable-sdl > #.endif >@@ -59,11 +59,6 @@ > CONFIGURE_ARGS+= --disable-mmx > .endif > >-pre-everything:: >-#.if !defined(WITH_SDL) >-# @${ECHO_MSG} '===> Define WITH_SDL to enable SDL support' >-#.endif >- > post-extract: > @${CP} ${WRKSRC}/INSTALL ${WRKSRC}/doc/INSTALL > >@@ -71,24 +66,27 @@ > ${FIND} ${WRKSRC}/src -type f |\ > ${XARGS} ${GREP} -l '<SDL/SDL' /dev/null |\ > ${XARGS} ${REINPLACE_CMD} -e 's,<SDL/,<,' >+ @${REINPLACE_CMD} -e \ >+ 's|__COUNTER__|__COUNTER_H__|' ${WRKSRC}/src/counter.h > > pre-configure: > (cd ${WRKSRC}/libltdl; ${AUTOCONF}) > > post-install: > ${INSTALL_SCRIPT} ${WRKSRC}/contrib/instgame ${PREFIX}/bin >-.if !defined(NOPORTDOCS) >+.if ${PORT_OPTIONS:MDOCS} > @${MKDIR} ${DOCSDIR} > (cd ${WRKSRC}/doc;\ >- ${INSTALL_MAN} * ${DOCSDIR}) >+ ${INSTALL_DATA} * ${DOCSDIR}) > .endif >+.if ${PORT_OPTIONS:MEXAMPLES} > @${MKDIR} ${EXAMPLESDIR} > ${INSTALL_DATA} ${WRKSRC}/src/xsys35rc.sample ${EXAMPLESDIR} > @(cd ${WRKSRC}/contrib; \ > ${INSTALL_DATA} *.* ${EXAMPLESDIR}) > @(cd ${WRKSRC}/patch; \ >- ${INSTALL_DATA} ${PATCHES} ${EXAMPLESDIR}) >- @${SED} -e s,PREFIX,${PREFIX}, ${PKGDIR}/pkg-message > ${WRKSRC}/MESSAGE >- @${CAT} ${WRKSRC}/MESSAGE >+ ${INSTALL_DATA} pastel.diff ${EXAMPLESDIR}) >+.endif >+ @${CAT} ${PKGMESSAGE} > >-.include <bsd.port.post.mk> >+.include <bsd.port.mk> >diff -urN /usr/ports/emulators/xsystem35/files/pkg-message.in emulators/xsystem35/files/pkg-message.in >--- /usr/ports/emulators/xsystem35/files/pkg-message.in 1970-01-01 09:00:00.000000000 +0900 >+++ emulators/xsystem35/files/pkg-message.in 2013-04-26 00:00:00.000000000 +0900 >@@ -0,0 +1,15 @@ >+ >+o Make sure your kernel has been configured with options SHMMAXPGS=4096 >+ when you run on display 16bpp or deeper color. >+ >+o Copy %%PREFIX%%/share/example/xsystem35/xsys35rc.sample >+ to ~/.xsys35rc and fit it to your environment. >+ >+o Install game data from AliceSoft's cdrom with >+ %%PREFIX%%/bin/instgame. >+ >+o pcm0 sound device doesn't work well with this program for now. >+ Try snd0 instead, OSS commercial product or >+ `-devdsp none' command line option as the last resort. >+ >+Enjoy! >diff -urN /usr/ports/emulators/xsystem35/pkg-message emulators/xsystem35/pkg-message >--- /usr/ports/emulators/xsystem35/pkg-message 2012-11-08 10:14:00.000000000 +0900 >+++ emulators/xsystem35/pkg-message 1970-01-01 09:00:00.000000000 +0900 >@@ -1,15 +0,0 @@ >- >-o Make sure your kernel has been configured with options SHMMAXPGS=4096 >- when you run on display 16bpp or deeper color. >- >-o Copy PREFIX/share/example/xsystem35/xsys35rc.sample >- to ~/.xsys35rc and fit it to your environment. >- >-o Install game data from AliceSoft's cdrom with >- PREFIX/bin/instgame. >- >-o pcm0 sound device doesn't work well with this program for now. >- Try snd0 instead, OSS commercial product or >- `-devdsp none' command line option as the last resort. >- >-Enjoy! >diff -urN /usr/ports/emulators/xsystem35/pkg-plist emulators/xsystem35/pkg-plist >--- /usr/ports/emulators/xsystem35/pkg-plist 2012-11-08 10:14:00.000000000 +0900 >+++ emulators/xsystem35/pkg-plist 2013-04-26 00:00:00.000000000 +0900 >@@ -87,52 +87,52 @@ > %%PORTDOCS%%%%DOCSDIR%%/TECH.TXT > %%PORTDOCS%%%%DOCSDIR%%/THANKS > %%PORTDOCS%%%%DOCSDIR%%/TODO >-%%EXAMPLESDIR%%/20cDPS.inf >-%%EXAMPLESDIR%%/20cKaeru.inf >-%%EXAMPLESDIR%%/456atlach.inf >-%%EXAMPLESDIR%%/456ningen.inf >-%%EXAMPLESDIR%%/456zero.inf >-%%EXAMPLESDIR%%/README.TXT >-%%EXAMPLESDIR%%/ambi.inf >-%%EXAMPLESDIR%%/atlach_new.inf >-%%EXAMPLESDIR%%/chairs.inf >-%%EXAMPLESDIR%%/daiakuji.inf >-%%EXAMPLESDIR%%/dalk.inf >-%%EXAMPLESDIR%%/darcrows.inf >-%%EXAMPLESDIR%%/diabo.inf >-%%EXAMPLESDIR%%/diabo_new.inf >-%%EXAMPLESDIR%%/drstop.inf >-%%EXAMPLESDIR%%/esuka.inf >-%%EXAMPLESDIR%%/hushaby.inf >-%%EXAMPLESDIR%%/kakurezuki.inf >-%%EXAMPLESDIR%%/katsumi.inf >-%%EXAMPLESDIR%%/kichiku.inf >-%%EXAMPLESDIR%%/mamatoto.inf >-%%EXAMPLESDIR%%/mamori.inf >-%%EXAMPLESDIR%%/miko.inf >-%%EXAMPLESDIR%%/mugen.inf >-%%EXAMPLESDIR%%/nd.inf >-%%EXAMPLESDIR%%/onlyyou_r.inf >-%%EXAMPLESDIR%%/oudou.inf >-%%EXAMPLESDIR%%/panyo.inf >-%%EXAMPLESDIR%%/panyo_new.inf >-%%EXAMPLESDIR%%/pascha.inf >-%%EXAMPLESDIR%%/pastel.diff >-%%EXAMPLESDIR%%/persiom.inf >-%%EXAMPLESDIR%%/progood.inf >-%%EXAMPLESDIR%%/rance1.inf >-%%EXAMPLESDIR%%/rance2.inf >-%%EXAMPLESDIR%%/rance3.inf >-%%EXAMPLESDIR%%/rance4.inf >-%%EXAMPLESDIR%%/rance5d.inf >-%%EXAMPLESDIR%%/seeinao.inf >-%%EXAMPLESDIR%%/toushin.inf >-%%EXAMPLESDIR%%/toushin2.inf >-%%EXAMPLESDIR%%/tsuma.inf >-%%EXAMPLESDIR%%/tsuma2.inf >-%%EXAMPLESDIR%%/xsys35rc.sample >-%%EXAMPLESDIR%%/zero_new.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/20cDPS.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/20cKaeru.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/456atlach.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/456ningen.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/456zero.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README.TXT >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ambi.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/atlach_new.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chairs.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/daiakuji.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dalk.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/darcrows.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/diabo.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/diabo_new.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/drstop.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/esuka.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hushaby.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/kakurezuki.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/katsumi.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/kichiku.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mamatoto.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mamori.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/miko.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mugen.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/nd.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/onlyyou_r.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/oudou.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/panyo.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/panyo_new.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pascha.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pastel.diff >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/persiom.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/progood.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rance1.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rance2.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rance3.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rance4.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rance5d.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/seeinao.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/toushin.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/toushin2.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tsuma.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tsuma2.inf >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xsys35rc.sample >+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/zero_new.inf > share/locale/ja/LC_MESSAGES/xsystem35.mo >-@dirrm %%EXAMPLESDIR%% >+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% > %%PORTDOCS%%@dirrm %%DOCSDIR%% > @dirrm lib/xsystem35
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 177559
:
133147
|
133148
| 133149