|
# --- ROCK-COPYRIGHT-NOTE-BEGIN ---
|
|
#
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
# Please add additional copyright information _after_ the line containing
|
|
# the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
|
|
# the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
|
|
#
|
|
# ROCK Linux: rock-src/package/base/python/python-setup.patch
|
|
# ROCK Linux is Copyright (C) 1998 - 2006 Clifford Wolf
|
|
#
|
|
# This patch file is dual-licensed. It is available under the license the
|
|
# patched project is licensed under, as long as it is an OpenSource license
|
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
|
|
# of the GNU General Public License as published by the Free Software
|
|
# Foundation; either version 2 of the License, or (at your option) any later
|
|
# version.
|
|
#
|
|
# --- ROCK-COPYRIGHT-NOTE-END ---
|
|
|
|
--- ./Modules/Setup.dist.orig 2004-12-09 02:31:09.905092984 +0100
|
|
+++ ./Modules/Setup.dist 2004-12-09 02:36:59.073011392 +0100
|
|
@@ -147,7 +147,7 @@
|
|
# modules are to be built as shared libraries (see above for more
|
|
# detail; also note that *static* reverses this effect):
|
|
|
|
-#*shared*
|
|
+*shared*
|
|
|
|
# GNU readline. Unlike previous Python incarnations, GNU readline is
|
|
# now incorporated in an optional module, configured in the Setup file
|
|
@@ -157,7 +157,7 @@
|
|
# it, depending on your system -- see the GNU readline instructions.
|
|
# It's okay for this to be a shared library, too.
|
|
|
|
-#readline readline.c -lreadline -ltermcap
|
|
+readline readline.c -lreadline -ltermcap
|
|
|
|
|
|
# Modules that should always be present (non UNIX dependent):
|
|
@@ -197,25 +197,25 @@
|
|
|
|
# Socket module helper for SSL support; you must comment out the other
|
|
# socket line above, and possibly edit the SSL variable:
|
|
-#SSL=/usr/local/ssl
|
|
-#_ssl _ssl.c \
|
|
-# -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
|
|
-# -L$(SSL)/lib -lssl -lcrypto
|
|
+SSL=/usr
|
|
+_ssl _ssl.c \
|
|
+ -DUSE_SSL -I$(SSL)/include -I$(SSL)/include/openssl \
|
|
+ -L$(SSL)/lib -lssl -lcrypto
|
|
|
|
# The crypt module is now disabled by default because it breaks builds
|
|
# on many systems (where -lcrypt is needed), e.g. Linux (I believe).
|
|
#
|
|
# First, look at Setup.config; configure may have set this for you.
|
|
|
|
-#crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems
|
|
+crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems
|
|
|
|
|
|
# Some more UNIX dependent modules -- off by default, since these
|
|
# are not supported by all UNIX systems:
|
|
|
|
#nis nismodule.c -lnsl # Sun yellow pages -- not everywhere
|
|
-#termios termios.c # Steen Lumholt's termios module
|
|
-#resource resource.c # Jeremy Hylton's rlimit interface
|
|
+termios termios.c # Steen Lumholt's termios module
|
|
+resource resource.c # Jeremy Hylton's rlimit interface
|
|
|
|
|
|
# Multimedia modules -- off by default.
|
|
@@ -336,7 +336,7 @@
|
|
# -lX11
|
|
|
|
# Lance Ellinghaus's syslog module
|
|
-#syslog syslogmodule.c # syslog daemon interface
|
|
+syslog syslogmodule.c # syslog daemon interface
|
|
|
|
|
|
# Curses support, requring the System V version of curses, often
|
|
@@ -378,7 +378,7 @@
|
|
#
|
|
# First, look at Setup.config; configure may have set this for you.
|
|
|
|
-#gdbm gdbmmodule.c -I/usr/local/include -L/usr/local/lib -lgdbm
|
|
+gdbm gdbmmodule.c -I/usr/include -L/usr/lib -lgdbm
|
|
|
|
|
|
# Sleepycat Berkeley DB interface.
|
|
@@ -442,7 +442,7 @@
|
|
# Andrew Kuchling's zlib module.
|
|
# This require zlib 1.1.3 (or later).
|
|
# See http://www.gzip.org/zlib/
|
|
-#zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
|
|
+zlib zlibmodule.c -I$(prefix)/include -L$(exec_prefix)/lib -lz
|
|
|
|
# Interface to the Expat XML parser
|
|
#
|