Changeset 42997


Ignore:
Timestamp:
Dec 3, 2008, 5:16:31 AM (10 years ago)
Author:
blb@…
Message:

lang/python25 - add --no-user-cfg option to help avoid user config files
while building, ticket #9831 (maintainer timeout)

Location:
trunk/dports/lang/python25
Files:
1 added
2 edited

Legend:

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

    r42933 r42997  
    55name                    python25
    66version                 2.5.2
    7 revision                5
     7revision                6
    88set major               2
    99set branch              2.5
     
    2626                        rmd160  a6e2e81910639a362f265af2e3814e7b47e2110a
    2727
     28# patch-Lib-distutils-dist.py.diff comes from
     29# <http://bugs.python.org/issue1180>
    2830patchfiles              patch-Makefile.pre.in.diff \
    2931                        patch-setup.py.diff \
    30                         patch-Lib-cgi.py.diff
     32                        patch-Lib-cgi.py.diff \
     33                        patch-Lib-distutils-dist.py.diff
    3134
    3235depends_lib             port:gettext
  • trunk/dports/lang/python25/files/patch-Makefile.pre.in.diff

    r34379 r42997  
    1 --- Makefile.pre.in.orig        2007-09-29 02:15:52.000000000 +0200
    2 +++ Makefile.pre.in     2007-09-29 02:18:57.000000000 +0200
    3 @@ -373,6 +373,13 @@
     1--- Makefile.pre.in.orig        2007-12-05 13:43:57.000000000 -0700
     2+++ Makefile.pre.in     2008-07-25 21:41:02.000000000 -0600
     3@@ -348,8 +348,8 @@
     4 # Build the shared modules
     5 sharedmods: $(BUILDPYTHON)
     6        case $$MAKEFLAGS in \
     7-       *-s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py -q build;; \
     8-       *) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py build;; \
     9+       *-s*) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py -q --no-user-cfg build;; \
     10+       *) $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' ./$(BUILDPYTHON) -E $(srcdir)/setup.py --no-user-cfg build;; \
     11        esac
     12 
     13 # Build static library
     14@@ -376,6 +376,13 @@
    415 libpython$(VERSION).sl: $(LIBRARY_OBJS)
    516        $(LDSHARED) -o $@ $(LIBRARY_OBJS) $(SHLIBS) $(LIBC) $(LIBM)
     
    1526 # minimal framework (not including the Lib directory and such) in the current
    1627 # directory.
    17 @@ -675,6 +682,9 @@
     28@@ -684,6 +691,9 @@
    1829                        fi \
    1930                fi; \
     
    2536 
    2637 # Install the manual page
     38@@ -894,7 +904,7 @@
     39 # Install the dynamically loadable modules
     40 # This goes into $(exec_prefix)
     41 sharedinstall:
     42-       $(RUNSHARED) ./$(BUILDPYTHON) -E $(srcdir)/setup.py install \
     43+       $(RUNSHARED) ./$(BUILDPYTHON) -E $(srcdir)/setup.py --no-user-cfg install \
     44                --prefix=$(prefix) \
     45                --install-scripts=$(BINDIR) \
     46                --install-platlib=$(DESTSHARED) \
     47@@ -968,7 +978,7 @@
     48 # This installs a few of the useful scripts in Tools/scripts
     49 scriptsinstall:
     50        SRCDIR=$(srcdir) $(RUNSHARED) \
     51-       ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/setup.py install \
     52+       ./$(BUILDPYTHON) $(srcdir)/Tools/scripts/setup.py --no-user-cfg install \
     53        --prefix=$(prefix) \
     54        --install-scripts=$(BINDIR) \
     55        --root=/$(DESTDIR)
Note: See TracChangeset for help on using the changeset viewer.