SHA256
1
0
forked from pool/fwnn
fwnn/FreeWnn-noroot.patch
2010-03-26 00:19:40 +00:00

239 lines
8.1 KiB
Diff

--- BUILD/FreeWnn-1.1.1-a021/Contrib/dic/gerodic/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/Contrib/dic/gerodic/Makefile.in
@@ -67,9 +67,7 @@
install:: ${OBJ}
@if [ -d $(DESTDIR)$(GERODIR) ]; then set +x; \
else (set -x; $(MKDIRHIER) $(DESTDIR)$(GERODIR)); fi
- chown ${WNNOWNER} $(DESTDIR)$(GERODIR)
- $(INSTALL) $(INSTDATFLAGS) $(LOCAL_INSTFLAGS) ${OBJ} $(DESTDIR)$(GERODIR)
- ${WNNTOUCH} $(DESTDIR)$(GERODIR)/${OBJ}
+ $(INSTALL) $(INSTDATFLAGS) ${OBJ} $(DESTDIR)$(GERODIR)
clean::
$(RM) ${OBJ}
--- BUILD/FreeWnn-1.1.1-a021/Wnn/jserver/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/Wnn/jserver/Makefile.in
@@ -36,7 +36,7 @@
top_builddir = @top_builddir@
INSTALL = @INSTALL@ $(INSTALLFLAGS)
-LOCAL_INSTFLAGS = -o $(WNNOWNER)
+LOCAL_INSTFLAGS =
JSERVERDEFINES = -DJSERVER -DWRITE_CHECK
INCLUDES = -I$(WNNINCLUDESRC) -I$(top_builddir) -I$(srcdir)
--- BUILD/FreeWnn-1.1.1-a021/Wnn/jutil/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/Wnn/jutil/Makefile.in
@@ -37,7 +37,7 @@
INSTALL = @INSTALL@ $(INSTALLFLAGS)
LT_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
LT_LD = $(LIBTOOL) --mode=link $(CCLINK)
-LOCAL_INSTFLAGS = -o $(WNNOWNER)
+LOCAL_INSTFLAGS =
INCLUDES = -I$(WNNINCLUDESRC) -I$(top_builddir)
DEFINES = $(WNNDEFINES) $(WNNLANGDEF)
--- BUILD/FreeWnn-1.1.1-a021/Wnn/pubdicplus/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/Wnn/pubdicplus/Makefile.in
@@ -35,7 +35,7 @@
WNNJUTILOBJ = $(top_builddir)/Wnn/jutil
INSTALL = @INSTALL@ $(INSTALLFLAGS)
-LOCAL_INSTFLAGS = -o $(WNNOWNER)
+LOCAL_INSTFLAGS =
INCLUDES = -I$(top_builddir)
ATOD = $(WNNJUTILOBJ)/atod
@@ -377,8 +377,7 @@
install::
@case '${MFLAGS}' in *[i]*) set +e;; esac;
@for i in $(JWNNDICDIR); do if [ -d $(DESTDIR)$$i ]; then \
- set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i; \
- chown $(WNNOWNER) $(DESTDIR)$$i); fi \
+ set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i); fi \
done
install:: $(DIC)
--- BUILD/FreeWnn-1.1.1-a021/Wnn/uum/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/Wnn/uum/Makefile.in
@@ -35,7 +35,7 @@
VPATH = @srcdir@
INSTALL = @INSTALL@ $(INSTALLFLAGS)
-LOCAL_INSTFLAGS = $(INSTUIDFLAGS) -o $(UUMOWNER)
+LOCAL_INSTFLAGS =
UUMOWNER = root
INCLUDES = -I$(WNNINCLUDESRC) -I$(WNNROMKANSRC) -I$(top_builddir)
--- BUILD/FreeWnn-1.1.1-a021/Wnn/wnncons/dic/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/Wnn/wnncons/dic/Makefile.in
@@ -33,7 +33,7 @@
top_builddir = ../../..
INSTALL = @INSTALL@ $(INSTALLFLAGS)
-LOCAL_INSTFLAGS = -o $(WNNOWNER)
+LOCAL_INSTFLAGS =
ATOD = $(WNNJUTILSRC)/atod
WNNTOUCH = $(WNNJUTILSRC)/wnntouch
@@ -86,7 +86,7 @@
set +x; \
else (set -x; \
$(INSTALL) $(INSTDATFLAGS) $(LOCAL_INSTFLAGS) $$i $(DESTDIR)$(JWNNWNNCONSDICDIR); \
- $(WNNTOUCH) $(DESTDIR)$(JWNNWNNCONSDICDIR)/$$i); fi \
+ ); fi \
done
depend::
--- BUILD/FreeWnn-1.1.1-a021/Xwnmo/xjutil/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/Xwnmo/xjutil/Makefile.in
@@ -26,7 +26,7 @@
top_builddir = ../..
INSTALL = @INSTALL@ $(INSTALLFLAGS)
-LOCAL_INSTFLAGS = -o $(WNNOWNER)
+LOCAL_INSTFLAGS =
INCLUDES = -I. $(XWNMOINCLUDES) -I$(XWNMOSRC)
--- BUILD/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/Xwnmo/xwnmo/Makefile.in
@@ -26,7 +26,7 @@
top_builddir = ../..
INSTALL = @INSTALL@ $(INSTALLFLAGS)
-LOCAL_INSTFLAGS = -o $(WNNOWNER)
+LOCAL_INSTFLAGS =
INCLUDES = $(XWNMOINCLUDES)
--- BUILD/FreeWnn-1.1.1-a021/cWnn/cdic/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/cWnn/cdic/Makefile.in
@@ -31,7 +31,7 @@
CWNNJUTILOBJ = $(top_builddir)/cWnn/jutil
INSTALL = @INSTALL@ $(INSTALLFLAGS)
-LOCAL_INSTFLAGS = -o $(WNNOWNER)
+LOCAL_INSTFLAGS =
ATOD = $(CWNNJUTILOBJ)/catod
ATOF = $(CWNNJUTILOBJ)/catof
@@ -85,8 +85,7 @@
install::
@case '${MFLAGS}' in *[i]*) set +e;; esac;
@for i in $(CWNNDICDIR); do if [ -d $(DESTDIR)$$i ]; then \
- set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i; \
- chown $(WNNOWNER) $(DESTDIR)$$i); fi \
+ set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i); fi \
done
install:: $(ALLTGT)
--- BUILD/FreeWnn-1.1.1-a021/cWnn/jserver/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/cWnn/jserver/Makefile.in
@@ -38,7 +38,7 @@
JSERVERDEFINES = -DJSERVER -DWRITE_CHECK
INCLUDES = -I$(CWNNINCLUDESRC) -I$(top_builddir)
DEFINES = $(CWNNDEFINES) $(JSERVERDEFINES) $(WNNTERM) $(CWNNLANGDEF)
-LOCAL_INSTFLAGS = $(INSTUIDFLAGS) -o $(WNNOWNER)
+LOCAL_INSTFLAGS =
SERVERINITDEF = -DSERVER_INIT_FILE=\"/$(CWNNLANG)/cserverrc\"
HINSIDEFINE = -DHINSIDATA_FILE=\"/$(CWNNLANG)/cixing.data\"
TSERVERINITDEF = -DSERVER_INIT_FILE=\"/$(TWNNLANG)/tserverrc\"
--- BUILD/FreeWnn-1.1.1-a021/cWnn/jutil/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/cWnn/jutil/Makefile.in
@@ -36,7 +36,7 @@
INSTALL = @INSTALL@ $(INSTALLFLAGS)
LT_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
LT_LD = $(LIBTOOL) --mode=link $(CCLINK)
-LOCAL_INSTFLAGS = -o $(WNNOWNER)
+LOCAL_INSTFLAGS =
INCLUDES = -I$(CWNNINCLUDESRC) -I$(top_builddir)
DEFINES = $(CWNNDEFINES) $(CWNNLANGDEF)
--- BUILD/FreeWnn-1.1.1-a021/cWnn/tdic/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/cWnn/tdic/Makefile.in
@@ -31,7 +31,7 @@
CWNNJUTILOBJ = $(top_builddir)/cWnn/jutil
INSTALL = @INSTALL@
-INSTALLFLAGS = -o $(WNNOWNER)
+INSTALLFLAGS =
ATOD = $(CWNNJUTILOBJ)/catod
ATOF = $(CWNNJUTILOBJ)/catof
@@ -85,8 +85,7 @@
install::
@case '${MFLAGS}' in *[i]*) set +e;; esac;
@for i in $(TWNNDICDIR); do if [ -d $(DESTDIR)$$i ]; then \
- set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i; \
- chown $(WNNOWNER) $(DESTDIR)$$i); fi \
+ set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i); fi \
done
install:: $(ALLTGT)
--- BUILD/FreeWnn-1.1.1-a021/cWnn/uum/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/cWnn/uum/Makefile.in
@@ -37,7 +37,7 @@
UUMOWNER = root
INCLUDES = -I$(CWNNINCLUDESRC) -I$(CWNNROMKANSRC) -I$(top_builddir)
DEFINES = $(CWNNDEFINES) $(CWNNLANGDEF)
-LOCAL_INSTFLAGS = $(INSTUIDFLAGS) -o $(UUMOWNER)
+LOCAL_INSTFLAGS =
LOCAL_LIBRARIES = $(CWNNJLIB) $(CWNNCONVLIB) @LIBS@
HDRS= buffer.h cvtcode.h sdefine.h sheader.h
--- BUILD/FreeWnn-1.1.1-a021/kWnn/jserver/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/kWnn/jserver/Makefile.in
@@ -38,7 +38,7 @@
JSERVERDEFINES = -DJSERVER -DWRITE_CHECK
INCLUDES = -I$(KWNNJSERVERSRC) -I$(KWNNINCLUDESRC) -I$(top_builddir)
DEFINES = $(KWNNDEFINES) $(JSERVERDEFINES) $(WNNTERM) $(KWNNLANGDEF)
-LOCAL_INSTFLAGS = $(INSTUIDFLAGS) -o $(WNNOWNER)
+LOCAL_INSTFLAGS =
SERVERINITDEF = -DSERVER_INIT_FILE=\"/$(KWNNLANG)/kserverrc\"
HINSIDEFINE = -DHINSIDATA_FILE=\"/$(KWNNLANG)/hinsi.data\"
WRAPLIB = @WRAPLIB@
--- BUILD/FreeWnn-1.1.1-a021/kWnn/jutil/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/kWnn/jutil/Makefile.in
@@ -39,7 +39,7 @@
INCLUDES = -I$(KWNNINCLUDESRC) -I$(top_builddir)
DEFINES = $(KWNNDEFINES) $(KWNNLANGDEF)
-LOCAL_INSTFLAGS = -o $(WNNOWNER)
+LOCAL_INSTFLAGS =
HINSIDEFINE = -DHINSIDATA_FILE=\"/$(KWNNLANG)/hinsi.data\"
CLIENTPROGRAMS = kwnnstat kwnnkill kwddel kwdreg
--- BUILD/FreeWnn-1.1.1-a021/kWnn/kdic/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/kWnn/kdic/Makefile.in
@@ -31,7 +31,7 @@
KWNNJUTILOBJ = $(top_builddir)/kWnn/jutil
INSTALL = @INSTALL@
-INSTALLFLAGS = -o $(WNNOWNER)
+INSTALLFLAGS =
ATOD = $(KWNNJUTILOBJ)/katod
ATOF = $(KWNNJUTILOBJ)/katof
@@ -76,8 +76,7 @@
install::
@case '${MFLAGS}' in *[i]*) set +e;; esac;
@for i in $(KWNNDICDIR); do if [ -d $(DESTDIR)$$i ]; then \
- set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i; \
- chown $(WNNOWNER) $(DESTDIR)$$i); fi \
+ set +x; else (set -x; $(MKDIRHIER) $(DESTDIR)$$i); fi \
done
install:: $(ALLTGT)
--- BUILD/FreeWnn-1.1.1-a021/kWnn/uum/Makefile.in
+++ BUILD/FreeWnn-1.1.1-a021/kWnn/uum/Makefile.in
@@ -37,7 +37,7 @@
UUMOWNER = root
INCLUDES = -I$(KWNNINCLUDESRC) -I$(KWNNROMKANSRC) -I$(top_builddir)
DEFINES = $(KWNNDEFINES) $(KWNNLANGDEF)
-LOCAL_INSTFLAGS = $(INSTUIDFLAGS) -o $(UUMOWNER)
+LOCAL_INSTFLAGS =
LOCAL_LIBRARIES = $(KWNNJLIB) $(KWNNCONVLIB) @LIBS@
HDRS= buffer.h cvtcode.h sdefine.h sheader.h