From nobody@www.freebsd.org  Sun May 26 12:19:02 2002
Return-Path: <nobody@www.freebsd.org>
Received: from nwww.freebsd.org (www.FreeBSD.org [216.136.204.117])
	by hub.freebsd.org (Postfix) with ESMTP id 99E5637B400
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 May 2002 12:19:01 -0700 (PDT)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by nwww.freebsd.org (8.12.2/8.12.2) with ESMTP id g4QJJ1hG005902
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 26 May 2002 12:19:01 -0700 (PDT)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.2/8.12.2/Submit) id g4QJJ1ZZ005901;
	Sun, 26 May 2002 12:19:01 -0700 (PDT)
Message-Id: <200205261919.g4QJJ1ZZ005901@www.freebsd.org>
Date: Sun, 26 May 2002 12:19:01 -0700 (PDT)
From: Paul Marquis <pmarquis@pobox.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Maintainer update port: devel/boost pkg-plist update
X-Send-Pr-Version: www-1.0

>Number:         38580
>Category:       ports
>Synopsis:       Maintainer update port: devel/boost pkg-plist update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 26 12:20:00 PDT 2002
>Closed-Date:    Sun May 26 19:42:49 PDT 2002
>Last-Modified:  Sun May 26 19:42:49 PDT 2002
>Originator:     Paul Marquis
>Release:        4-STABLE
>Organization:
>Environment:
FreeBSD sboy.pmarquis.com 4.6-RC FreeBSD 4.6-RC #0: Sat May 25 10:51:08 EDT 2002     pmarquis@sboy.pmarquis.com:/usr/obj/home/src/sys/SBOY  i386
>Description:
If port is built with WITHOUT_PYTHON set, don't include Python libraries in package list.  Unified diff against current CVS included.
>How-To-Repeat:

>Fix:
diff -Naur boost.orig/Makefile boost/Makefile
--- boost.orig/Makefile	Thu May 23 11:07:59 2002
+++ boost/Makefile	Sun May 26 14:57:22 2002
@@ -15,7 +15,10 @@
 MAINTAINER=	pmarquis@pobox.com
 
 MAKE_ENV=	BOOST_ROOT=${WRKSRC} TOOLS=gcc BUILD="debug release"
-.if !defined(WITHOUT_PYTHON)
+.if defined(WITHOUT_PYTHON)
+PLIST_SUB+=	BOOST_PYTHON="@comment "
+.else
+PLIST_SUB+=	BOOST_PYTHON=""
 USE_PYTHON=	yes
 MAKE_ENV+=	PYTHON=${PYTHON_CMD} PYTHON_VERSION=${_PYTHON_VERSION} \
 		PYTHON_INCLUDES="${PYTHON_INCLUDEDIR}" \
diff -Naur boost.orig/pkg-plist boost/pkg-plist
--- boost.orig/pkg-plist	Thu May 23 11:07:59 2002
+++ boost/pkg-plist	Sun May 26 15:05:48 2002
@@ -598,8 +598,8 @@
 include/boost/utility_fwd.hpp
 include/boost/version.hpp
 include/boost/weak_ptr.hpp
-lib/libboost_python.so
-lib/libboost_python_debug.so
+%%BOOST_PYTHON%%lib/libboost_python.so
+%%BOOST_PYTHON%%lib/libboost_python_debug.so
 lib/libboost_regex.a
 lib/libboost_regex.so
 lib/libboost_regex_debug.a

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ijliao 
State-Changed-When: Sun May 26 19:42:40 PDT 2002 
State-Changed-Why:  
committed, thanks 

http://www.freebsd.org/cgi/query-pr.cgi?pr=38580 
>Unformatted:
