[22637] trunk/dports/multimedia/MPlayer

source_changes at macosforge.org source_changes at macosforge.org
Thu Mar 8 09:27:25 PST 2007


Revision: 22637
          http://trac.macosforge.org/projects/macports/changeset/22637
Author:   pipping at macports.org
Date:     2007-03-08 09:27:25 -0800 (Thu, 08 Mar 2007)

Log Message:
-----------
 * apply patch submitted by maintainer

Modified Paths:
--------------
    trunk/dports/multimedia/MPlayer/Portfile
    trunk/dports/multimedia/MPlayer/files/patch-Makefile

Modified: trunk/dports/multimedia/MPlayer/Portfile
===================================================================
--- trunk/dports/multimedia/MPlayer/Portfile	2007-03-08 16:45:25 UTC (rev 22636)
+++ trunk/dports/multimedia/MPlayer/Portfile	2007-03-08 17:27:25 UTC (rev 22637)
@@ -3,7 +3,7 @@
 PortSystem          1.0
 name                MPlayer
 version             1.0rc1
-revision            3
+revision            4
 categories          multimedia
 maintainers         ecronin at gizmolabs.org \
                     openmaintainer at macports.org
@@ -176,7 +176,7 @@
 
         extract.only                ${distname}${extract.suffix}
 
-        depends_lib-append          bin:unzip:unzip
+        depends_build-append        bin:unzip:unzip
 
         post-extract {
             cd ${worksrcpath}
@@ -288,7 +288,12 @@
 }
 
 platform darwin {
-    patchfiles-append   patch-Makefile
+    post-patch {
+        reinplace "s|\$\(CC\) \$\(CFLAGS\) -o|\$\(LD\) \$\(CFLAGS\) -o|g" \
+            ${worksrcpath}/Makefile
+        reinplace "s|-isysroot /Developer/SDKs/MacOSX10.4u.sdk||g" \
+            ${worksrcpath}/configure
+    }
     build.env           LD=cc
 }
 

Modified: trunk/dports/multimedia/MPlayer/files/patch-Makefile
===================================================================
--- trunk/dports/multimedia/MPlayer/files/patch-Makefile	2007-03-08 16:45:25 UTC (rev 22636)
+++ trunk/dports/multimedia/MPlayer/files/patch-Makefile	2007-03-08 17:27:25 UTC (rev 22637)
@@ -1,20 +0,0 @@
---- Makefile.orig	2006-10-24 12:08:13.000000000 -0400
-+++ Makefile	2006-10-24 12:08:45.000000000 -0400
-@@ -384,7 +384,7 @@
-                $(STATIC_LIB) \
- 
- $(PRG):	$(MPLAYER_DEP)
--	$(CC) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) $(LIBS_MPLAYER)
-+	$(LD) $(CFLAGS) -o $(PRG) $(OBJS_MPLAYER) $(LIBS_MPLAYER)
- 
- ifeq ($(MENCODER),yes)
- LIBS_MENCODER = libmpcodecs/libmpencoders.a \
-@@ -392,7 +392,7 @@
-                 $(COMMON_LIBS) \
- 
- $(PRG_MENCODER): $(MENCODER_DEP)
--	$(CC) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(LIBS_MENCODER)
-+	$(LD) $(CFLAGS) -o $(PRG_MENCODER) $(OBJS_MENCODER) $(LIBS_MENCODER)
- endif
- 
- osdep/mplayer-rc.o: osdep/mplayer.rc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070308/3d99e33e/attachment.html


More information about the macports-changes mailing list