Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 May 2002 12:19:01 -0700 (PDT)
From:      Paul Marquis <pmarquis@pobox.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/38580: Maintainer update port: devel/boost pkg-plist update
Message-ID:  <200205261919.g4QJJ1ZZ005901@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         38580
>Category:       ports
>Synopsis:       Maintainer update port: devel/boost pkg-plist update
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 26 12:20:00 PDT 2002
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200205261919.g4QJJ1ZZ005901>