summaryrefslogtreecommitdiff
path: root/multimedia/x264-devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-07-10 13:40:40 +0000
committerjoerg <joerg@pkgsrc.org>2008-07-10 13:40:40 +0000
commit36adbde0fa9cd2fd21306f9ee87991cb3447e0c3 (patch)
treefa4df00c59056bda78913061b1c23a1bbaf06691 /multimedia/x264-devel
parent307c137b8b585b49c0674d2318e184d2e4aa8d5c (diff)
downloadpkgsrc-36adbde0fa9cd2fd21306f9ee87991cb3447e0c3.tar.gz
Fix build on Solaris: install -d must be called with only one directory.
Diffstat (limited to 'multimedia/x264-devel')
-rw-r--r--multimedia/x264-devel/distinfo4
-rw-r--r--multimedia/x264-devel/patches/patch-ab32
2 files changed, 20 insertions, 16 deletions
diff --git a/multimedia/x264-devel/distinfo b/multimedia/x264-devel/distinfo
index 2d32c56dc74..c8681ce9f36 100644
--- a/multimedia/x264-devel/distinfo
+++ b/multimedia/x264-devel/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.10 2008/04/09 18:33:37 tron Exp $
+$NetBSD: distinfo,v 1.11 2008/07/10 13:40:40 joerg Exp $
SHA1 (x264-snapshot-20071218-2245.tar.bz2) = b5bc182070e17a8470618bae776488514b67a96a
RMD160 (x264-snapshot-20071218-2245.tar.bz2) = 753ab79398bf5bb92b41656ef48ab57dcc63f347
Size (x264-snapshot-20071218-2245.tar.bz2) = 537622 bytes
SHA1 (patch-aa) = 78152d98fd8df5719dfc556286dec466c53299ba
-SHA1 (patch-ab) = 0233ca220383d5699327c92664d7eb7ead786e20
+SHA1 (patch-ab) = 1c38310140b0497dbc257758564dac9264abad54
diff --git a/multimedia/x264-devel/patches/patch-ab b/multimedia/x264-devel/patches/patch-ab
index 28dfc0c72dd..d34bb509eb1 100644
--- a/multimedia/x264-devel/patches/patch-ab
+++ b/multimedia/x264-devel/patches/patch-ab
@@ -1,8 +1,8 @@
-$NetBSD: patch-ab,v 1.7 2008/04/09 18:33:37 tron Exp $
+$NetBSD: patch-ab,v 1.8 2008/07/10 13:40:40 joerg Exp $
---- Makefile.orig 2007-12-18 21:45:04.000000000 +0000
-+++ Makefile 2008-03-31 17:09:28.000000000 +0100
-@@ -26,7 +26,7 @@
+--- Makefile.orig 2008-07-10 15:34:13.000000000 +0200
++++ Makefile
+@@ -26,7 +26,7 @@ ASMSRC = common/i386/dct-a.asm common/i
common/i386/mc-a2.asm common/i386/predict-a.asm \
common/i386/pixel-sse2.asm common/i386/quant-a.asm \
common/i386/deblock-a.asm
@@ -11,7 +11,7 @@ $NetBSD: patch-ab,v 1.7 2008/04/09 18:33:37 tron Exp $
ASFLAGS += -Icommon/i386/
endif
endif
-@@ -40,31 +40,31 @@
+@@ -40,7 +40,7 @@ ASMSRC = common/amd64/dct-a.asm common/
common/amd64/mc-a2.asm common/amd64/predict-a.asm \
common/amd64/pixel-sse2.asm common/amd64/quant-a.asm \
common/amd64/deblock-a.asm
@@ -20,10 +20,7 @@ $NetBSD: patch-ab,v 1.7 2008/04/09 18:33:37 tron Exp $
ASFLAGS += -Icommon/amd64
endif
endif
-
- # AltiVec optims
- ifeq ($(ARCH),PPC)
- ALTIVECSRC += common/ppc/mc.c common/ppc/pixel.c common/ppc/dct.c \
+@@ -51,20 +51,20 @@ ALTIVECSRC += common/ppc/mc.c common/ppc
common/ppc/quant.c common/ppc/deblock.c \
common/ppc/predict.c
SRCS += $(ALTIVECSRC)
@@ -47,7 +44,7 @@ $NetBSD: patch-ab,v 1.7 2008/04/09 18:33:37 tron Exp $
OBJCLI = $(SRCCLI:%.c=%.o)
DEP = depend
-@@ -73,15 +75,17 @@
+@@ -73,15 +73,17 @@ all: default
default: $(DEP) x264$(EXE)
@@ -70,7 +67,7 @@ $NetBSD: patch-ab,v 1.7 2008/04/09 18:33:37 tron Exp $
libx264gtk.a: muxers.o libx264.a
$(MAKE) -C gtk
-@@ -89,10 +93,10 @@
+@@ -89,10 +91,10 @@ libx264gtk.a: muxers.o libx264.a
checkasm: tools/checkasm.o libx264.a
$(CC) -o $@ $+ $(LDFLAGS)
@@ -85,9 +82,16 @@ $NetBSD: patch-ab,v 1.7 2008/04/09 18:33:37 tron Exp $
# delete local/anonymous symbols, so they don't show up in oprofile
-@ strip -x $@
-@@ -153,12 +157,9 @@
- install -d $(DESTDIR)$(bindir) $(DESTDIR)$(includedir)
- install -d $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig
+@@ -150,15 +152,14 @@ distclean: clean
+ $(MAKE) -C gtk distclean
+
+ install: x264 $(SONAME)
+- install -d $(DESTDIR)$(bindir) $(DESTDIR)$(includedir)
+- install -d $(DESTDIR)$(libdir) $(DESTDIR)$(libdir)/pkgconfig
++ install -d $(DESTDIR)$(bindir)
++ install -d $(DESTDIR)$(includedir)
++ install -d $(DESTDIR)$(libdir)
++ install -d $(DESTDIR)$(libdir)/pkgconfig
install -m 644 x264.h $(DESTDIR)$(includedir)
- install -m 644 libx264.a $(DESTDIR)$(libdir)
+ ${LIBTOOL} --mode=install install -m 644 libx264.la $(DESTDIR)$(libdir)