aboutsummaryrefslogtreecommitdiff
path: root/python/gerbmerge/fix-install-paths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'python/gerbmerge/fix-install-paths.patch')
-rw-r--r--python/gerbmerge/fix-install-paths.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/python/gerbmerge/fix-install-paths.patch b/python/gerbmerge/fix-install-paths.patch
new file mode 100644
index 0000000000000..dd6ea36f71636
--- /dev/null
+++ b/python/gerbmerge/fix-install-paths.patch
@@ -0,0 +1,24 @@
+diff -Naur gerbmerge-1.8old/setup.py gerbmerge-1.8new/setup.py
+--- gerbmerge-1.8old/setup.py 2011-07-11 19:15:46.000000000 +0200
++++ gerbmerge-1.8new/setup.py 2011-07-11 19:13:20.000000000 +0200
+@@ -37,7 +37,7 @@
+ BinFiles = ['misc/gerbmerge.bat']
+ BinDir = '.'
+ else:
+- DestLib = distutils.sysconfig.get_config_var('LIBPYTHON')
++ DestLib = "/usr/lib/python2.6"
+ DestDir = os.path.join(DestLib, 'gerbmerge')
+ BinFiles = ['misc/gerbmerge']
+ BinDir = distutils.sysconfig.get_config_var('BINDIR')
+@@ -74,10 +74,7 @@
+ url = "http://ruggedcircuits.com/gerbmerge",
+ packages = ['gerbmerge'],
+ platforms = ['all'],
+- data_files = [ (DestDir, AuxFiles),
+- (os.path.join(DestDir,'testdata'), SampleFiles),
+- (os.path.join(DestDir,'doc'), DocFiles),
+- (BinDir, BinFiles) ]
++ data_files = [ (BinDir, BinFiles) ]
+ )
+
+ do_fix_perms = 0