Here is what I have started with towards updating libvpx but I'm looking for
some assistance with trying to figure out where/why the build is failing
trying to call this libvpx.so target.


Index: Makefile
===================================================================
RCS file: /home/cvs/ports/multimedia/libvpx/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    17 Mar 2011 16:54:16 -0000      1.7
+++ Makefile    30 Jan 2012 02:10:24 -0000
@@ -2,14 +2,14 @@
 
 COMMENT=       Google VP8 video codec
 
-V=             0.9.6
+V=             1.0.0
 DISTNAME=      libvpx-v${V}
 PKGNAME=       libvpx-${V}
 CATEGORIES=    multimedia
 MASTER_SITES=  http://webm.googlecode.com/files/
 EXTRACT_SUFX=  .tar.bz2
 
-SHARED_LIBS=   vpx     2.0
+SHARED_LIBS=   vpx     3.0
 
 HOMEPAGE=      http://www.webmproject.org/
 
@@ -20,6 +20,7 @@ PERMIT_PACKAGE_CDROM= Yes
 PERMIT_PACKAGE_FTP=    Yes
 PERMIT_DISTFILES_CDROM=        Yes
 PERMIT_DISTFILES_FTP=  Yes
+
 WANTLIB=       c m pthread
 
 BUILD_DEPENDS+=        shells/bash
Index: distinfo
===================================================================
RCS file: /home/cvs/ports/multimedia/libvpx/distinfo,v
retrieving revision 1.3
diff -u -p -r1.3 distinfo
--- distinfo    17 Mar 2011 16:54:16 -0000      1.3
+++ distinfo    30 Jan 2012 02:10:39 -0000
@@ -1,5 +1,5 @@
-MD5 (libvpx-v0.9.6.tar.bz2) = OD8/B6dgmWgqu0P3m2krcg==
-RMD160 (libvpx-v0.9.6.tar.bz2) = uFA4uS2RGymzuRLD1xxg4T+JpVE=
-SHA1 (libvpx-v0.9.6.tar.bz2) = o1Ir0rc9Ujgbp2fe0cv0dg6cxvg=
-SHA256 (libvpx-v0.9.6.tar.bz2) = KL2KjvIW+1cJEvDTeGaAUdmWgb8Tc1tZ5ooSrXnyqnM=
-SIZE (libvpx-v0.9.6.tar.bz2) = 1230418
+MD5 (libvpx-v1.0.0.tar.bz2) = 2Ye1FAQS7dN9LGsQwprUhA==
+RMD160 (libvpx-v1.0.0.tar.bz2) = LuWi5/TLLxJsbQ2aNuhjZFX0KRU=
+SHA1 (libvpx-v1.0.0.tar.bz2) = KRnhEHT+9y/GHvGnUWAFD/qtYHQ=
+SHA256 (libvpx-v1.0.0.tar.bz2) = B87bChmkTm2B119S7qhk9Z7xDGxyXLhgQxvsZkHq/iE=
+SIZE (libvpx-v1.0.0.tar.bz2) = 1641411
Index: patches/patch-build_make_Makefile
===================================================================
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-build_make_Makefile,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 patch-build_make_Makefile
--- patches/patch-build_make_Makefile   4 Oct 2010 23:56:16 -0000       1.1.1.1
+++ patches/patch-build_make_Makefile   30 Jan 2012 02:13:26 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-build_make_Makefile,v 1.1.1.1 2010/10/04 23:56:16 ckuethe Exp $
---- build/make/Makefile.orig   Thu Sep  2 14:56:47 2010
-+++ build/make/Makefile        Sat Sep 25 16:48:26 2010
-@@ -222,8 +222,7 @@ define so_template
+--- build/make/Makefile.orig   Fri Jan 27 13:36:39 2012
++++ build/make/Makefile        Sun Jan 29 21:11:03 2012
+@@ -247,8 +247,7 @@ define so_template
  # This needs further abstraction for dealing with non-GNU linkers.
  $(1):
        $(if $(quiet),@echo "    [LD] $$@")
@@ -11,7 +11,7 @@ $OpenBSD: patch-build_make_Makefile,v 1.
              -Wl,--version-script,$$(SO_VERSION_SCRIPT) -o $$@ \
              $$(filter %.o,$$?) $$(extralibs)
  endef
