Changeset 14326 for trunk/dports


Ignore:
Timestamp:
Sep 29, 2005, 6:03:40 PM (14 years ago)
Author:
mww
Message:

Bug: #3422
Submitted by: nirs@…
Reviewed by: mww@

fix building, no more file conflicts with python2{3|4}

Location:
trunk/dports/lang/python22
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/lang/python22/Portfile

    r10973 r14326  
    1 # $Id: Portfile,v 1.2 2005/02/14 05:16:11 rshaw Exp $
     1# $Id: Portfile,v 1.3 2005/09/29 18:03:40 mww Exp $
    22
    33PortSystem 1.0
     
    55name                    python22
    66version                 2.2.3
    7 revision                1
     7revision                2
    88categories              lang
    99maintainers             pat@ekman.cx
     
    4040}
    4141
     42post-destroot {
     43        file delete ${destroot}${prefix}/bin/python
     44        file rename ${destroot}${prefix}/bin/pydoc \
     45                ${destroot}${prefix}/bin/pydoc2.2
     46        file rename ${destroot}${prefix}/share/man/man1/python.1 \
     47                ${destroot}${prefix}/share/man/man1/python22.1
     48}
  • trunk/dports/lang/python22/files/patch-setup.py

    r10973 r14326  
    1 --- setup.py.orig       Sun Feb 13 17:55:38 2005
    2 +++ setup.py    Sun Feb 13 17:56:40 2005
    3 @@ -879,7 +879,8 @@
     1--- setup.py    2003-05-22 19:36:54.000000000 +0200
     2+++ setup.py    2005-09-29 16:32:09.000000000 +0200
     3@@ -690,7 +690,8 @@
    44         self.extensions.extend(exts)
    55 
    66         # Call the method for detecting whether _tkinter can be compiled
    77-        self.detect_tkinter(inc_dirs, lib_dirs)
    8 +        if ("--disable-tk" not in sysconfig.get_config_var("CONFIG_ARGS")):
     8+        if sysconfig.get_config_var("CONFIG_ARGS").find("--disable-tk") == -1:
    99+            self.detect_tkinter(inc_dirs, lib_dirs)
    1010 
    11      def detect_tkinter_darwin(self, inc_dirs, lib_dirs):
    12          # The _tkinter module, using frameworks. Since frameworks are quite
     11 
     12     def detect_tkinter(self, inc_dirs, lib_dirs):
Note: See TracChangeset for help on using the changeset viewer.