Subject: Re: pkg/34655 (new pkg: opencv)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Takahiro Kambe <taca@back-street.net>
List: pkgsrc-bugs
Date: 11/10/2006 10:05:02
The following reply was made to PR pkg/34655; it has been noted by GNATS.

From: Takahiro Kambe <taca@back-street.net>
To: gnats-bugs@NetBSD.org, anthony.mallet@laas.fr
Cc: 
Subject: Re: pkg/34655 (new pkg: opencv)
Date: Fri, 10 Nov 2006 19:03:18 +0900 (JST)

 In message <20061110100004.E66F063B400@narn.NetBSD.org>
 	on Fri, 10 Nov 2006 10:00:04 +0000 (UTC),
 	Anthony Mallet <anthony.mallet@laas.fr> wrote:
 >  | Makefiles are created by configure scripts and configure scripts are
 >  | created by autoconf.  Yes, OpenCV-1.0.0 dosen't come with makefiles
 >  | but they come with configure script.  So, autoconf isn't required.
 >  
 >  D'oh. Sorry, I need more coffee this morning ...
 No problem.
 
 >  | As far as I tried, configure stage finish fine.  Do I miss any
 >  | configure scripts which are needed to generate by autoconf?
 >  
 >  No you're right, autoconf is not required at all ...
 Still I wonder that I miss something yet.
 
 Now, is this patch suitable to apply?
 
 -- 
 Takahiro Kambe <taca@back-street.net>
 
 
 Index: Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/graphics/opencv/Makefile,v
 retrieving revision 1.1.1.1
 diff -u -u -r1.1.1.1 Makefile
 --- Makefile	9 Nov 2006 05:13:41 -0000	1.1.1.1
 +++ Makefile	10 Nov 2006 10:01:41 -0000
 @@ -10,10 +10,9 @@
  COMMENT=		Library for computer vision problems
  
  USE_PKGLOCALEDIR=	yes
 -USE_TOOLS+=		gmake automake autoconf pkg-config
 +USE_TOOLS+=		gmake pkg-config
  USE_LANGUAGES=		c c++
  USE_LIBTOOL=		yes
 -AUTOMAKE_REQD=  	1.9
  INSTALLATION_DIRS+=	share/doc/opencv/papers share/doc/opencv/ref/pics \
  			share/opencv/haarcascades
  
 @@ -23,10 +22,6 @@
  CONFIGURE_ARGS+=--with-swig=no
  CONFIGURE_ARGS+=--with-python=no
  
 -pre-configure:
 -	cd ${WRKSRC};				\
 -	automake -a --foreign -i; autoconf
 -
  .include "../../x11/gtk2/buildlink3.mk"
  .include "../../graphics/png/buildlink3.mk"
  .include "../../graphics/jpeg/buildlink3.mk"