File unworkable-lib64-optflags.patch of Package unworkable

--- SConstruct.orig	2008-01-08 20:57:39.000000000 +0100
+++ SConstruct	2008-01-08 21:00:08.000000000 +0100
@@ -3,13 +3,14 @@
 # $Id: SConstruct,v 1.16 2007/12/12 05:28:09 niallo Exp $
 
 import sys
+import re, os
 
 SRCS = ['announce.c', 'bencode.c', 'buf.c', 'ctl_server.c', 'main.c', 'network.c', 'parse.y', 'progressmeter.c', \
         'scheduler.c', 'torrent.c', 'trace.c', 'util.c', 'xmalloc.c']
 LIBS =  ['event', 'crypto']
-LIBPATH = ['/usr/lib', '/usr/local/lib']
-CPPPATH = ['/usr/include', '/usr/local/include']
-CCFLAGS = ['-Wall', '-Wstrict-prototypes', '-Wmissing-prototypes', '-Wmissing-declarations', '-Wshadow', '-Wpointer-arith', '-Wcast-qual', '-Wsign-compare', '-g', '-ggdb']
+LIBPATH = ['/usr/%s' % sys.lib]
+CPPPATH = ['/usr/include']
+CCFLAGS = ['-Wall', '-Wstrict-prototypes', '-Wmissing-prototypes', '-Wmissing-declarations', '-Wshadow', '-Wpointer-arith', '-Wcast-qual', '-Wsign-compare'] + re.split(r'\s+', os.environ['OPTFLAGS'])
 
 # Assume this is Solaris with packages from www.sunfreeware.com
 if sys.platform.startswith('sunos'):
openSUSE Build Service is sponsored by