On 2009/06/02 13:06, Stuart Henderson wrote:
> On 2009/06/02 02:47, James Wright wrote:
> > Attached is a work in progress port of frozen-bubble 2.2.0.  Included 
> > is p5-SDL 2.1.3 and p5-Pod-ToDemo-1.01 (needed for generating demo 
> > code from SDL's Pods).
> >
> > games/frozen-bubble is split into -main and a -server subpackages, the 
> > -server only requires glib-2 and the main package depends on p5-SDL 
> > and the rest of the sdl-* packages and is shared only.
> >
> > p5-SDL depends on the sdl-* packages, graphics/{png,jpeg}, freeglut 
> > and smpeg and is shared only.
> >
> > p5-Pod-ToDemo depends on p5-Test-Exception, I have not made it a  
> > dependency of p5-SDL, as it isn't needed except to generate sample 
> > code (and doesn't pass regress).
> >
> > The patches included to get p5-SDL and frozen-bubble to work are a  
> > mixture of netbsd pkgsrc patches (for frozen-bubble 1.x and p5-SDL),  
> > patches from CPAN's RT and stuff I applied to get  frozen-bubble and 
> > the p5-SDL example programs working, as well as to make sure all the 
> > files had proper permissions and ownership.
> >
> > It is a work in progress due to a few remaining issues:
> >
> > * p5-SDL regress fails if aucat is running as user (since sndio tries 
> > to open audio which is in use);
> > * frozen-bubble sound only works when aucat is not running (since  
> > share/examples/p5-SDL/loopwave.pl works with aucat, I have it narrowed 
> > down to the SDL::Mixer->new call in init_sound in bin/frozen-bubble);
> > * p5-Pod-ToDemo fails regress due to it checking its signature in the  
> > tests (and therefore requiring a ${HOME}/.gnupg directory)
> > * make update-plist in frozen-bubble keeps adding the ${P5ARCH}/ and  
> > ${P5ARCH}/auto/ directories to PLIST-server I've commented them out 
> > with @comment @dirrm;
> > * building|installing frozen-bubble-server on non-shared archs (see  
> > comment in databases/postgresql/Makefile re server and client arches)
> >
> >
> 
> we need something like this, but I'm not entirely sure if I have
> the glib2 LIB_DEPENDS right.

[snip]

also devel/p5-Locale-gettext in RUN_DEPENDS-main.


--- Makefile.orig       Mon Jun  1 23:15:23 2009
+++ Makefile    Tue Jun  2 13:23:58 2009
@@ -28,23 +28,27 @@ USE_GMAKE =         Yes
 # No regress tests here
 NO_REGRESS =           Yes
 
-BUILD_DEPENDS-main =   ${RUN_DEPENDS-main}
-BUILD_DEPENDS-server = ${RUN_DEPENDS-server}
+BUILD_DEPENDS =                ${RUN_DEPENDS-main} \
+                       ${RUN_DEPENDS-server}
 
 RUN_DEPENDS-main =     ::devel/sdl \
                        ::devel/sdl-mixer \
                        ::devel/sdl-pango \
-                       ::devel/p5-SDL 
-RUN_DEPENDS-server =   ::devel/glib2
+                       ::devel/p5-Locale-gettext \
+                       ::devel/p5-SDL
 
 LIB_DEPENDS-main =     SDL::devel/sdl \
                        SDL_Pango::devel/sdl-pango \
-                       SDL_mixer::devel/sdl-mixer 
-LIB_DEPENDS-server =   glib-2.0,gobject-2.0,gmodule-2.0::devel/glib2
+                       SDL_mixer::devel/sdl-mixer \
+                       glib-2.0,gmodule-2.0,gobject-2.0::devel/glib2
 
+LIB_DEPENDS-server =   glib-2.0::devel/glib2
 
-WANTLIB-main +=                pthread pango-1.0 c m X11
-WANTLIB-server +=      c m
+WANTLIB =              iconv intl
+
+WANTLIB-main =         ${WANTLIB} X11 m pango-1.0 pthread
+
+WANTLIB-server =       ${WANTLIB} c
 
 MULTI_PACKAGES =       -main -server
 

Reply via email to