[90899] trunk/dports/multimedia/ffmpeg-devel
jeremyhu at macports.org
jeremyhu at macports.org
Sat Mar 17 11:55:38 PDT 2012
Revision: 90899
https://trac.macports.org/changeset/90899
Author: jeremyhu at macports.org
Date: 2012-03-17 11:55:38 -0700 (Sat, 17 Mar 2012)
Log Message:
-----------
ffmpeg-devel: Update to current git master
Also use clang again. It never should've been avoided and just infected
ffmpeg-devel from ffmpeg changes. The comment about i386 not working
with clang are false as multiple clang versions are tested by fate on
darwin/i386. http://fate.ffmpeg.org
Modified Paths:
--------------
trunk/dports/multimedia/ffmpeg-devel/Portfile
Removed Paths:
-------------
trunk/dports/multimedia/ffmpeg-devel/files/
Modified: trunk/dports/multimedia/ffmpeg-devel/Portfile
===================================================================
--- trunk/dports/multimedia/ffmpeg-devel/Portfile 2012-03-17 18:25:41 UTC (rev 90898)
+++ trunk/dports/multimedia/ffmpeg-devel/Portfile 2012-03-17 18:55:38 UTC (rev 90899)
@@ -7,9 +7,8 @@
name ffmpeg-devel
conflicts ffmpeg
-version 20111104
-revision 2
-set git_branch 38a444e05dd980af321211b1584421fb28b67faa
+version 20120317
+set git_branch 69174fad736e4ced0010a25e0fde5389ba9c77f0
license GPL-2+
categories multimedia
maintainers devans openmaintainer
@@ -77,10 +76,10 @@
error "git branch hash must be at least 7 characters long."
}
-checksums rmd160 2b5f175b9681a3456d3c2081a2b89b7b3918732d
+checksums sha1 2e378ef1c33d29b2706a7aae6db822e87a253f46 \
+ rmd160 7bb425a59870b78c2f68536d9340927579114534 \
+ sha256 c2371f02387ff604f08e6aaeda048886251547538a598778b10cc9afb1dd6159
-patchfiles patch-configure.diff
-
build.cmd ${prefix}/bin/gmake
build.env-append V=1
@@ -90,17 +89,10 @@
#
minimum_xcodeversions {9 3.1}
-# Under some conditions, llvm-gcc-4.2 drops some "unused" code even though it is used
-# fixed in llvm-gcc trunk, but not in Apple's shipped llvm-gccs.
-#
-# similarly clang fails to build on i386 platforms
+# Under some conditions, llvm-gcc-4.2 drops some "unused" code even though it is used.
+# This is fixed in llvm-gcc trunk, but not in Apple's shipped llvm-gccs.
if {${configure.compiler} == "llvm-gcc-4.2"} {
- configure.compiler gcc-4.2
-} elseif {${configure.compiler} == "clang"} {
- depends_build-append port:apple-gcc42
- configure.compiler apple-gcc-4.2
- # base (as of 2.0.3) doesn't set cxx for apple-gcc-4.2
- configure.cxx ${prefix}/bin/g++-apple-4.2
+ configure.compiler clang
}
configure.cflags-append -DHAVE_LRINTF ${configure.cppflags}
@@ -144,6 +136,12 @@
}
}
+platform darwin 8 {
+ post-patch {
+ reinplace "s:,-compatibility_version,$\(LIBMAJOR\)::" ${worksrcpath}/configure
+ }
+}
+
configure.universal_args-delete --disable-dependency-tracking
if {[variant_isset universal]} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120317/c670a55f/attachment.html>
More information about the macports-changes
mailing list