From nobody@FreeBSD.org  Sun Aug  2 21:33:09 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 54231106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Aug 2009 21:33:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 324468FC18
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  2 Aug 2009 21:33:09 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n72LX9bI024752
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 2 Aug 2009 21:33:09 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n72LX8Y8024751;
	Sun, 2 Aug 2009 21:33:08 GMT
	(envelope-from nobody)
Message-Id: <200908022133.n72LX8Y8024751@www.freebsd.org>
Date: Sun, 2 Aug 2009 21:33:08 GMT
From: "Carlos A. M. dos Santos" <unixmania@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: devel/libglade2: add menu option to configure dependence on Python
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         137366
>Category:       ports
>Synopsis:       devel/libglade2: add menu option to configure dependence on Python
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 02 21:40:04 UTC 2009
>Closed-Date:    Sat Aug 08 21:10:32 UTC 2009
>Last-Modified:  Sat Aug  8 21:20:01 UTC 2009
>Originator:     Carlos A. M. dos Santos
>Release:        8.0-BETA2
>Organization:
N.A.
>Environment:
FreeBSD avatar 8.0-BETA2 FreeBSD 8.0-BETA2 #2: Tue Jul 28 23:21:41 BRT 2009     root@avatar:/usr/obj/usr/src/sys/Compaq_nx6320  amd64

>Description:
devel/libglade2/Makefile already check for a WITHOUT_PYTHON variable. Let's add a menu option allowing the user to configure it interactively. Keep the option on by default, for compatibility with previous versions.
>How-To-Repeat:
Build and install the devel/libglade2 package.
>Fix:
Apply the attached patch.

Patch attached with submission follows:

diff -dru ports/devel/libglade2/Makefile ports-local/devel/libglade2/Makefile
--- ports.orig/devel/libglade2/Makefile	2009-03-18 21:35:06.000000000 -0300
+++ ports/devel/libglade2/Makefile	2009-08-02 18:23:55.000000000 -0300
@@ -8,7 +8,7 @@
 
 PORTNAME=	libglade2
 PORTVERSION=	2.6.4
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	devel gnome
 MASTER_SITES=	GNOME
 MASTER_SITE_SUBDIR=	sources/${PORTNAME:S/2$//}/${PORTVERSION:C/..$//}
@@ -18,6 +18,8 @@
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	GNOME glade library
 
+OPTIONS=	PYTHON	"Use Python"	on
+
 USE_BZIP2=	yes
 
 .if !defined(REFERENCE_PORT)
@@ -37,6 +39,8 @@
 PLIST_SUB=	XMLCATALOG="${LOCALBASE}/bin/xmlcatalog" \
 		CATALOG_PORTS_XML="${LOCALBASE}/share/xml/catalog.ports"
 
+.include <bsd.port.pre.mk>
+
 .if !defined(WITHOUT_PYTHON)
 BUILD_DEPENDS+=	${PYEXPAT}
 RUN_DEPENDS+=	${PYEXPAT}
@@ -54,6 +58,6 @@
 post-install:
 	${MKDIR} ${PREFIX}/lib/libglade/2.0
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
 
 .endif


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Aug 2 21:40:27 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=137366 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sat Aug 8 21:10:22 UTC 2009 
State-Changed-Why:  
Committed, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/137366: commit references a PR
Date: Sat,  8 Aug 2009 21:10:26 +0000 (UTC)

 marcus      2009-08-08 21:10:18 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/libglade2      Makefile 
   Log:
   Add the optional Python support as a true OPTION.
   
   PR:             137366
   Submitted by:   "Carlos A. M. dos Santos" <unixmania@gmail.com> (based on)
   
   Revision  Changes    Path
   1.81      +4 -0      ports/devel/libglade2/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
