From leres@ee.lbl.gov  Sun Jul 29 04:52:47 2012
Return-Path: <leres@ee.lbl.gov>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BD50A106566C
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 29 Jul 2012 04:52:47 +0000 (UTC)
	(envelope-from leres@ee.lbl.gov)
Received: from fun.ee.lbl.gov (fun.ee.lbl.gov [IPv6:2620:83:8000:102::ca])
	by mx1.freebsd.org (Postfix) with ESMTP id A5D878FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 29 Jul 2012 04:52:47 +0000 (UTC)
Received: from ice.ee.lbl.gov (ice.ee.lbl.gov [131.243.2.213])
	(authenticated bits=0)
	by fun.ee.lbl.gov (8.14.5/8.14.5) with ESMTP id q6T4qlS7027321
	(version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO);
	Sat, 28 Jul 2012 21:52:47 -0700 (PDT)
Message-Id: <5014C19F.2060505@ee.lbl.gov>
Date: Sat, 28 Jul 2012 21:52:47 -0700
From: Craig Leres <leres@ee.lbl.gov>
To: FreeBSD-gnats-submit@freebsd.org
Cc: leres@ee.lbl.gov
Subject: [PATCH] devel/libftdi: upgrade to 0.20 and fix automake brokenness

>Number:         170241
>Category:       ports
>Synopsis:       [PATCH] devel/libftdi: upgrade to 0.20 and fix automake brokenness
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    stefan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 29 05:00:03 UTC 2012
>Closed-Date:    Wed Jun 19 16:50:17 UTC 2013
>Last-Modified:  Wed Jun 19 17:00:00 UTC 2013
>Originator:     Craig Leres
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
Lawrence Berkeley National Laboratory
>Environment:
 System: FreeBSD hot.ee.lbl.gov 8.2-RELEASE FreeBSD 8.2-RELEASE #13: Wed
 Jun 13 18:31:18 PDT 2012
 leres@hot.ee.lbl.gov:/usr/src/8.2-RELEASE/sys/amd64/compile/LBLIPV6  amd64
 
>Description:
 	libftdi fails to build after upgrading to automake-1.12.2.
 	I believe the problem is that autoreconf needs additional
 	flags to regenerate all required files.
 
 	While we're at it, update from 0.18 to 0.20.
 
>How-To-Repeat:
 	hot 1 % cat /var/db/ports/libftdi/options
 	# This file is auto-generated by 'make config'.
 	# Options for libftdi-0.18
 	_OPTIONS_READ=libftdi-0.18
 	_FILE_COMPLETE_OPTIONS_LIST= BOOST
 	OPTIONS_FILE_UNSET+=BOOST
 	hot 2 % cd /usr/ports/devel/libftdi && make
 	===>  Found saved configuration for libftdi-0.18
 	===>  Extracting for libftdi-0.18
 	[...]
 	make  all-recursive
 	Making all in src
 	/bin/sh ../libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I. 
 -I..      -O2 -pipe -I/usr/local/include -fno-strict-aliasing -MT 
 ftdi.lo -MD -MP -MF .deps/ftdi.Tpo -c -o ftdi.lo ftdi.c
 	mv -f .deps/ftdi.Tpo .deps/ftdi.Plo
 	mv: rename .deps/ftdi.Tpo to .deps/ftdi.Plo: No such file or directory
 	*** Error code 1
 
