Ticket #21376: pymol-build.patch
File pymol-build.patch, 3.2 KB (added by howarth@…, 15 years ago) |
---|
-
contrib/modules/Makefile.pre.in.src
old new 88 88 # === Variables that you may want to customize (rarely) === 89 89 90 90 # (Static) build target 91 TARGET= python 91 TARGET= python2.6 92 92 93 93 # Installed python binary (used only by boot target) 94 #PYTHON=94 PYTHON= python2.6 95 95 96 96 # Add more -I and -D options here 97 97 CFLAGS= $(OPT) -I$(INCLUDEPY) -I$(EXECINCLUDEPY) $(DEFS) … … 126 126 MACHDEP= @MACHDEP@ 127 127 SO= @SO@ 128 128 LDSHARED= @LDSHARED@ 129 BLDSHARED= @LDSHARED@ 129 130 CCSHARED= @CCSHARED@ 130 131 LINKFORSHARED= @LINKFORSHARED@ 131 132 #@SET_CCC@ 132 133 133 134 # Install prefix for architecture-independent files 134 prefix= /usr/local135 prefix= @PREFIX@ 135 136 136 137 # Install prefix for architecture-dependent files 137 138 exec_prefix= $(prefix) … … 168 169 MAKEFILE= $(LIBPL)/Makefile 169 170 CONFIGC= $(LIBPL)/config.c 170 171 CONFIGCIN= $(LIBPL)/config.c.in 171 SETUP= $(LIBPL)/Setup. thread$(LIBPL)/Setup.local $(LIBPL)/Setup172 SETUP= $(LIBPL)/Setup.config $(LIBPL)/Setup.local $(LIBPL)/Setup 172 173 173 174 SYSLIBS= $(LIBM) $(LIBC) 174 175 -
setup/Rules.osx-fink
old new 6 6 # 7 7 #- Building ---------------------------------------------------------- 8 8 #--- Tell "make" how to get to PyMOL 9 PYMOL_PATH = /Users/delwarl/fink/pymol9 PYMOL_PATH = @PREFIX@/lib/pymol 10 10 #--------------------------------------------------------------------- 11 11 # 12 12 #- Dependencies ------------------------------------------------------ … … 14 14 XLIB_DIR = -L/usr/X11R6/lib 15 15 XINC_DIR = -I/usr/X11R6/include 16 16 #--- Python 17 PYTHON_EXE = /sw/bin/python2.317 PYTHON_EXE = @PREFIX@/bin/python2.6 18 18 PYTHON_LIB = 19 19 PYTHON_LIB_DIR = 20 PYTHON_INC_DIR = -I/sw/include/python2.3 \ 21 -I/sw/include/python2.3/Numeric 20 PYTHON_INC_DIR = `python2.6-config --include`/Numeric 22 21 #--- Other external dependencies 23 EXT_INC_DIR = -I /sw/include24 EXT_LIB_DIR = -L /sw/lib22 EXT_INC_DIR = -I@PREFIX@/include 23 EXT_LIB_DIR = -L@PREFIX@/lib 25 24 #--------------------------------------------------------------------- 26 25 # 27 26 #- Build for LINUX as an importable module --------------------------- … … 30 29 #--- PyMOL configuration 31 30 DEFS = -D_PYMOL_MODULE -D_PYMOL_NUMPY -D_PYMOL_FINK 32 31 #--- How we build shared libraries 33 BUILD = -bundle -bundle_loader /sw/bin/python2.3-flat_namespace -undefined suppress32 BUILD = -bundle -bundle_loader @PREFIX@/bin/python2.6 -flat_namespace -undefined suppress 34 33 #--- What are we trying to build? 35 34 DEST = -o modules/pymol/_cmd.so 36 35 #--- Gcc Options for Linux -
setup/pymol.com.osx-fink
old new 5 5 # ============================================================== 6 6 # Set PYMOL_PATH to point at the correct location on your system 7 7 # 8 PYMOL_PATH= /Users/delwarl/pymol8 PYMOL_PATH=@PREFIX@/lib/pymol 9 9 export PYMOL_PATH 10 10 # 11 11 # ============================================================== … … 20 20 fi 21 21 export PYTHONPATH 22 22 # 23 exec /sw/bin/python $PYMOL_PATH/modules/pymol/__init__.py "$@" 23 APBS_PSIZE=@PREFIX@/bin/apbs-psize.py 24 export APBS_PSIZE 25 # 26 exec @PREFIX@/bin/python2.6 $PYMOL_PATH/modules/pymol/__init__.py -d "_ set stereo_double_pump_mono,quiet=1" "$@"