remove package/gdb reference from Config.in, seems like this package is not checked...
[openwrt.git] / package / shfs / patches / 102-utils-build-fixes.patch
1 --- shfs-0.35-orig/shfsmount/Makefile 2004-06-01 15:16:19.000000000 +0200
2 +++ shfs-0.35-2/shfsmount/Makefile 2005-04-09 01:27:22.000000000 +0200
3 @@ -2,15 +2,16 @@
4 SHFS_VERSION=unknown
5 endif
6
7 -SHFSMOUNT := /usr/bin/shfsmount
8 -SHFSUMOUNT := /usr/bin/shfsumount
9 +SHFSMOUNT := /usr/sbin/shfsmount
10 +SHFSUMOUNT := /usr/sbin/shfsumount
11
12 ALL_TARGETS := shfsmount shfsumount
13
14 SEARCHDIRS := -I- -I. -I../shfs/Linux-2.4/
15
16 CC := gcc
17 -CFLAGS = -g -Wall ${SEARCHDIRS} -DSHFS_VERSION=\"${SHFS_VERSION}\"
18 +OFLAGS = -g
19 +CFLAGS = $(OFLAGS) -Wall ${SEARCHDIRS} -DSHFS_VERSION=\"${SHFS_VERSION}\"
20
21 LINKER := gcc
22 LDFLAGS =
23 @@ -40,12 +41,12 @@
24
25
26 install: shfsmount shfsumount
27 - install -m755 -b -D shfsmount ${ROOT}${SHFSMOUNT}
28 - install -m755 -b -D shfsumount ${ROOT}${SHFSUMOUNT}
29 - if [ ! -d ${ROOT}/sbin ]; then mkdir ${ROOT}/sbin; fi
30 - ln -fs ${SHFSMOUNT} ${ROOT}/sbin/mount.shfs
31 + install -m755 -D shfsmount ${ROOT}${SHFSMOUNT}
32 + install -m755 -D shfsumount ${ROOT}${SHFSUMOUNT}
33 + if [ ! -d ${ROOT}/usr/sbin ]; then mkdir ${ROOT}/usr/sbin; fi
34 + ln -fs ${SHFSMOUNT} ${ROOT}/usr/sbin/mount.shfs
35
36 uninstall:
37 - rm -f ${ROOT}${SHFSMOUNT} ${ROOT}${SHFSUMOUNT} ${ROOT}/sbin/mount.shfs
38 + rm -f ${ROOT}${SHFSMOUNT} ${ROOT}${SHFSUMOUNT} ${ROOT}/usr/sbin/mount.shfs
39
40 .PHONY : all tidy clean install uninstall
This page took 0.04483 seconds and 5 git commands to generate.