diff options
author | Marcus von Appen <mva@FreeBSD.org> | 2014-08-02 06:54:20 +0000 |
---|---|---|
committer | Marcus von Appen <mva@FreeBSD.org> | 2014-08-02 06:54:20 +0000 |
commit | fc8d424c6b7837896a32e3c15fd8075942071b84 (patch) | |
tree | 25299d143cd595c13fc358dd66d172b08118cd46 /lang/python27/files/patch-Makefile.pre.in | |
parent | - Upgrade to 0.6.2 rc5 (diff) |
- Remove everything related to USE_PYTHON and bsd.python.mk. This is a
preparatory step to convert bsd.python.mk into a USES file.
- Remove the shared/static build separation, which is the source of many
problems and even more hacks. Instead build only the shared version, which
greatly simplifies the build.
- Remove the FPECTL option to align the build with the clean "template" from
lang/python34.
- Remove support for GNU pthreads via the PTH option. It is a permanent
troublemaker for ports using Python and pthread support.
- Remove PORTDATA and EXAMPLES. Those will be made available via separate
ports.
- Add a new DEBUG option to enable debug builds as for lang/python34.
- Remove bin/smtpd. Only Python2.7 wants to install it, but we'd like to keep
it consistent with the other lang/pythonXX ports
- Add CPE support.
- Reactivate curses/ncurses support.
- Use buildbottest in the regression-test: target.
- Move pkg-message to the right place.
Phabric: D488
Exp-run: 192242, 192244
Reviewed by: koobs
With hat: python@
Notes
Notes:
svn path=/head/; revision=363790
Diffstat (limited to 'lang/python27/files/patch-Makefile.pre.in')
-rw-r--r-- | lang/python27/files/patch-Makefile.pre.in | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/lang/python27/files/patch-Makefile.pre.in b/lang/python27/files/patch-Makefile.pre.in index c0358eef5ca2..7773e0d8856b 100644 --- a/lang/python27/files/patch-Makefile.pre.in +++ b/lang/python27/files/patch-Makefile.pre.in @@ -1,6 +1,5 @@ -# Description: Fix out-of-tree build as a result of upstream #15819 -# Submitted by: rm (r318353) -# Issue ID: http://bugs.python.org/issue15819#msg203348 +# Description: Link scripts in the same way Python3 does +# Submitted by: mva # Description: Run pycompile only once # Submitted by: antoine (r350207) @@ -10,21 +9,22 @@ # Submitted by: antoine@ (r350207) # TODO: Upstream ---- ./Makefile.pre.in.orig 2013-11-10 07:36:41.000000000 +0000 -+++ ./Makefile.pre.in 2014-04-04 09:16:00.000000000 +0000 -@@ -285,9 +285,9 @@ +--- Makefile.pre.in.orig 2014-06-30 04:05:39.000000000 +0200 ++++ Makefile.pre.in 2014-07-26 11:09:46.000000000 +0200 +@@ -868,6 +868,12 @@ + (cd $(DESTDIR)$(LIBPC); $(LN) -s python-$(VERSION).pc python2.pc) + -rm -f $(DESTDIR)$(LIBPC)/python.pc + (cd $(DESTDIR)$(LIBPC); $(LN) -s python2.pc python.pc) ++ -rm -f $(DESTDIR)$(BINDIR)/idle ++ (cd $(DESTDIR)$(BINDIR); $(LN) -s idle$(VERSION) idle2) ++ -rm -f $(DESTDIR)$(BINDIR)/pydoc ++ (cd $(DESTDIR)$(BINDIR); $(LN) -s pydoc$(VERSION) pydoc2) ++ -rm -f $(DESTDIR)$(BINDIR)/2to3 ++ (cd $(DESTDIR)$(BINDIR); $(LN) -s 2to3-$(VERSION) 2to3) - ########################################################################## - # AST --AST_H_DIR= Include -+AST_H_DIR= $(srcdir)/Include - AST_H= $(AST_H_DIR)/Python-ast.h --AST_C_DIR= Python -+AST_C_DIR= $(srcdir)/Python - AST_C= $(AST_C_DIR)/Python-ast.c - AST_ASDL= $(srcdir)/Parser/Python.asdl - -@@ -1006,12 +1006,12 @@ + # Install the interpreter with $(VERSION) affixed + # This goes into $(exec_prefix) +@@ -1010,12 +1016,12 @@ $(DESTDIR)$(LIBDEST)/distutils/tests ; \ fi PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ @@ -39,7 +39,7 @@ -d $(LIBDEST) -f \ -x 'bad_coding|badsyntax|site-packages|lib2to3/tests/data' \ $(DESTDIR)$(LIBDEST) -@@ -1089,8 +1089,8 @@ +@@ -1093,8 +1099,8 @@ if test "$(SO)" = .dll; then \ $(INSTALL_DATA) $(LDLIBRARY) $(DESTDIR)$(LIBPL) ; \ else \ |