public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sci-chemistry/pymol/files: 1.2.2-prefix.patch
@ 2010-02-18 13:23 Justin Lecher (jlec)
  0 siblings, 0 replies; only message in thread
From: Justin Lecher (jlec) @ 2010-02-18 13:23 UTC (permalink / raw
  To: gentoo-commits

jlec        10/02/18 13:23:50

  Added:                1.2.2-prefix.patch
  Log:
  Fixed usage of pathon eclass, EAPI=3 and PREFIX ready fixes, keyworded for amd64-linux & x86-linux
  (Portage version: 2.2_rc62/cvs/Linux i686)

Revision  Changes    Path
1.1                  sci-chemistry/pymol/files/1.2.2-prefix.patch

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol/files/1.2.2-prefix.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/pymol/files/1.2.2-prefix.patch?rev=1.1&content-type=text/plain

Index: 1.2.2-prefix.patch
===================================================================
diff --git a/setup.py b/setup.py
index 197f827..b39c129 100644
--- a/setup.py
+++ b/setup.py
@@ -112,7 +112,7 @@ elif sys.platform=='darwin':
                     ]
         ext_comp_args=[]
         ext_link_args=[
-	               "-L/usr/X11R6/lib", "-lGL", "-lXxf86vm",
+	               "-L@GENTOO_PORTAGE_EPREFIX@/usr/lib", "-lGL", "-lXxf86vm",
                    "-L"+EXT+"/lib", "-lpng", "-lglut", "-lfreetype"
                    ]
 #============================================================================
@@ -120,7 +120,7 @@ else: # linux or other unix
     inc_dirs=["ov/src",
               "layer0","layer1","layer2",
               "layer3","layer4","layer5",
-              "/usr/include/freetype2",
+              "@GENTOO_PORTAGE_EPREFIX@/usr/include/freetype2",
 #                 "/users/warren/ext/include",
 # VMD plugin support
 #              "contrib/uiuc/plugins/include",
@@ -131,7 +131,7 @@ else: # linux or other unix
           ]	
     pyogl_libs = ["GL","GLU","glut"]
     lib_dirs=[
-        "/usr/X11R6/lib",
+        "@GENTOO_PORTAGE_EPREFIX@/usr/lib",
 #        "/users/warren/pymol/ext/lib"
         ]
     def_macros=[("_PYMOL_MODULE",None),






^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2010-02-18 13:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-18 13:23 [gentoo-commits] gentoo-x86 commit in sci-chemistry/pymol/files: 1.2.2-prefix.patch Justin Lecher (jlec)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox