cf056f6c83
Major changes: - no more threads flavor, threads is now the default. - subpackage modules that depend on other packages instead of having largely redundant flavors (unless platform has no shared libs, then flavors count again) - shared libpython stuff disabled until someone can figure out why it makes Zope crash
31 lines
541 B
Plaintext
31 lines
541 B
Plaintext
#!/bin/sh
|
|
#
|
|
# $OpenBSD: INSTALL,v 1.1 2002/02/15 19:42:18 matt Exp $
|
|
#
|
|
# Set us up as the default python if there is not one already.
|
|
#
|
|
|
|
set -e
|
|
PATH=/bin
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
|
|
if [ x$2 = xPOST-INSTALL ]
|
|
then
|
|
if [ ! -e ${PREFIX}/bin/python ]
|
|
then
|
|
cd ${PREFIX}/bin
|
|
ln -s python2.1 python
|
|
else
|
|
cat <<EOT
|
|
|
|
+---------------
|
|
| ${PREFIX}/bin/python already exists. If you want to use this
|
|
| package as your system default python, make ${PREFIX}/bin/python a
|
|
| symlink to ${PREFIX}/bin/python2.1.
|
|
+---------------
|
|
|
|
EOT
|
|
fi
|
|
fi
|
|
|