aboutsummaryrefslogtreecommitdiff
path: root/multimedia/x264-devel
diff options
context:
space:
mode:
authorMichael Johnson <ahze@FreeBSD.org>2005-04-22 14:18:03 +0000
committerMichael Johnson <ahze@FreeBSD.org>2005-04-22 14:18:03 +0000
commit4f46ec87383490e9c076b1b3ee7578ba20db90c4 (patch)
tree0096f119e0ebcb423ee2b44892652840c340d962 /multimedia/x264-devel
parente1c43ee97b6648987eb520a73a32b8e19e74d545 (diff)
downloadports-4f46ec87383490e9c076b1b3ee7578ba20db90c4.tar.gz
ports-4f46ec87383490e9c076b1b3ee7578ba20db90c4.zip
Notes
Diffstat (limited to 'multimedia/x264-devel')
-rw-r--r--multimedia/x264-devel/files/patch-Makefile2
-rw-r--r--multimedia/x264-devel/files/patch-configure15
2 files changed, 14 insertions, 3 deletions
diff --git a/multimedia/x264-devel/files/patch-Makefile b/multimedia/x264-devel/files/patch-Makefile
index 05eb5a7cbbef..7bd7bf9409b6 100644
--- a/multimedia/x264-devel/files/patch-Makefile
+++ b/multimedia/x264-devel/files/patch-Makefile
@@ -38,7 +38,7 @@
+ $(CC) -o $@ x264.o $(SHARED_LIB_VER) $(LDFLAGS)
+
+$(SHARED_LIB_VER): $(OBJS) libx264.a
-+ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHARED_LIB_VER) -o $(SHARED_LIB_VER) $(OBJS) $(OBJASM) -lm
++ $(CC) $(CFLAGS) -shared -Wl,-soname,$(SHARED_LIB_VER) -o $(SHARED_LIB_VER) $(OBJS) $(OBJASM) $(LDFLAGS)
x264vfw.dll: libx264.a $(wildcard vfw/*.c vfw/*.h)
make -C vfw/build/cygwin
diff --git a/multimedia/x264-devel/files/patch-configure b/multimedia/x264-devel/files/patch-configure
index a45657d39c73..52e8e621795f 100644
--- a/multimedia/x264-devel/files/patch-configure
+++ b/multimedia/x264-devel/files/patch-configure
@@ -1,5 +1,5 @@
---- configure.orig Thu Apr 21 08:03:47 2005
-+++ configure Thu Apr 21 08:08:16 2005
+--- configure.orig Thu Apr 21 11:04:21 2005
++++ configure Fri Apr 22 16:01:23 2005
@@ -22,8 +22,8 @@
debug="no"
vfw="no"
@@ -20,3 +20,14 @@
ARCH="X86_64"
CFLAGS="$CFLAGS -DHAVE_MMXEXT -DHAVE_SSE2"
AS="yasm"
+@@ -89,6 +89,10 @@
+ else
+ CFLAGS="$CFLAGS -maltivec -mabi=altivec"
+ fi
++ ;;
++ "Sparc64" | sparc64)
++ ARCH="SPARC64"
++ CFLAGS="$CFLAGS"
+ ;;
+ *)
+ echo "Unknown platform $UNAMEM, edit the configure"