Changeset 82138
- Timestamp:
- 08/08/11 07:52:23 (4 years ago)
- Location:
- trunk/dports/science/pymol
- Files:
-
- 2 edited
-
Portfile (modified) (3 diffs)
-
files/setup_py.diff (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/science/pymol/Portfile
r81027 r82138 7 7 name pymol 8 8 version 1.4 9 revision 29 revision 3 10 10 categories science 11 11 maintainers bromo.med.uc.edu:howarth … … 22 22 fetch.type svn 23 23 svn.url https://pymol.svn.sourceforge.net/svnroot/pymol/trunk/pymol 24 svn.revision 39 4724 svn.revision 3962 25 25 worksrcdir pymol 26 26 27 depends_lib port:freetype port:libpng port:python26 port:py26-pmw port:py26-num ericport:mesa port:glew port:py26-tkinter27 depends_lib port:freetype port:libpng port:python26 port:py26-pmw port:py26-numpy port:py26-scipy port:mesa port:glew port:py26-tkinter 28 28 depends_run port:xdpyinfo 29 29 … … 36 36 } 37 37 38 use_parallel_build no 38 use_parallel_build yes 39 40 platform darwin 11 { 41 python.add_archflags no 42 build.env CC="/usr/bin/clang" CXX="/usr/bin/clang++" 43 } 39 44 40 45 variant gcc43 description conflicts gcc44 gcc45 gcc46 description {build using macports-gcc-4.3} { -
trunk/dports/science/pymol/files/setup_py.diff
r81027 r82138 1 --- setup.py.orig 2011-0 4-22 22:47:12.000000000 -04002 +++ setup.py 2011-0 4-22 22:48:24.000000000 -04001 --- setup.py.orig 2011-07-25 16:38:04.000000000 -0400 2 +++ setup.py 2011-07-26 00:00:37.000000000 -0400 3 3 @@ -101,11 +101,10 @@ 4 4 # … … 14 14 EXT+"/include/GL", 15 15 EXT+"/include/freetype2", 16 @@ -116,13 +115,16 @@ 17 pyogl_libs = [] 18 lib_dirs=[] 16 @@ -118,11 +117,14 @@ 19 17 def_macros=[("_PYMOL_MODULE",None), 20 + ("_PYMOL_INLINE",None),21 18 ("_PYMOL_LIBPNG",None), 22 19 ("_PYMOL_FREETYPE",None), 23 + ("_PYMOL_NUMPY",None), 24 + ("_PYMOL_OPENGL_SHADERS",None), 25 + ("NO_MMLIBS",None), 20 + ("_PYMOL_INLINE",None), 21 + ("_PYMOL_NUMPY",None), 22 + ("_PYMOL_OPENGL_SHADERS",None), 23 + ("NO_MMLIBS",None), 26 24 ] 27 25 - ext_comp_args=[] 28 26 + ext_comp_args=["-ffast-math","-funroll-loops","-O3","-fcommon"] 29 27 ext_link_args=[ 30 - "-L/usr/X11R6/lib ", "-lGL", "-lXxf86vm",28 - "-L/usr/X11R6/lib64", "-lGL", "-lXxf86vm", 31 29 - "-L"+EXT+"/lib", "-lpng", "-lglut", "-lfreetype" 32 30 + "-L"+EXT+"/lib", "-lpng", "-lGL", "-lglut", "-lGLEW", "-lfreetype"
Note: See TracChangeset
for help on using the changeset viewer.

