pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/x264-devel Fix build on Solaris: install -d...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5b2b1e4a5bf1
branches:  trunk
changeset: 544099:5b2b1e4a5bf1
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jul 10 13:40:40 2008 +0000

description:
Fix build on Solaris: install -d must be called with only one directory.

diffstat:

 multimedia/x264-devel/distinfo         |   4 ++--
 multimedia/x264-devel/patches/patch-ab |  32 ++++++++++++++++++--------------
 2 files changed, 20 insertions(+), 16 deletions(-)

diffs (88 lines):

diff -r edb540458174 -r 5b2b1e4a5bf1 multimedia/x264-devel/distinfo
--- a/multimedia/x264-devel/distinfo    Thu Jul 10 13:27:02 2008 +0000
+++ b/multimedia/x264-devel/distinfo    Thu Jul 10 13:40:40 2008 +0000
@@ -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 -r edb540458174 -r 5b2b1e4a5bf1 multimedia/x264-devel/patches/patch-ab
--- a/multimedia/x264-devel/patches/patch-ab    Thu Jul 10 13:27:02 2008 +0000
+++ b/multimedia/x264-devel/patches/patch-ab    Thu Jul 10 13:40:40 2008 +0000
@@ -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 @@
  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 @@
  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 @@
  OBJCLI = $(SRCCLI:%.c=%.o)
  DEP  = depend
  
-@@ -73,15 +75,17 @@
+@@ -73,15 +73,17 @@ all: default
  
  default: $(DEP) x264$(EXE)
  
@@ -70,7 +67,7 @@
  
  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 @@
  # 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)



Home | Main Index | Thread Index | Old Index