aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2006-10-08 01:12:14 +0800
committerkris <kris@FreeBSD.org>2006-10-08 01:12:14 +0800
commitbd6af0e9e659bddf21530b9ceb9f4a195f532e2c (patch)
tree3c5ab189940492684e427225cb13e3323d85db05 /multimedia
parent05dae8787158f937cdae8d0269d9aeb228db3988 (diff)
downloadfreebsd-ports-gnome-bd6af0e9e659bddf21530b9ceb9f4a195f532e2c.tar.gz
freebsd-ports-gnome-bd6af0e9e659bddf21530b9ceb9f4a195f532e2c.tar.zst
freebsd-ports-gnome-bd6af0e9e659bddf21530b9ceb9f4a195f532e2c.zip
* Fix build with SDL
* Fix build on amd64 Pointy hat to: lioux
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ffmpeg-devel/Makefile6
-rw-r--r--multimedia/ffmpeg-devel/files/patch-configure13
2 files changed, 14 insertions, 5 deletions
diff --git a/multimedia/ffmpeg-devel/Makefile b/multimedia/ffmpeg-devel/Makefile
index b7ff5646c436..2d8274fe9326 100644
--- a/multimedia/ffmpeg-devel/Makefile
+++ b/multimedia/ffmpeg-devel/Makefile
@@ -85,7 +85,7 @@ LIB_FILES= libavcodec/libavcodec.a \
.include <bsd.port.pre.mk>
-.if ${ARCH} == "ia64" || ${ARCH} == "amd64"
+.if ${ARCH} == "ia64"
BROKEN= Does not compile on ${ARCH}
.endif
@@ -547,7 +547,7 @@ post-patch:
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
@${FIND} ${WRKSRC} -type f | \
${XARGS} -n 10 ${REINPLACE_CMD} -E \
- -e 's|#include <SDL|#include <SDL11/SDL|'
+ -e 's|#include <SDL|#include <SDL/SDL|'
.endif
.ifndef(WITHOUT_POSTPROCESS)
@${LN} -sf libpostproc.so \
@@ -570,7 +570,7 @@ post-configure:
.endif
.ifdef(WITH_DTS)
@${REINPLACE_CMD} -E \
- -e 's|-ldts|${LOCALBASE}/lib/libdts.a|' \
+ -e 's|-ldts|${LOCALBASE}/lib/libdts_pic.a|' \
-e 's|(-lx264)|-L${LOCALBASE}/lib \1|' \
${WRKSRC}/config.mak \
${WRKSRC}/libavcodec/Makefile
diff --git a/multimedia/ffmpeg-devel/files/patch-configure b/multimedia/ffmpeg-devel/files/patch-configure
index cf8e48111ee5..55f22248f1c5 100644
--- a/multimedia/ffmpeg-devel/files/patch-configure
+++ b/multimedia/ffmpeg-devel/files/patch-configure
@@ -1,5 +1,14 @@
---- configure.orig Sun Mar 19 03:31:32 2006
-+++ configure Thu Mar 23 15:15:34 2006
+--- configure.orig Sun Mar 19 01:31:55 2006
++++ configure Thu Sep 28 20:27:49 2006
+@@ -138,7 +138,7 @@
+ cpu="x86"
+ ;;
+ x86_64|amd64)
+- cpu="x86"
++ cpu="x86_64"
+ canon_arch="`cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
+ if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then
+ if [ -z "`echo $CFLAGS | grep -- -m32`" ]; then
@@ -1107,6 +1107,8 @@
builtin_vector=no
if $cc -msse -o $TMPO $TMPC 2> /dev/null ; then