$OpenBSD: patch-setup_py,v 1.2 2006/12/28 22:36:16 jasper Exp $
--- setup.py.orig	Thu Jun 23 03:48:49 2005
+++ setup.py	Thu Dec 28 20:38:37 2006
@@ -3,10 +3,10 @@
 from distutils import sysconfig
 
 # Full paths to imlib2-config and freetype-config, adjust as needed -
-configs = ["/usr/bin/freetype-config", "/usr/bin/imlib2-config"]
+configs = ["!!X11BASE!!/bin/freetype-config", "!!LOCALBASE!!/bin/imlib2-config"]
 
 # Adjust or add any additional include directories here -
-idirs   = ["/usr/X11R6/include"]
+idirs   = ["!!X11BASE!!/include"]
 
 # Add any additional library directories here -
 ldirs   = []
@@ -15,7 +15,7 @@
 cargs   = ["-Wall"]
 
 # Full path to libImlib2 shared library
-imlib2  = "/usr/lib/libImlib2.so.1"
+imlib2  = "libImlib2.so"
 
 #------------------------------------------------------------------------------
 # The rest of this script should not need to be modified! 
@@ -117,7 +117,7 @@
       description      = "Lightweight panel/taskbar for X11 Window Managers",
       long_description = "See README for more information",
       url              = "http://pypanel.sourceforge.net",
-      data_files       = [(install_dir, files)],
+#      data_files       = [(install_dir, files)],
       scripts          = ["pypanel"],
       ext_modules      = [module]
      )
