Subject: [patch] multimedia/libmp4v2 and OVERRIDE_DIRDEPTH
To: None <pkgsrc-users@netbsd.org>
From: Rumko <rumcic@gmail.com>
List: pkgsrc-users
Date: 11/27/2007 20:14:25
--nextPart1346902.Gxv6lVRzih
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8Bit

OVERRIDE_DIRDEPTH is by default set to 2, but libmp4v2 has config.{guess,sub}
not only in ${WRKSRC} but also in ${WRKSRC}/common/video/iso-mpeg4/. That's
why this patch is needed (for now, only found this package that needs this so
there should be no need to change the default?).

--nextPart1346902.Gxv6lVRzih
Content-Type: text/x-diff; name="neki"
Content-Transfer-Encoding: 8Bit
Content-Disposition: attachment; filename="neki"

--- Makefile.orig	2007-11-27 20:11:07 +0100
+++ Makefile	2007-11-27 20:10:56 +0100
@@ -23,6 +23,9 @@
 # the "bootstrap" script checks too much, and isn't useful anyway
 #CONFIGURE_SCRIPT=	bootstrap
 
+# libmp4v2 has config.{guess,sub} also in ${WRKSRC}/common/video/iso-mpeg4/ so we need this
+OVERRIDE_DIRDEPTH=	3
+
 BUILD_DIRS=		lib/mp4v2
 INSTALL_DIRS+=		lib/mp4v2 doc/mp4v2
 


--nextPart1346902.Gxv6lVRzih--