ports/160182: [maintainer patch] graphics/zbar. Fix pkg-plist, restrict to python 2.5-2.7.

Oliver Heesakkers dev2 at heesakkers.info
Thu Aug 25 13:40:09 UTC 2011


>Number:         160182
>Category:       ports
>Synopsis:       [maintainer patch] graphics/zbar. Fix pkg-plist, restrict to python 2.5-2.7.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 25 13:40:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Heesakkers
>Release:        8.2-STABLE amd64
>Organization:
>Environment:
>Description:
This patch improves the way different versions of python are handled. The fix in pkg-plist speaks for itself I think. Further I found that configure will fail when trying to use python 3.2, so I've restricted the port to python 2.5-2.7.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN zbar.orig/Makefile zbar/Makefile
--- zbar.orig/Makefile	2010-12-14 15:39:50.000000000 +0100
+++ zbar/Makefile	2011-08-25 15:23:11.000000000 +0200
@@ -65,7 +65,7 @@
 .endif
 
 .if defined(WITH_PYTHON)
-USE_PYTHON=	any
+USE_PYTHON=	2.5-2.7
 CONFIGURE_ARGS+=	--with-python=yes
 PLIST_SUB+=	PYTHON=""
 .else
diff -ruN zbar.orig/pkg-plist zbar/pkg-plist
--- zbar.orig/pkg-plist	2010-12-14 15:39:50.000000000 +0100
+++ zbar/pkg-plist	2011-08-25 02:03:15.000000000 +0200
@@ -39,7 +39,7 @@
 %%PORTDOCS%%%%DOCSDIR%%/TODO
 @dirrmtry share/zbar
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
- at dirrmtry lib/python2.6/site-packages
- at dirrmtry lib/python2.6
+ at dirrmtry %%PYTHON_SITELIBDIR%%
+ at dirrmtry lib/%%PYTHON_VERSION%%
 @dirrmtry lib/pkgconfig
 @dirrm include/zbar


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list