ports/186797: [PATCH] net/samba41: fix USE_PYTHON

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Feb 15 17:30:00 UTC 2014


>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 at 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:


More information about the freebsd-ports-bugs mailing list