-@@ -291,7 +290,7 @@ LIBS=$(call enabled,LIBS)
+@@ -316,7 +315,7 @@ LIBS=$(call enabled,LIBS)
  .libs: $(LIBS)
        @touch $@
  $(foreach lib,$(filter %_g.a,$(LIBS)),$(eval $(call archive_template,$(lib))))
Index: patches/patch-build_make_configure_sh
===================================================================
RCS file: 
/home/cvs/ports/multimedia/libvpx/patches/patch-build_make_configure_sh,v
retrieving revision 1.3
diff -u -p -r1.3 patch-build_make_configure_sh
--- patches/patch-build_make_configure_sh       17 Mar 2011 16:54:16 -0000      
1.3
+++ patches/patch-build_make_configure_sh       30 Jan 2012 02:13:24 -0000
@@ -1,25 +1,16 @@
 $OpenBSD: patch-build_make_configure_sh,v 1.3 2011/03/17 16:54:16 edd Exp $
---- build/make/configure.sh.orig       Fri Mar  4 15:40:37 2011
-+++ build/make/configure.sh    Tue Mar  8 21:12:29 2011
+--- build/make/configure.sh.orig       Fri Jan 27 13:36:39 2012
++++ build/make/configure.sh    Sun Jan 29 21:13:12 2012
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!${BASH}
  ##
  ##  configure.sh
  ##
-@@ -880,8 +880,6 @@ process_common_toolchain() {
-                 esac
-                 ;;
-             gcc*)
--                add_cflags  -m${bits}
--                add_ldflags -m${bits}
-                 link_with_cc=gcc
-                 tune_cflags="-march="
-             setup_gnu_toolchain
-@@ -975,7 +973,7 @@ EOF
-     if enabled multithread; then
+@@ -1019,7 +1019,7 @@ EOF
          case ${toolchain} in
              *-win*);;
+             *-android-gcc);;
 -            *) check_header pthread.h && add_extralibs -lpthread
 +            *) check_header pthread.h && add_extralibs -pthread
          esac
Index: patches/patch-configure
===================================================================
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-configure,v
retrieving revision 1.5
diff -u -p -r1.5 patch-configure
--- patches/patch-configure     17 Mar 2011 16:54:16 -0000      1.5
+++ patches/patch-configure     30 Jan 2012 02:13:24 -0000
@@ -1,13 +1,13 @@
 $OpenBSD: patch-configure,v 1.5 2011/03/17 16:54:16 edd Exp $
---- configure.orig     Fri Mar  4 15:40:37 2011
-+++ configure  Tue Mar  8 21:12:29 2011
+--- configure.orig     Fri Jan 27 13:36:39 2012
++++ configure  Sun Jan 29 21:11:03 2012
 @@ -1,4 +1,4 @@
 -#!/bin/bash
 +#!${BASH}
  ##
  ##  configure
  ##
-@@ -100,6 +100,7 @@ all_platforms="${all_platforms} ppc32-linux-gcc"
+@@ -101,6 +101,7 @@ all_platforms="${all_platforms} ppc32-linux-gcc"
  all_platforms="${all_platforms} ppc64-darwin8-gcc"
  all_platforms="${all_platforms} ppc64-darwin9-gcc"
  all_platforms="${all_platforms} ppc64-linux-gcc"
@@ -15,7 +15,7 @@ $OpenBSD: patch-configure,v 1.5 2011/03/
  all_platforms="${all_platforms} sparc-solaris-gcc"
  all_platforms="${all_platforms} x86-darwin8-gcc"
  all_platforms="${all_platforms} x86-darwin8-icc"
-@@ -132,19 +133,6 @@ for t in ${all_targets}; do
+@@ -136,19 +137,6 @@ for t in ${all_targets}; do
      [ -f ${source_path}/${t}.mk ] && enable ${t}
  done
  
@@ -35,7 +35,7 @@ $OpenBSD: patch-configure,v 1.5 2011/03/
  # install everything except the sources, by default. sources will have
  # to be enabled when doing dist builds, since that's no longer a common
  # case.
