[70208] trunk/dports/multimedia/libvpx

raimue at macports.org raimue at macports.org
Sun Aug 1 18:10:35 PDT 2010


Revision: 70208
          http://trac.macports.org/changeset/70208
Author:   raimue at macports.org
Date:     2010-08-01 18:10:31 -0700 (Sun, 01 Aug 2010)
Log Message:
-----------
multimedia/libvpx:
Fix build problem when path to the source contains the string ".o",
as in macports.org. Fixes #25815

Modified Paths:
--------------
    trunk/dports/multimedia/libvpx/Portfile

Added Paths:
-----------
    trunk/dports/multimedia/libvpx/files/
    trunk/dports/multimedia/libvpx/files/patch-configure.sh.diff

Modified: trunk/dports/multimedia/libvpx/Portfile
===================================================================
--- trunk/dports/multimedia/libvpx/Portfile	2010-08-02 00:08:00 UTC (rev 70207)
+++ trunk/dports/multimedia/libvpx/Portfile	2010-08-02 01:10:31 UTC (rev 70208)
@@ -25,6 +25,8 @@
 # gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
 universal_variant no
 
+patchfiles      patch-configure.sh.diff
+
 configure.args  --enable-vp8 \
                 --enable-psnr \
                 --enable-postproc \

Added: trunk/dports/multimedia/libvpx/files/patch-configure.sh.diff
===================================================================
--- trunk/dports/multimedia/libvpx/files/patch-configure.sh.diff	                        (rev 0)
+++ trunk/dports/multimedia/libvpx/files/patch-configure.sh.diff	2010-08-02 01:10:31 UTC (rev 70208)
@@ -0,0 +1,15 @@
+--- build/make/configure.sh.orig	2010-08-01 17:29:21.000000000 -0700
++++ build/make/configure.sh	2010-08-01 17:29:23.000000000 -0700
+@@ -375,10 +375,10 @@
+ EOF
+ 
+     if enabled rvct; then cat >> $1 << EOF
+-fmt_deps = sed -e 's;^__image.axf;\$(dir \$@)\$(notdir \$<).o \$@;' #hide
++fmt_deps = sed -e 's;^__image.axf\$\$;\$(dir \$@)\$(notdir \$<).o \$@;' #hide
+ EOF
+     else cat >> $1 << EOF
+-fmt_deps = sed -e 's;^\(.*\)\.o;\$(dir \$@)\1\$(suffix \$<).o \$@;' #hide
++fmt_deps = sed -e 's;^\(.*\)\.o\$\$;\$(dir \$@)\1\$(suffix \$<).o \$@;' #hide
+ EOF
+     fi
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100801/f6507acc/attachment.html>


More information about the macports-changes mailing list