Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Feb 2014 01:21:13 +0800 (CST)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        timur@FreeBSD.org
Subject:   ports/186797: [PATCH] net/samba41: fix USE_PYTHON
Message-ID:  <20140215172113.5107C426E@sunpoet.net>
Resent-Message-ID: <201402151730.s1FHU0LT055878@freefall.freebsd.org>

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

>Number:         186797
>Category:       ports
>Synopsis:       [PATCH] net/samba41: fix USE_PYTHON
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 15 17:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Sunpoet Po-Chuan Hsieh
>Release:        FreeBSD 10.0-STABLE amd64
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD bonjour.sunpoet.net 10.0-STABLE FreeBSD 10.0-STABLE #0 r261402: Mon Feb  3 22:35:15
>Description:
- Fix USE_PYTHON: resolve build failure for users with python3x as default python

Port maintainer (timur@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99_11 (mode: change, diff: SVN)
>How-To-Repeat:
>Fix:

--- samba41-4.1.4_1.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 344337)
+++ Makefile	(working copy)
@@ -62,9 +62,7 @@
 CONFIGURE_ENV+=		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
 			PTHREAD_LDFLAGS="${PTHREAD_LIBS}"
 
-USE_PYTHON_BUILD=	-2.7
-
-USE_PYTHON=		yes
+USE_PYTHON=		2
 USES=			compiler perl5 pkgconfig iconv
 USE_PERL5=		build
 USE_LDCONFIG=		${SAMBA4_LIBDIR}
--- samba41-4.1.4_1.patch ends here ---

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



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