-@@ -416,12 +404,6 @@ EOF
+@@ -433,12 +421,6 @@ EOF
  }
  
  process_detect() {
Index: patches/patch-libs_mk
===================================================================
RCS file: /home/cvs/ports/multimedia/libvpx/patches/patch-libs_mk,v
retrieving revision 1.3
diff -u -p -r1.3 patch-libs_mk
--- patches/patch-libs_mk       17 Mar 2011 16:54:16 -0000      1.3
+++ patches/patch-libs_mk       28 Oct 2011 13:28:04 -0000
@@ -1,15 +1,17 @@
 $OpenBSD: patch-libs_mk,v 1.3 2011/03/17 16:54:16 edd Exp $
---- libs.mk.orig       Fri Mar  4 15:40:39 2011
-+++ libs.mk    Tue Mar  8 21:12:29 2011
-@@ -157,15 +157,11 @@ LIBS-$(BUILD_LIBVPX) += $(BUILD_PFX)libvpx.a $(BUILD_P
+--- libs.mk.orig       Mon Aug 15 17:02:45 2011
++++ libs.mk    Fri Oct 28 09:27:40 2011
+@@ -192,16 +192,11 @@ LIBS-$(if $(BUILD_LIBVPX),$(CONFIG_STATIC)) += $(BUILD
  $(BUILD_PFX)libvpx_g.a: $(LIBVPX_OBJS)
  
  BUILD_LIBVPX_SO         := $(if $(BUILD_LIBVPX),$(CONFIG_SHARED))
 -LIBVPX_SO               := 
libvpx.so.$(VERSION_MAJOR).$(VERSION_MINOR).$(VERSION_PATCH)
+-LIBS-$(BUILD_LIBVPX_SO) += $(BUILD_PFX)$(LIBVPX_SO)\
+-                           $(notdir $(LIBVPX_SO_SYMLINKS))
 +LIBVPX_SO               := libvpx.so.$(LIBVPX_VERSION)
- LIBS-$(BUILD_LIBVPX_SO) += $(BUILD_PFX)$(LIBVPX_SO)
++LIBS-$(BUILD_LIBVPX_SO) += $(BUILD_PFX)$(LIBVPX_SO)
  $(BUILD_PFX)$(LIBVPX_SO): $(LIBVPX_OBJS) libvpx.ver
- $(BUILD_PFX)$(LIBVPX_SO): extralibs += -lm -pthread
+ $(BUILD_PFX)$(LIBVPX_SO): extralibs += -lm
 -$(BUILD_PFX)$(LIBVPX_SO): SONAME = libvpx.so.$(VERSION_MAJOR)
  $(BUILD_PFX)$(LIBVPX_SO): SO_VERSION_SCRIPT = libvpx.ver
 -LIBVPX_SO_SYMLINKS      := $(addprefix $(LIBSUBDIR)/, \
@@ -18,11 +20,18 @@ $OpenBSD: patch-libs_mk,v 1.3 2011/03/17
  
  libvpx.ver: $(call enabled,CODEC_EXPORTS)
        @echo "    [CREATE] $@"
-@@ -178,7 +174,6 @@ $(addprefix $(DIST_DIR)/,$(LIBVPX_SO_SYMLINKS)):
-       @echo "    [LN]      $@"
-       $(qexec)ln -sf $(LIBVPX_SO) $@
+@@ -216,14 +211,6 @@ $(1): $(2)
+       $(qexec)ln -sf $(LIBVPX_SO) $$@
+ endef
  
+-$(eval $(call libvpx_symlink_template,\
+-    $(addprefix $(BUILD_PFX),$(notdir $(LIBVPX_SO_SYMLINKS))),\
+-    $(BUILD_PFX)$(LIBVPX_SO)))
+-$(eval $(call libvpx_symlink_template,\
+-    $(addprefix $(DIST_DIR)/,$(LIBVPX_SO_SYMLINKS)),\
+-    $(DIST_DIR)/$(LIBSUBDIR)/$(LIBVPX_SO)))
+-
 -INSTALL-LIBS-$(CONFIG_SHARED) += $(LIBVPX_SO_SYMLINKS)
  INSTALL-LIBS-$(CONFIG_SHARED) += $(LIBSUBDIR)/$(LIBVPX_SO)
- endif
  
+ LIBS-$(BUILD_LIBVPX) += vpx.pc

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

Reply via email to