blob: 403ac1e86e1036fee0d82917145dd527c40469c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
diff -ruN cnijfilter-source-4.10-1.orig/lgmon2/src/Makefile.am cnijfilter-source-4.10-1/lgmon2/src/Makefile.am
--- cnijfilter-source-4.10-1.orig/lgmon2/src/Makefile.am 2013-12-24 07:39:15.000000000 +0330
+++ cnijfilter-source-4.10-1/lgmon2/src/Makefile.am 2016-05-09 20:25:06.259953863 +0430
@@ -9,3 +9,4 @@
CFLAGS = -O2 -Wall -I/usr/include/libusb-1.0 -I./common @XML2_CFLAGS@
cnijlgmon2_LDADD = -ldl -lusb-1.0 -lcnnet -lxml2
+cnijlgmon2_LDFLAGS = -L../../com/libs_bin32
diff -ruN cnijfilter-source-4.10-1.orig/Makefile cnijfilter-source-4.10-1/Makefile
--- cnijfilter-source-4.10-1.orig/Makefile 2013-12-24 07:39:15.000000000 +0330
+++ cnijfilter-source-4.10-1/Makefile 2016-05-09 20:25:06.259953863 +0430
@@ -14,3 +14,12 @@
install :
target=install; $(scripts)
+common :
+ for dir in "libs" "bscc2sts" "cnijnpr" "cngpij" "cngpijmnt" "pstocanonij" "backend" "backendnet" "cmdtocanonij" "cnijbe" "lgmon2"; do \
+ (cd $$dir; ./autogen.sh --prefix=/usr --enable-libpath=/usr/lib32/bjlib --enable-progpath=/usr/bin --libdir=/usr/lib32; make) || exit 1; \
+ done
+
+installcommon :
+ for dir in "libs" "bscc2sts" "cnijnpr" "cngpij" "cngpijmnt" "pstocanonij" "backend" "backendnet" "cmdtocanonij" "cnijbe" "lgmon2"; do \
+ (cd $$dir; make install DESTDIR=${PACKAGEDIR}) || exit 1; \
+ done
diff -ruN cnijfilter-source-4.10-1.orig/backendnet/configure.in cnijfilter-source-4.10-1/backendnet/configure.in
--- cnijfilter-source-4.10-1.orig/backendnet/configure.in 2013-12-24 07:39:15.000000000 +0330
+++ cnijfilter-source-4.10-1/backendnet/configure.in 2016-05-09 20:25:06.259953863 +0430
@@ -19,7 +19,8 @@
AC_DEFINE_UNQUOTED(BJLIB_PATH, "$enable_libpath")
AC_SUBST(BJLIB_PATH)
-ARC=`getconf LONG_BIT`
+#ARC=`getconf LONG_BIT`
+ARC=32
AC_SUBST(ARC)
# Checks for programs.
diff -ruN cnijfilter-source-4.10-1.orig/cnijfilter/configure.in cnijfilter-source-4.10-1/cnijfilter/configure.in
--- cnijfilter-source-4.10-1.orig/cnijfilter/configure.in 2013-12-24 07:39:15.000000000 +0330
+++ cnijfilter-source-4.10-1/cnijfilter/configure.in 2016-05-09 20:25:06.259953863 +0430
@@ -43,7 +43,8 @@
esac
AC_SUBST(CNCL_LIB_ID)
-ARC=`getconf LONG_BIT`
+#ARC=`getconf LONG_BIT`
+ARC=32
AC_SUBST(ARC)
AC_PROG_CC
diff -ruN cnijfilter-source-4.10-1.orig/cnijnpr/configure.in cnijfilter-source-4.10-1/cnijnpr/configure.in
--- cnijfilter-source-4.10-1.orig/cnijnpr/configure.in 2013-12-24 07:39:15.000000000 +0330
+++ cnijfilter-source-4.10-1/cnijnpr/configure.in 2016-05-09 20:25:06.259953863 +0430
@@ -37,7 +37,8 @@
CFLAGS="-O2"
-ARC=`getconf LONG_BIT`
+#ARC=`getconf LONG_BIT`
+ARC=32
AC_SUBST(ARC)
AC_OUTPUT(Makefile
|