Anonymous avatar Anonymous committed e15b66d

openbsd config patch

Comments (0)

Files changed (1)

         for dir in libdirs:
             for name in libnames:
                 path = os.path.join(dir, name)
-                if filter(os.path.isfile, glob(path+*)):
+                if filter(os.path.isfile, glob(path+'*')):
                     self.lib_dir = dir
                 
         if self.lib_dir and self.inc_dir:
         incdirs = [localbase + '/include/SDL']
         libdirs = [localbase + '/lib']
     else:
-        incdirs = []
-        libdirs = []
+        incdirs = ['/usr/include']
+        libdirs = ['/usr/lib']
         for arg in string.split(DEPS[0].cflags):
             if arg[:2] == '-I':
                 incdirs.append(arg[2:])
 	if not d.found:
 		if not confirm("""
 Warning, some of the pygame dependencies were not found. Pygame can still
-compile and install, but games that require on those missing dependencies
+compile and install, but games that depend on those missing dependencies
 will not run. Would you like to continue the configuration?"""):
 			raise SystemExit
 		break
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.