File eID-belgium-2.5.9-reloc-eidlibjni-sconscript.patch of Package eID-belgium

--- ./src/eidlibjni/SConscript	2006-06-27 14:07:51.000000000 +0200
+++ ../SConscript-eidlibjni	2006-09-01 15:11:28.000000000 +0200
@@ -8,6 +8,7 @@
 javaHome = env['JAVA']
 obj = myenv.genobj('shlib', myenv)
 obj.target='libbeidlibjni'
+obj.instdir=myenv['LIBDIR']
 obj.src = Split('eidlib_wrap.cpp MyApp.cpp')
 obj.vnum='2.7.2'
 obj.libs='beid'
@@ -15,5 +16,6 @@
 obj.includes='../eidlib ' + javaHome + '/include ' + javaHome + '/include/linux'
 obj.execute()
 libdir = env['LIBDIR']
-env.Alias('install', env.Install(libdir, obj.target + '.so.' + obj.vnum))
-env.Alias('install', env.Install(libdir, obj.target + '.so'))
+destdir = env['DESTDIR']
+env.Alias('install', env.Install(destdir + libdir, obj.target + '.so.' + obj.vnum))
+env.Alias('install', env.Install(destdir + libdir, obj.target + '.so'))
openSUSE Build Service is sponsored by