summaryrefslogtreecommitdiff
path: root/devel/codeville/files/extra-psyco-patch-cdvupgrade
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-10-10 03:08:20 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2005-10-10 03:08:20 +0000
commitfb27d15cd66dcfd1c4285318247795d5b0b69bcf (patch)
tree04ded6a708c12d0a8501c3a715a2f18d33a557ad /devel/codeville/files/extra-psyco-patch-cdvupgrade
parentFix a typo, s/crafy/crafty/g. (diff)
o Add devel/psyco optimization support on ARCH == i386. WITHOUT_PSYCO
disables it. o Bump PORTREVISION
Diffstat (limited to 'devel/codeville/files/extra-psyco-patch-cdvupgrade')
-rw-r--r--devel/codeville/files/extra-psyco-patch-cdvupgrade16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/codeville/files/extra-psyco-patch-cdvupgrade b/devel/codeville/files/extra-psyco-patch-cdvupgrade
new file mode 100644
index 000000000000..297bfe9ab426
--- /dev/null
+++ b/devel/codeville/files/extra-psyco-patch-cdvupgrade
@@ -0,0 +1,16 @@
+--- cdvupgrade Fri Jul 15 14:42:58 2005
++++ cdvupgrade Mon Oct 10 00:01:53 2005
+@@ -4,6 +4,13 @@
+ # see LICENSE.txt for license information
+
+ try:
++ import psyco
++ assert psyco.__version__ >= 0x010300f0
++ psyco.full()
++except:
++ pass
++
++try:
+ import Codeville.db
+ except ImportError:
+ import sys, os.path