diff options
author | 2006-02-10 15:33:08 +0000 | |
---|---|---|
committer | 2006-02-10 15:33:08 +0000 | |
commit | 113d5ff2bed0dc737dee26ef81b7049c08743fff (patch) | |
tree | e2a5e96743d1261e1e5bd6c15ffef3145fb8693a /sci-chemistry/vmd/files | |
parent | Stable on sparc wrt security #122308 (diff) | |
download | gentoo-2-113d5ff2bed0dc737dee26ef81b7049c08743fff.tar.gz gentoo-2-113d5ff2bed0dc737dee26ef81b7049c08743fff.tar.bz2 gentoo-2-113d5ff2bed0dc737dee26ef81b7049c08743fff.zip |
Initial import.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sci-chemistry/vmd/files')
-rw-r--r-- | sci-chemistry/vmd/files/digest-vmd-1.8.3 | 3 | ||||
-rw-r--r-- | sci-chemistry/vmd/files/vmd-1.8.3-config-gentoo.patch | 73 |
2 files changed, 76 insertions, 0 deletions
diff --git a/sci-chemistry/vmd/files/digest-vmd-1.8.3 b/sci-chemistry/vmd/files/digest-vmd-1.8.3 new file mode 100644 index 000000000000..3a9d77d8371e --- /dev/null +++ b/sci-chemistry/vmd/files/digest-vmd-1.8.3 @@ -0,0 +1,3 @@ +MD5 8fb3fa55a54bcc3e41dbbd53c1c2cc59 vmd-1.8.3.src.tar.gz 8590337 +RMD160 4ad1b58721005ef85f580f437c032c28f6d786f1 vmd-1.8.3.src.tar.gz 8590337 +SHA256 36fb014004a765e54bbcd6608ef8738c808355268fd05dce618bc498d1f29c3e vmd-1.8.3.src.tar.gz 8590337 diff --git a/sci-chemistry/vmd/files/vmd-1.8.3-config-gentoo.patch b/sci-chemistry/vmd/files/vmd-1.8.3-config-gentoo.patch new file mode 100644 index 000000000000..879e00f9b678 --- /dev/null +++ b/sci-chemistry/vmd/files/vmd-1.8.3-config-gentoo.patch @@ -0,0 +1,73 @@ +diff -Naur vmd-1.8.3/configure vmd-1.8.3-patched/configure +--- vmd-1.8.3/configure 2005-02-16 05:44:22.000000000 +0000 ++++ vmd-1.8.3-patched/configure 2005-12-18 20:49:49.000000000 +0000 +@@ -13,10 +13,10 @@ + $install_name = "vmd"; + + # Directory where VMD startup script is installed, should be in users' paths. +-$install_bin_dir="/usr/local/bin"; ++$install_bin_dir="gentoo-bindir"; + + # Directory where VMD files and executables are installed +-$install_library_dir="/usr/local/lib/$install_name"; ++$install_library_dir="gentoo-libdir/$install_name"; + + + # optionally override hard-coded defaults above with environment variables +@@ -371,8 +371,8 @@ + + ################ Plugin options + # +-$plugin_dir = "../plugins"; +-$molfile_dir = "$plugin_dir/$config_arch/molfile"; ++$plugin_dir = "gentoo-plugindir"; ++$molfile_dir = "$plugin_dir/compile/lib_LINUX/molfile"; + $plugin_include = "-I$plugin_dir/include -I$molfile_dir"; + $plugin_library = "-L$molfile_dir"; + $plugin_libs = "-lmolfile_plugin"; +@@ -472,8 +472,8 @@ + ################ FLTK GUI + $fltk_defines = "-DVMDGUI -DVMDFLTK"; + $fltk_dir = "$vmd_library_dir/fltk"; +-$fltk_include = "-I$fltk_dir/include"; +-$fltk_library = "-L$fltk_dir/$config_arch"; ++$fltk_include = "-Igentoo-fltk-include"; ++$fltk_library = "-Lgentoo-fltk-libs"; + $fltk_libs = "-lfltk -lX11"; + #@fltk_cc = ('forms_ui.c'); + @fltk_ccpp = ( 'ColorFltkMenu.C', +@@ -805,9 +805,9 @@ + ################### + $python_defines = "-DVMDPYTHON"; + $python_dir = "$vmd_library_dir/python"; +-$python_include = "-I$python_dir/lib_$config_arch/include/python2.2"; +-$python_library = "-L$python_dir/lib_$config_arch/lib/python2.2/config"; +-$python_libs = "-lpython2.2 -lpthread"; ++$python_include = "-Igentoo-python-include"; ++$python_library = "-Lgentoo-python-lib"; ++$python_libs = "-lgentoo-python-link -lpthread"; + @python_h = ('PythonTextInterp.h', + 'VMDTkinterMenu.h', + 'py_commands.h', +@@ -1335,8 +1335,8 @@ + $opengl_libs = "-lGL -lGLU"; + # $opengl_libs = "-L/usr/X11R6/lib -lGL -lGLU -lXext -lX11"; + +- $arch_cc = "gcc"; +- $arch_ccpp = "g++"; ++ $arch_cc = "gentoo-gcc"; ++ $arch_ccpp = "gentoo-g++"; + # test hack to statically link libstd++ + # $arch_ccpp = "gcc"; + $arch_depend_flag = "-MM"; +@@ -1345,8 +1345,8 @@ + $arch_shcppopts = "-fPIC"; + $arch_shldopts = ""; + +- $arch_opt_flag = "-fno-for-scope -Wall -Wno-deprecated -O3 -march=i586 -fomit-frame-pointer"; +- $arch_copts = "-Wall -Wno-deprecated -O3 -march=i586 -fomit-frame-pointer"; ++ $arch_opt_flag = "gentoo-cflags"; ++ $arch_copts = "gentoo-cflags"; + + if ($config_static) { + $arch_lopts = "-static"; |