You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-07-10 12:19:27 -07:00
920bad0205
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@106195 d073be05-634f-4543-b044-5fe20cf6d1d6
18 lines
795 B
Diff
18 lines
795 B
Diff
--- setup.py.old 2009-07-18 11:51:10.000000000 -0700
|
|
+++ setup.py 2009-07-18 11:52:13.000000000 -0700
|
|
@@ -39,11 +39,11 @@
|
|
sources=['code/hardware/eeg/scalp/scalp.pyx', 'code/hardware/eeg/scalp/epleeg.cpp',
|
|
'code/hardware/eeg/scalp/epleeg_wrapper.cpp']))
|
|
# hardware.vr modules
|
|
-if platform=='Darwin' and sys.version[:3]=='2.4':
|
|
+if platform=='Darwin':
|
|
# currently distutils for Python 2.4 isn't looking under /usr/local,
|
|
# necessitating this
|
|
- INC_DIR = '/usr/local/include'
|
|
- LIB_DIR = '/usr/local/lib'
|
|
+ INC_DIR = '@@PREFIX@@/include'
|
|
+ LIB_DIR = '@@PREFIX@@/lib'
|
|
ext_modules.append(Extension(name='pyepl.hardware.vr.avatar', sources=['code/hardware/vr/avatar.pyx'],
|
|
include_dirs=[INC_DIR], libraries=['ode'], library_dirs=[LIB_DIR]))
|
|
else:
|