diff options
Diffstat (limited to 'sci-geosciences/gpsd/files/gpsd-3.3-udev-install.patch')
-rw-r--r-- | sci-geosciences/gpsd/files/gpsd-3.3-udev-install.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/sci-geosciences/gpsd/files/gpsd-3.3-udev-install.patch b/sci-geosciences/gpsd/files/gpsd-3.3-udev-install.patch new file mode 100644 index 000000000000..ef000bc27068 --- /dev/null +++ b/sci-geosciences/gpsd/files/gpsd-3.3-udev-install.patch @@ -0,0 +1,31 @@ +From b0513cd2e44705058ffdaa7a9c3f32371e9fcd5b Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Thu, 17 Nov 2011 23:44:06 -0500 +Subject: [PATCH] use DESTDIR with udev install + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + SConstruct | 7 ++++--- + 1 files changed, 4 insertions(+), 3 deletions(-) + +diff --git a/SConstruct b/SConstruct +index 1f99740..b7a98e4 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -1505,9 +1505,10 @@ if env['python']: + # is plugged in. + + Utility('udev-install', '', [ +- 'cp $SRCDIR/gpsd.rules /lib/udev/rules.d/25-gpsd.rules', +- 'cp $SRCDIR/gpsd.hotplug /lib/udev/', +- 'chmod a+x /lib/udev/gpsd.hotplug', ++ 'mkdir -p ' + DESTDIR + '/lib/udev/rules.d', ++ 'cp $SRCDIR/gpsd.rules ' + DESTDIR + '/lib/udev/rules.d/25-gpsd.rules', ++ 'cp $SRCDIR/gpsd.hotplug ' + DESTDIR + '/lib/udev/', ++ 'chmod a+x ' + DESTDIR + '/lib/udev/gpsd.hotplug', + ]) + + Utility('udev-uninstall', '', [ +-- +1.7.6.1 + |