File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -32,15 +32,15 @@ function build_c_igraph() {
32
32
cd $BUILD_c_igraph
33
33
34
34
push_arm
35
- try patch $BUILD_c_igraph /src/Makefile.am $RECIPE_c_igraph /Makefile.am.patch
35
+ patch -Nr - $BUILD_c_igraph /src/Makefile.am $RECIPE_c_igraph /Makefile.am.patch
36
36
export OLD_CPPFLAGS=" $CPPFLAGS "
37
37
export CPPFLAGS=" $CPPFLAGS -I$ANDROIDNDK /sources/cxx-stl/gnu-libstdc++/4.4.3/include -I$ANDROIDNDK /sources/cxx-stl/gnu-libstdc++/4.4.3/libs/armeabi/include -L$ANDROIDNDK /platforms/android-$ANDROIDAPI /arch-arm/usr/lib"
38
38
try ./configure --prefix=" $BUILD_PATH /python-install" --build=i686-pc-linux-gnu --host=arm-linux-eabi
39
39
export CPPFLAGS=" $OLD_CPPFLAGS "
40
- try cp -f $RECIPE_c_igraph /arith.h $BUILD_c_igraph /src/f2c/arith.h
41
- try patch $BUILD_c_igraph /src/f2c/sysdep1.h $RECIPE_c_igraph /sysdep1.h.patch
42
- try patch $BUILD_c_igraph /src/f2c/uninit.c $RECIPE_c_igraph /uninit.c.patch
43
- try patch $BUILD_c_igraph /config.h $RECIPE_c_igraph /config.h.patch
40
+ cp -f $RECIPE_c_igraph /arith.h $BUILD_c_igraph /src/f2c/arith.h
41
+ patch -Nr - $BUILD_c_igraph /src/f2c/sysdep1.h $RECIPE_c_igraph /sysdep1.h.patch
42
+ patch -Nr - $BUILD_c_igraph /src/f2c/uninit.c $RECIPE_c_igraph /uninit.c.patch
43
+ patch -N $BUILD_c_igraph /config.h $RECIPE_c_igraph /config.h.patch
44
44
try $MAKE
45
45
try $MAKE install
46
46
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ RECIPE_igraph=$RECIPES_PATH/igraph
18
18
19
19
20
20
function prebuild_igraph() {
21
- try patch $BUILD_igraph /setup.py $RECIPE_igraph /setup.py.patch
22
- try patch $BUILD_igraph /setup.cfg $RECIPE_igraph /setup.cfg.patch
21
+ patch -Nr - $BUILD_igraph /setup.py $RECIPE_igraph /setup.py.patch
22
+ patch -Nr - $BUILD_igraph /setup.cfg $RECIPE_igraph /setup.cfg.patch
23
23
}
24
24
25
25
function shouldbuild_igraph() {
You can’t perform that action at this time.
0 commit comments