Browse Source

seafile: fix path of host built valac

Signed-off-by: Gergely Kiss <mail.gery@gmail.com>
lilik-openwrt-22.03
Gergely Kiss 9 years ago
committed by Etienne CHAMPETIER
parent
commit
c323886963
2 changed files with 4 additions and 4 deletions
  1. +2
    -2
      net/seafile-ccnet/patches/010-Makefile.patch
  2. +2
    -2
      net/seafile-server/patches/050-libseafile-makefile-fixes.patch

+ 2
- 2
net/seafile-ccnet/patches/010-Makefile.patch View File

@ -11,12 +11,12 @@ diff -rupN seafile-ccnet-5.1.1.orig/lib/Makefile.am seafile-ccnet-5.1.1/lib/Make
ccnet-object.h: ${ccnet_object_define} ccnet-object.h: ${ccnet_object_define}
rm -f $@ rm -f $@
- valac --pkg posix ${ccnet_object_define} -C -H ccnet-object.h - valac --pkg posix ${ccnet_object_define} -C -H ccnet-object.h
+ "$(STAGING_DIR_HOST)/bin/valac" --pkg posix ${ccnet_object_define} -C -H ccnet-object.h
+ "$(STAGING_DIR)/host/bin/valac" --pkg posix ${ccnet_object_define} -C -H ccnet-object.h
ccnetobj.c: ${ccnet_object_define} ccnetobj.c: ${ccnet_object_define}
rm -f $@ rm -f $@
- valac -C --pkg posix ${ccnet_object_define} - valac -C --pkg posix ${ccnet_object_define}
+ "$(STAGING_DIR_HOST)/bin/valac" -C --pkg posix ${ccnet_object_define}
+ "$(STAGING_DIR)/host/bin/valac" -C --pkg posix ${ccnet_object_define}
searpc_gen = searpc-signature.h searpc-marshal.h searpc_gen = searpc-signature.h searpc-marshal.h


+ 2
- 2
net/seafile-server/patches/050-libseafile-makefile-fixes.patch View File

@ -12,7 +12,7 @@ diff -rupN seafile-server-5.1.1.orig/lib/Makefile.am seafile-server-5.1.1/lib/Ma
seafile-object.h: ${seafile_object_define} seafile-object.h: ${seafile_object_define}
rm -f $@ rm -f $@
- valac --pkg posix ${seafile_object_define} -C -H seafile-object.h - valac --pkg posix ${seafile_object_define} -C -H seafile-object.h
+ "$(STAGING_DIR_HOST)/bin/valac" --pkg posix ${seafile_object_define} -C -H seafile-object.h
+ "$(STAGING_DIR)/host/bin/valac" --pkg posix ${seafile_object_define} -C -H seafile-object.h
DISTCLEANFILES = ${searpc_gen} DISTCLEANFILES = ${searpc_gen}
@ -30,7 +30,7 @@ diff -rupN seafile-server-5.1.1.orig/lib/Makefile.am seafile-server-5.1.1/lib/Ma
@rm -f vala.tmp @rm -f vala.tmp
@touch vala.tmp @touch vala.tmp
- valac -C --pkg posix $^ - valac -C --pkg posix $^
+ "$(STAGING_DIR_HOST)/bin/valac" -C --pkg posix $^
+ "$(STAGING_DIR_HOST)/host/bin/valac" -C --pkg posix $^
@mv -f vala.tmp $@ @mv -f vala.tmp $@
${seafile_object_gen}: vala.stamp ${seafile_object_gen}: vala.stamp


Loading…
Cancel
Save