From owner-freebsd-python@FreeBSD.ORG Sat Apr 20 03:49:20 2013 Return-Path: <owner-freebsd-python@FreeBSD.ORG> Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 69CAB485 for <python@freebsd.org>; Sat, 20 Apr 2013 03:49:20 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by mx1.freebsd.org (Postfix) with ESMTP id 48D69D0B for <python@freebsd.org>; Sat, 20 Apr 2013 03:49:20 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id 14so731255pdc.0 for <python@freebsd.org>; Fri, 19 Apr 2013 20:49:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=x-received:mime-version:from:date:message-id:subject:to :content-type; bh=C2MW8cESEA5INs/fUVHVBB99+hU1M3913aszLfdxyIQ=; b=BKhogcJdTlc/6n0wUzCdV7UVSP0xXn4kIKCbVwJYgwuYymUIP34s1EE9ssjnASsLZX K6zStXSSx2N5n29RNtPGydWOvpT/lsS8ZW+/eAkniO1euUHccHPZrUXYGwn4bijj9aFS GWlLVsy6JC/z9w7rUgzXvc3WbViW3ueBdKEcM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type:x-gm-message-state; bh=C2MW8cESEA5INs/fUVHVBB99+hU1M3913aszLfdxyIQ=; b=B6r2zm48rcCXWCoe6YqsMm5cMtFjoqKry6j/kZL+X8yLgAKKq3IJ4IrBbseSPCeTEy 187X3l/gA6ZvBn+Q/b/cf6J5Z4wS3yjiE2UibJagy5lsqrMraP+J+XZOYwuSTNypl3ib gexevCCcvckgAvPHQ/KzDlmgUz0GNd7eEKcMNVlnSzQ7Im0xNYEHOwfH7RU0KvJ9JBLz /aqplAbHD9udR0djFb+KlgX7po3134HqblRavS8PbGfhMf7ArkqvaARm0hcDgI2OkjDJ R5XyzrXdcAdT7GyPqneqogrN//C8939lwBsbrhSEv7JwT44DesVZAhI8JdvHsKie4VXQ CoIA== X-Received: by 10.66.251.161 with SMTP id zl1mr2263258pac.54.1366429754397; Fri, 19 Apr 2013 20:49:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.159.97 with HTTP; Fri, 19 Apr 2013 20:48:44 -0700 (PDT) From: Eitan Adler <lists@eitanadler.com> Date: Fri, 19 Apr 2013 23:48:44 -0400 Message-ID: <CAF6rxgmKbEdG=hOjuSHkjQb4q_yRTbWjxBkzNLF9spg-OA1Wpw@mail.gmail.com> Subject: building scons with default python3 To: python <python@freebsd.org> Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQmtKG7o+lDnKkPuUrd7yAuGtlhId2pobuT1OzLwObf5hsmSZjJGpPp/R/Y5+UA+y9eXtliX X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 20 Apr 2013 03:49:20 -0000 What do you think of the following? This fixes issue with PYTHON_DEFAULT_VERSION=python3.3 Index: Makefile =================================================================== --- Makefile (revision 315795) +++ Makefile (working copy) @@ -25,6 +25,8 @@ PYDISTUTILS_EGGINFODIR= ${PREFIX}/lib/scons-${PORT PLIST_SUB+= SCONS_VER=${PORTVERSION} +USE_PYTHON= -2.7 + .include <bsd.port.pre.mk> .if defined (NO_INSTALL_MANPAGES) Index: files/patch-script__scons =================================================================== --- files/patch-script__scons (revision 0) +++ files/patch-script__scons (working copy) @@ -0,0 +1,8 @@ +--- ./script/scons.orig 2013-04-19 23:35:11.656613793 -0400 ++++ ./script/scons 2013-04-19 23:35:16.127614561 -0400 +@@ -1,4 +1,4 @@ +-#! /usr/bin/env python ++#! /usr/bin/env python2 + # + # SCons - a Software Constructor + # Property changes on: files/patch-script__scons ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property -- Eitan Adler