ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> pygame-users
pygame-users
[pygame] config_unix.py bugs?
by Ben Willmore other posts by this author
Aug 4 2005 11:39AM messages near this date
[pygame] Re: how to optimize these two function? | Re: [pygame] config_unix.py bugs?
there seem to be a couple of bugs in config_unix.py (current CVS).

1. smpeg include dir seems mangled, e.g. /usr/localinclude/smpeg  
should be /usr/local/include/smpeg
2. incdirs and libdirs ignore localbase.

here is a patch

ben

--- config_unix.py.orig 2005-08-04 11:36:15.000000000 -0700
+++ config_unix.py      2005-08-04 11:37:15.000000000 -0700
@@ -10,7 +10,7 @@
#these get prefixes with '/usr' and '/usr/local' or the $LOCALBASE
origincdirs = ['/include', '/include/SDL', '/include/SDL11',
-               'include/smpeg' ]
+               '/include/smpeg' ]
origlibdirs = ['/lib']
@@ -152,8 +152,8 @@
      if localbase:
          incdirs = [localbase+d for d in origincdirs]
          libdirs = [localbase+d for d in origlibdirs]
-    incdirs = ["/usr"+d for d in origincdirs]
-    libdirs = ["/usr"+d for d in origlibdirs]
+    incdirs += ["/usr"+d for d in origincdirs]
+    libdirs += ["/usr"+d for d in origlibdirs]
      incdirs += ["/usr/local"+d for d in origincdirs]
      libdirs += ["/usr/local"+d for d in origlibdirs]
      for arg in string.split(DEPS[0].cflags):
Thread:
Ben Willmore
Pete Shinners

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved