Modified: trunk/dports/audio/libsdl_mixer/Portfile (75275 => 75276)
--- trunk/dports/audio/libsdl_mixer/Portfile 2011-01-19 16:00:08 UTC (rev 75275)
+++ trunk/dports/audio/libsdl_mixer/Portfile 2011-01-19 16:18:26 UTC (rev 75276)
@@ -5,6 +5,7 @@
name libsdl_mixer
set my_name SDL_mixer
version 1.2.11
+revision 1
categories audio devel
platforms macosx
maintainers jmr openmaintainer
@@ -23,29 +24,20 @@
sha1 ef5d45160babeb51eafa7e4019cec38324ee1a5d \
rmd160 559355116a1c380edf71879da0dbcf5359f05476
+depends_build port:pkgconfig
depends_lib path:lib/pkgconfig/sdl.pc:libsdl \
port:flac \
port:smpeg \
port:libvorbis \
port:libogg
+patchfiles Makefile.in.diff
+
configure.args --with-sdl-prefix=${prefix} \
--disable-sdltest \
--with-smpeg-prefix=${prefix} \
--disable-smpegtest
-if {[variant_isset universal]} {
- set archflags ${configure.universal_cflags}
- configure.args-append CPP=${configure.cpp}
-} else {
- set archflags ${configure.cc_archflags}
-}
-configure.cc ${configure.cc} ${archflags}
-
-post-patch {
- reinplace "s|`find_lib\\(.*\\.dylib\\)|${prefix}/lib/`find_lib\\1|g" ${worksrcpath}/configure
-}
-
post-destroot {
set docdir ${prefix}/share/doc/${name}-${version}
xinstall -d ${destroot}${docdir}
Added: trunk/dports/audio/libsdl_mixer/files/Makefile.in.diff (0 => 75276)
--- trunk/dports/audio/libsdl_mixer/files/Makefile.in.diff (rev 0)
+++ trunk/dports/audio/libsdl_mixer/files/Makefile.in.diff 2011-01-19 16:18:26 UTC (rev 75276)
@@ -0,0 +1,15 @@
+--- Makefile.in.orig 2009-10-13 10:06:53.000000000 +1100
++++ Makefile.in 2011-01-20 02:01:27.000000000 +1100
+@@ -75,10 +75,10 @@
+ $(LIBTOOL) --mode=link $(CC) -o $@ $(OBJECTS) $(VERSION_OBJECTS) $(LDFLAGS) $(EXTRA_LDFLAGS) $(LT_LDFLAGS)
+
+ $(objects)/playwave$(EXE): $(objects)/playwave.lo $(objects)/$(TARGET)
+- $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
++ $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playwave.lo $(SDL_CFLAGS) $(SDL_LIBS) $(LDFLAGS) $(objects)/$(TARGET)
+
+ $(objects)/playmus$(EXE): $(objects)/playmus.lo $(objects)/$(TARGET)
+- $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(objects)/$(TARGET)
++ $(LIBTOOL) --mode=link $(CC) -o $@ $(objects)/playmus.lo $(SDL_CFLAGS) $(SDL_LIBS) $(LDFLAGS) $(objects)/$(TARGET)
+
+ install: all install-hdrs install-lib #install-bin
+ install-hdrs: