ports/162336: [x11/wbarconf] fix compilation problem

Olivier Cochard-Labbe olivier at cochard.me
Sun Nov 6 15:20:09 UTC 2011


>Number:         162336
>Category:       ports
>Synopsis:       [x11/wbarconf] fix compilation problem
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 06 15:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Olivier Cochard-Labbe
>Release:        8.2-RELEASE
>Organization:
BSD Router Project
>Environment:
FreeBSD bigdev.bsdrp.net 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Tue Sep 27 18:45:57 UTC 2011     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Fix the compilation problem since the latest update:
"env: python2: No such file or directory"
Patch from jadawin@
>How-To-Repeat:
Applying this patch solve the problem.
>Fix:


Patch attached with submission follows:

diff -ruN wbarconf.old/Makefile wbarconf/Makefile
--- wbarconf.old/Makefile	2011-11-06 15:51:09.000000000 +0100
+++ wbarconf/Makefile	2011-11-06 16:05:49.000000000 +0100
@@ -2,11 +2,12 @@
 # Date created:		21 may 2009
 # Whom:			Olivier Cochard-Labbe <olivier at cochard.me>
 #
-# $FreeBSD: ports/x11/wbarconf/Makefile,v 1.7 2011/11/04 10:36:45 jadawin Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	wbarconf
 PORTVERSION=	0.7.2.1
+PORTREVISION=	1
 CATEGORIES=	x11
 MASTER_SITES=	http://www.ihku.biz/wbarconf/
 DISTNAME=	wbarconf-${PORTVERSION}
@@ -16,12 +17,13 @@
 
 RUN_DEPENDS=	wbar:${PORTSDIR}/x11/wbar
 
-USE_GNOME=	pygtk2
+USE_GNOME=	pygobject pygtk2 gtk20
 USE_PYTHON=	2.5+
 USE_GETTEXT=	yes
 NO_BUILD=	yes
 WRKSRC=		${WRKDIR}/${PORTNAME}
 PORTDOCS=	README COPYING
+USE_GETTEXT=	yes
 
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
diff -ruN wbarconf.old/file/patch-wbarconf.py wbarconf/file/patch-wbarconf.py
--- wbarconf.old/file/patch-wbarconf.py	1970-01-01 01:00:00.000000000 +0100
+++ wbarconf/file/patch-wbarconf.py	2011-11-06 15:52:27.000000000 +0100
@@ -0,0 +1,8 @@
+--- wbarconf.orig	2010-10-20 17:27:09.000000000 +0200
++++ wbarconf	2011-11-04 15:31:00.000000000 +0100
+@@ -1,4 +1,4 @@
+-#!/usr/bin/env python2
++#!/usr/bin/env python
+ # coding= UTF-8
+ #
+ #	wbar configuration gui  v0.7.2.1


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



More information about the freebsd-ports-bugs mailing list