diff -up udev/Makefile.orig udev/Makefile --- udev/Makefile.orig 2010-07-12 06:07:34.149316626 -1000 +++ udev/Makefile 2010-07-12 07:08:31.838114049 -1000 @@ -1,14 +1,14 @@ - +CC ?= gcc OBJS = ozerocdoff.o all: ozerocdoff ozerocdoff: ozerocdoff.o - $(CC) -l usb -o $@ ozerocdoff.o + $(CC) $(CFLAGS) -l usb -o $@ ozerocdoff.o %.o: %.c - $(CC) -c $*.c -Wall -O + $(CC) $(CFLAGS) -c $*.c -Wall -O clean: rm -f $(OBJS) ozerocdoff @@ -22,8 +22,8 @@ install: ozerocdoff cp 10-wwan-hso-preprobe.fdi $(DESTDIR)/usr/share/hal/fdi/preprobe/20thirdparty install -d $(DESTDIR)/usr/share/hal/fdi/information/20thirdparty cp 10-wwan-quirk.fdi $(DESTDIR)/usr/share/hal/fdi/information/20thirdparty - install -d $(DESTDIR)/usr/lib/hal/scripts/ - install hal-serial-hsotype $(DESTDIR)/usr/lib/hal/scripts/ + install -d $(DESTDIR)/usr/libexec/scripts/ + install hal-serial-hsotype $(DESTDIR)/usr/libexec/scripts/ install -d $(DESTDIR)/etc install osetsuspend $(DESTDIR)/usr/sbin cp hso-suspend.conf $(DESTDIR)/etc