>Fix:
 	Add "--force --install" to the existing autoreconf run in
 	the pre-configure section of the makefile.
 
 	Note that files/patch-examples_serial_read.c needs to be
 	removed since 0.21 replaced examples/serial_read.c with
 	examples/serial_test.c (which already includes stdlib.h and
 	does not need to be patched).
 
 	Please see attached patches.
 
 --- patches.txt begins here ---
 --- Makefile.orig	2012-07-28 17:51:07.000000000 -0700
 +++ Makefile	2012-07-28 17:50:54.000000000 -0700
 @@ -6,7 +6,7 @@
   #
 
   PORTNAME=	libftdi
 -PORTVERSION=	0.18
 +PORTVERSION=	0.20
   CATEGORIES=	devel
   MASTER_SITES=	http://www.intra2net.com/en/developer/libftdi/download/
 
 @@ -47,7 +47,7 @@
   		${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
 
   pre-configure:
 -	@cd ${WRKSRC} && ${AUTORECONF}
 +	@cd ${WRKSRC} && ${AUTORECONF} --force --install
 
   post-install:
   .if !defined(NOPORTDOCS)
 --- distinfo.orig	2012-07-28 17:51:21.000000000 -0700
 +++ distinfo	2012-07-28 17:51:36.000000000 -0700
 @@ -1,2 +1,2 @@
 -SHA256 (libftdi-0.18.tar.gz) = 
 5b6f3c3ee51c6aa24d3b87135e01762cf68821d1c3599d87d349fea4ede74c62
 -SIZE (libftdi-0.18.tar.gz) = 398380
 +SHA256 (libftdi-0.20.tar.gz) = 
 3176d5b5986438f33f5208e690a8bfe90941be501cc0a72118ce3d338d4b838e
 +SIZE (libftdi-0.20.tar.gz) = 423570
 --- pkg-plist.orig	2011-06-12 06:55:44.000000000 -0700
 +++ pkg-plist	2012-07-28 17:54:15.000000000 -0700
 @@ -6,17 +6,17 @@
   bin/find_all
   %%BOOST%%bin/find_all_pp
   BIN/LIBFTdi-config
 -bin/serial_read
 +bin/serial_test
   bin/simple
   include/ftdi.h
   %%BOOST%%include/ftdi.hpp
   lib/libftdi.a
   lib/libftdi.la
   lib/libftdi.so
 -lib/libftdi.so.19
 +lib/libftdi.so.21
   %%BOOST%%lib/libftdipp.a
   %%BOOST%%lib/libftdipp.la
   %%BOOST%%lib/libftdipp.so
 -%%BOOST%%lib/libftdipp.so.19
 +%%BOOST%%lib/libftdipp.so.21
   libdata/pkgconfig/libftdi.pc
   %%BOOST%%libdata/pkgconfig/libftdipp.pc
 --- patches.txt ends here ---
>Release-Note:
>Audit-Trail:
Class-Changed-From-To: sw-bug->update 
Class-Changed-By: linimon 
Class-Changed-When: Mon Jul 30 02:12:26 UTC 2012 
Class-Changed-Why:  
recover from bogus formatting. 


Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jul 30 02:12:26 UTC 2012 
Responsible-Changed-Why:  

http://www.freebsd.org/cgi/query-pr.cgi?pr=170241 

From: Craig Leres <leres@ee.lbl.gov>
To: bug-followup@FreeBSD.org
Cc: leres@ee.lbl.gov
Subject: Re: ports/170241: [PATCH] devel/libftdi: upgrade to 0.20 and fix
 automake brokenness
Date: Sat, 11 Aug 2012 18:07:26 -0700

 This is a multi-part message in MIME format.
 --------------050503070108030308080402
 Content-Type: text/plain; charset=ISO-8859-1
 Content-Transfer-Encoding: 7bit
 
 Here's an updated patchset that converts to OptionsNG and adds an option
 to build/install the Python bindings.
 
 This still applies:
 >     Note that files/patch-examples_serial_read.c needs to be
 >     removed since 0.21 replaced examples/serial_read.c with
 >     examples/serial_test.c (which already includes stdlib.h and
 >     does not need to be patched).
 
 		Craig
 
 --------------050503070108030308080402
 Content-Type: text/plain; charset=us-ascii;
  name="patches.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patches.txt"
 
 --- Makefile.orig	2011-09-23 15:22:03.000000000 -0700
 +++ Makefile	2012-08-11 18:04:53.000000000 -0700
 @@ -6,14 +6,16 @@
  #
  
  PORTNAME=	libftdi
 -PORTVERSION=	0.18
 +PORTVERSION=	0.20
  CATEGORIES=	devel
  MASTER_SITES=	http://www.intra2net.com/en/developer/libftdi/download/
  
  MAINTAINER=	o.davydenko@gmail.com
  COMMENT=	A library (using libusb) to talk to FTDI chips
  
 -OPTIONS=	BOOST	"Build with boost"	off
 +OPTIONS_DEFINE+=	BOOST PYTHON
 +BOOST_DESC=		Build with boost
 +PYTHON_DESC=		Python bindings
  
  USE_AUTOTOOLS=		autoconf libtool automake
  GNU_CONFIGURE=		yes
 @@ -23,9 +25,9 @@
  
  PORTDOCS=		COPYING.LIB ChangeLog README
  
 -.include <bsd.port.pre.mk>
 +.include <bsd.port.options.mk>
  
 -.if defined(WITH_BOOST)
 +.if ${PORT_OPTIONS:MBOOST}
  PLIST_SUB+=		BOOST=""
  CONFIGURE_ARGS+=	--with-boost
  CXXFLAGS+=		"-I${LOCALBASE}/include"
 @@ -35,6 +37,14 @@
  CONFIGURE_ARGS+=	--without-boost
  .endif
  
 +.if ${PORT_OPTIONS:MPYTHON}
 +PLIST_SUB+=		PYTHON=""
 +CONFIGURE_ARGS+=	--enable-python-binding
 +USE_PYTHON=		yes
 +.else
 +PLIST_SUB+=		PYTHON="@comment "
 +.endif
 +
  .if ${OSVERSION} < 800069
  LIB_DEPENDS+=	usb-0.1:${PORTSDIR}/devel/libusb
  .else
 @@ -47,7 +57,7 @@
  		${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
  
  pre-configure:
 -	@cd ${WRKSRC} && ${AUTORECONF}
 +	cd ${WRKSRC} && ${AUTORECONF} --force --install
  
  post-install:
  .if !defined(NOPORTDOCS)
 @@ -55,4 +65,4 @@
  	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
  .endif
  
 -.include <bsd.port.post.mk>
 +.include <bsd.port.mk>
 --- distinfo.orig	2011-03-05 07:55:45.000000000 -0800
 +++ distinfo	2012-08-11 18:01:08.000000000 -0700
 @@ -1,2 +1,2 @@
 -SHA256 (libftdi-0.18.tar.gz) = 5b6f3c3ee51c6aa24d3b87135e01762cf68821d1c3599d87d349fea4ede74c62
 -SIZE (libftdi-0.18.tar.gz) = 398380
 +SHA256 (libftdi-0.20.tar.gz) = 3176d5b5986438f33f5208e690a8bfe90941be501cc0a72118ce3d338d4b838e
 +SIZE (libftdi-0.20.tar.gz) = 423570
 --- pkg-plist.orig	2011-06-12 06:55:44.000000000 -0700
 +++ pkg-plist	2012-08-11 18:01:08.000000000 -0700
 @@ -4,19 +4,23 @@
  bin/bitbang_cbus
  bin/bitbang_ft2232
  bin/find_all
 +bin/serial_test
  %%BOOST%%bin/find_all_pp
  bin/libftdi-config
 -bin/serial_read
  bin/simple
  include/ftdi.h
  %%BOOST%%include/ftdi.hpp
  lib/libftdi.a
  lib/libftdi.la
  lib/libftdi.so
 -lib/libftdi.so.19
 +lib/libftdi.so.21
  %%BOOST%%lib/libftdipp.a
  %%BOOST%%lib/libftdipp.la
  %%BOOST%%lib/libftdipp.so
  %%BOOST%%lib/libftdipp.so.19
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/_ftdi.so
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.py
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.pyc
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/libftdi-0.20-py2.7.egg-info
  libdata/pkgconfig/libftdi.pc
  %%BOOST%%libdata/pkgconfig/libftdipp.pc
 
 --------------050503070108030308080402--

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/170241: commit references a PR
Date: Tue, 11 Sep 2012 12:17:43 +0000 (UTC)

 Author: cperciva
 Date: Tue Sep 11 12:17:29 2012
 New Revision: 304091
 URL: http://svn.freebsd.org/changeset/ports/304091
 
 Log:
   Fix build problems with new automake.
   
   PR:		ports/170241 (partial - upgrade to new version not done)
   Submitted by:	Craig Leres
   Approved by:	maintainer timeout
 
 Modified:
   head/devel/libftdi/Makefile
 
 Modified: head/devel/libftdi/Makefile
 ==============================================================================
 --- head/devel/libftdi/Makefile	Tue Sep 11 12:05:13 2012	(r304090)
 +++ head/devel/libftdi/Makefile	Tue Sep 11 12:17:29 2012	(r304091)
 @@ -47,7 +47,7 @@ post-patch:
  		${WRKSRC}/Makefile.am ${WRKSRC}/Makefile.in
  
  pre-configure:
 -	@cd ${WRKSRC} && ${AUTORECONF}
 +	@cd ${WRKSRC} && ${AUTORECONF} --force --install
  
  post-install:
  .if !defined(NOPORTDOCS)
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->feedback 
State-Changed-By: stefan 
State-Changed-When: Wed May 1 10:00:08 UTC 2013 
State-Changed-Why:  
Awaiting feedback. 


Responsible-Changed-From-To: freebsd-ports-bugs->stefan 
Responsible-Changed-By: stefan 
Responsible-Changed-When: Wed May 1 10:00:08 UTC 2013 
Responsible-Changed-Why:  
Track this while waiting for feedback. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170241 

From: Stefan Walter <stefan@freebsd.org>
To: Craig Leres <leres@ee.lbl.gov>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>,
	Olexandr Davydenko <o.davydenko@gmail.com>, zoon01@nas4free.org
Subject: Re: ports/170241: [PATCH] devel/libftdi: upgrade to 0.20 and fix
 automake brokenness
Date: Wed, 1 May 2013 11:59:55 +0200

 Hello Craig,
 
 unfortunately, there has not been any activity with your problem report
 for devel/libftdi (see [1]) for a while. The port's current maintainer
 does not seem to be actively maintaining the port any more. In the
 meantime, the port has been modified multiple times, so the patch you sent
 does not apply any more. Could you send a new patch for the update? In
 case there is no reaction from the port's maintainer, you could also take
 over maintainership of the port if you are interested.
 
 Please also see for another PR that intended to update the port to 0.20.
 (The submitter of that PR is cc'd.)
 
 Best regards,
 Stefan
 
 [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170241
 [2]: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170537
State-Changed-From-To: feedback->closed 
State-Changed-By: stefan 
State-Changed-When: Sun May 5 09:48:56 UTC 2013 
State-Changed-Why:  
Port has been updated. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170241 

From: Stefan Walter <stefan@FreeBSD.org>
To: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Cc:  
Subject: Re: ports/170241: [PATCH] devel/libftdi: upgrade to 0.20 and fix
 automake brokenness
Date: Mon, 6 May 2013 19:07:15 +0200

 --PEIAKu/WMn1b1Hv9
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 For the record - feedback received:
 
 Craig Leres, 06.05.13, 02:18h CEST:
 
 > Looks good except pkg-plist is missing entries the files installed when
 > PYTHON is enabled (see attached patch).
 > 
 > 		Craig
 
 --PEIAKu/WMn1b1Hv9
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="patch.txt"
 
 --- Makefile.orig	2013-05-05 17:15:29.000000000 -0700
 +++ Makefile	2013-05-05 17:15:44.000000000 -0700
 @@ -33,7 +33,7 @@
  CONFIGURE_ARGS+=	--without-boost
  .endif
  .if ${PORT_OPTIONS:MPYTHON}
 -PLIST_SUB+=		PYTHON=""
 +PLIST_SUB+=		PYTHON="" PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}
  CONFIGURE_ARGS+=	--enable-python-binding
  USE_PYTHON=		yes
  .else
 --- pkg-plist.orig	2013-05-05 16:56:54.000000000 -0700
 +++ pkg-plist	2013-05-05 17:14:38.000000000 -0700
 @@ -10,6 +10,10 @@
  bin/simple
  include/ftdi.h
  %%BOOST%%include/ftdi.hpp
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/_ftdi.so
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.py
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.pyc
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/%%PYDISTUTILS_EGGINFO%%
  lib/libftdi.a
  lib/libftdi.la
  lib/libftdi.so
 
 --PEIAKu/WMn1b1Hv9--
State-Changed-From-To: closed->open 
State-Changed-By: stefan 
State-Changed-When: Mon May 6 17:18:52 UTC 2013 
State-Changed-Why:  
Re-open, as there seems to be an issue with the plist. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170241 

From: Stefan Walter <stefan@FreeBSD.org>
To: Craig Leres <leres@ee.lbl.gov>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/170241: [PATCH] devel/libftdi: upgrade to 0.20 and fix
 automake brokenness
Date: Mon, 6 May 2013 19:18:27 +0200

 Craig Leres, 06.05.13, 02:18h CEST:
 
 > Looks good except pkg-plist is missing entries the files installed when
 > PYTHON is enabled (see attached patch).
 > 
 > 		Craig
 
 > --- Makefile.orig	2013-05-05 17:15:29.000000000 -0700
 > +++ Makefile	2013-05-05 17:15:44.000000000 -0700
 > @@ -33,7 +33,7 @@
 >  CONFIGURE_ARGS+=	--without-boost
 >  .endif
 >  .if ${PORT_OPTIONS:MPYTHON}
 > -PLIST_SUB+=		PYTHON=""
 > +PLIST_SUB+=		PYTHON="" PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}
 >  CONFIGURE_ARGS+=	--enable-python-binding
 >  USE_PYTHON=		yes
 >  .else
 > --- pkg-plist.orig	2013-05-05 16:56:54.000000000 -0700
 > +++ pkg-plist	2013-05-05 17:14:38.000000000 -0700
 > @@ -10,6 +10,10 @@
 >  bin/simple
 >  include/ftdi.h
 >  %%BOOST%%include/ftdi.hpp
 > +%%PYTHON%%%%PYTHON_SITELIBDIR%%/_ftdi.so
 > +%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.py
 > +%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.pyc
 > +%%PYTHON%%%%PYTHON_SITELIBDIR%%/%%PYDISTUTILS_EGGINFO%%
 >  lib/libftdi.a
 >  lib/libftdi.la
 >  lib/libftdi.so
 
 Hm...thanks for the hint - interestingly, those four files don't seem to
 be installed with me, though. I guess I have to take a closer look at that
 when I get to it...
 
 Best regards,
 Stefan

From: Stefan Walter <stefan@FreeBSD.org>
To: Craig Leres <leres@ee.lbl.gov>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/170241: [PATCH] devel/libftdi: upgrade to 0.20 and fix
 automake brokenness
Date: Mon, 6 May 2013 22:33:13 +0200

 Craig Leres, 06.05.13, 21:21h CEST:
 
 > On 05/06/13 10:18, Stefan Walter wrote:
 > > Hm...thanks for the hint - interestingly, those four files don't seem to
 > > be installed with me, though. I guess I have to take a closer look at that
 > > when I get to it...
 > 
 > Turn on the PYTHON option, remove your work directory and rebuild/install.
 > 
 > 		Craig
 
 Although I didn't mention it, that's exactly what I did, of course. This
 part of the configure step looks related:
 
 ---snip---
 checking if we can build the C++ wrapper... yes
 checking for doxygen... /usr/local/bin/doxygen
 checking for swig... no
 checking whether /usr/local/bin/python2.7 version is >= 2.0... yes
 checking for /usr/local/bin/python2.7 version... 2.7
 checking for /usr/local/bin/python2.7 platform... freebsd9
 checking for /usr/local/bin/python2.7 script directory... ${prefix}/lib/python2.7/site-packages
 checking for /usr/local/bin/python2.7 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
 checking /usr/local/include/python2.7/Python.h usability... yes
 checking /usr/local/include/python2.7/Python.h presence... yes
 checking for /usr/local/include/python2.7/Python.h... yes
 configure: WARNING: Python binding for libftdi cannot be built. Ensure that SWIG and Python packages are available.
 ---snip---
 
 I guess the port is missing a dependency, at least for SWIG.
 
 Best regards,
 Stefan

From: Stefan Walter <stefan@FreeBSD.org>
To: Craig Leres <leres@ee.lbl.gov>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/170241: [PATCH] devel/libftdi: upgrade to 0.20 and fix
 automake brokenness
Date: Sun, 12 May 2013 19:12:30 +0200

 Hi Craig,
 
 Craig Leres, 07.05.13, 00:14h CEST:
 
 > On 05/06/13 13:33, Stefan Walter wrote:
 > > I guess the port is missing a dependency, at least for SWIG.
 > 
 > Oh right, I have a few other open PRs for that problem with other ports...
 
 are you working on an updated patch to fix this issue?
 
 Best regards,
 Stefan

From: Stefan Walter <stefan@FreeBSD.org>
To: Craig Leres <leres@ee.lbl.gov>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/170241: [PATCH] devel/libftdi: upgrade to 0.20 and fix
 automake brokenness
Date: Tue, 18 Jun 2013 19:01:34 +0200

 --HcAYCG3uE/tztfnV
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Hi Craig,
 
 Craig Leres, 12.05.13, 22:51h CEST:
 
 > On 5/12/2013 1:12 PM, Stefan Walter wrote:
 > > are you working on an updated patch to fix this issue?
 > 
 > I actually assumed you were going to but I can easily do this. But I'm
 > out of town until the 27th on vacation so it'll be a little while before
 > I can work on this.
 > 
 > 		Craig
 
 I finally got around to look at this. Can you confirm that the attached
 modified patch fixes it?
 
 Best regards,
 Stefan
 
 --HcAYCG3uE/tztfnV
 Content-Type: text/x-diff; charset=us-ascii
 Content-Disposition: attachment; filename="libftdi-swig.patch"
 
 Index: Makefile
 ===================================================================
 --- Makefile	(revision 321204)
 +++ Makefile	(working copy)
 @@ -33,8 +33,10 @@
  CONFIGURE_ARGS+=	--without-boost
  .endif
  .if ${PORT_OPTIONS:MPYTHON}
 -PLIST_SUB+=		PYTHON=""
 +PLIST_SUB+=		PYTHON="" PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}
  CONFIGURE_ARGS+=	--enable-python-binding
 +CONFIGURE_ENV+=		SWIG="${LOCALBASE}/bin/swig2.0"
 +BUILD_DEPENDS+=		swig2.0:${PORTSDIR}/devel/swig20
  USE_PYTHON=		yes
  .else
  PLIST_SUB+=		PYTHON="@comment "
 Index: pkg-plist
 ===================================================================
 --- pkg-plist	(revision 321204)
 +++ pkg-plist	(working copy)
 @@ -10,6 +10,10 @@
  bin/simple
  include/ftdi.h
  %%BOOST%%include/ftdi.hpp
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/_ftdi.so
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.py
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.pyc
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/%%PYDISTUTILS_EGGINFO%%
  lib/libftdi.a
  lib/libftdi.la
  lib/libftdi.so
 
 --HcAYCG3uE/tztfnV--

From: Craig Leres <leres@ee.lbl.gov>
To: Stefan Walter <stefan@FreeBSD.org>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/170241: [PATCH] devel/libftdi: upgrade to 0.20 and fix
 automake brokenness
Date: Tue, 18 Jun 2013 12:03:10 -0700

 On 06/18/13 10:01, Stefan Walter wrote:
 > I finally got around to look at this. Can you confirm that the attached
 > modified patch fixes it?
 
 That works.
 
 Is swig20 required? Clearly some version of swig is but I have swig13
 but not swig20 and was able to build libftdi with PYTHON support before
 applying your patch.
 
 		Craig

From: Stefan Walter <stefan@FreeBSD.org>
To: Craig Leres <leres@ee.lbl.gov>
Cc: GNATS <FreeBSD-gnats-submit@FreeBSD.org>
Subject: Re: ports/170241: [PATCH] devel/libftdi: upgrade to 0.20 and fix
 automake brokenness
Date: Tue, 18 Jun 2013 21:19:22 +0200

 Craig Leres, 18.06.13, 21:03h CEST:
 
 > On 06/18/13 10:01, Stefan Walter wrote:
 > > I finally got around to look at this. Can you confirm that the attached
 > > modified patch fixes it?
 > 
 > That works.
 > 
 > Is swig20 required? Clearly some version of swig is but I have swig13
 > but not swig20 and was able to build libftdi with PYTHON support before
 > applying your patch.
 
 Swig13 might work, too, but I'm not familiar with either version of that
 software. I just tried the most recent one. Is there a benefit in using
 swig13 instead?
 
 Regards,
 Stefan
State-Changed-From-To: open->closed 
State-Changed-By: stefan 
State-Changed-When: Wed Jun 19 16:49:59 UTC 2013 
State-Changed-Why:  
Patch committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=170241 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/170241: commit references a PR
Date: Wed, 19 Jun 2013 16:49:32 +0000 (UTC)

 Author: stefan
 Date: Wed Jun 19 16:49:25 2013
 New Revision: 321292
 URL: http://svnweb.freebsd.org/changeset/ports/321292
 
 Log:
   Fix plist for cases when the port is built with Python bindings.
   
   PR:		170241
   Submitted by:	Craig Leres <leres@ee.lbl.gov>
 
 Modified:
   head/devel/libftdi/Makefile
   head/devel/libftdi/pkg-plist
 
 Modified: head/devel/libftdi/Makefile
 ==============================================================================
 --- head/devel/libftdi/Makefile	Wed Jun 19 16:39:43 2013	(r321291)
 +++ head/devel/libftdi/Makefile	Wed Jun 19 16:49:25 2013	(r321292)
 @@ -33,8 +33,10 @@ PLIST_SUB+=		BOOST="@comment "
  CONFIGURE_ARGS+=	--without-boost
  .endif
  .if ${PORT_OPTIONS:MPYTHON}
 -PLIST_SUB+=		PYTHON=""
 +PLIST_SUB+=		PYTHON="" PYDISTUTILS_EGGINFO=${PYDISTUTILS_EGGINFO}
  CONFIGURE_ARGS+=	--enable-python-binding
 +CONFIGURE_ENV+=		SWIG="${LOCALBASE}/bin/swig2.0"
 +BUILD_DEPENDS+=		swig2.0:${PORTSDIR}/devel/swig20
  USE_PYTHON=		yes
  .else
  PLIST_SUB+=		PYTHON="@comment "
 
 Modified: head/devel/libftdi/pkg-plist
 ==============================================================================
 --- head/devel/libftdi/pkg-plist	Wed Jun 19 16:39:43 2013	(r321291)
 +++ head/devel/libftdi/pkg-plist	Wed Jun 19 16:49:25 2013	(r321292)
 @@ -10,6 +10,10 @@ bin/serial_test
  bin/simple
  include/ftdi.h
  %%BOOST%%include/ftdi.hpp
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/_ftdi.so
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.py
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/ftdi.pyc
 +%%PYTHON%%%%PYTHON_SITELIBDIR%%/%%PYDISTUTILS_EGGINFO%%
  lib/libftdi.a
  lib/libftdi.la
  lib/libftdi.so
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
