I am preparing a live ebuild ofr a FreeBayes package, from https://github.com/ekg/freebayes. It has thre "links" (to bamtools, intervaltree, vcflib). There were not cloned. How should I proceed? Create for them separate packages and alter the build process of freebayes to look for their libs&headers in installed locations instead? $ ebuild freebayes-9999.ebuild compile >>> Existing ${T}/environment for 'freebayes-9999' will be sourced. Run >>> 'clean' to start with a fresh environment. >>> Not marked as unpacked; recreating WORKDIR... >>> Unpacking source... Cloning into bare repository '/mnt/external/usr/portage/distfiles/egit-src/freebayes.git'... remote: Counting objects: 3253, done. remote: Compressing objects: 100% (788/788), done. remote: Total 3253 (delta 2509), reused 3201 (delta 2457) Receiving objects: 100% (3253/3253), 1.13 MiB | 592 KiB/s, done. Resolving deltas: 100% (2509/2509), done. GIT NEW clone --> repository: git://github.com/ekg/freebayes.git at the commit: df23b3fcc1733c71e125a50752f26c3019af6519 branch: master storage directory: "/mnt/external/usr/portage/distfiles/egit-src/freebayes.git" checkout type: bare repository Cloning into '/var/tmp/portage/sci-biology/freebayes-9999/work/freebayes-9999'... done. Branch branch-master set up to track remote branch master from origin. Switched to a new branch 'branch-master' [cut] $ ls -la /var/tmp/portage/sci-biology/freebayes-9999/work/freebayes-9999/intervaltree/ total 8 drwxr-xr-x 2 mmokrejs mmokrejs 4096 Mar 2 21:09 . drwxr-xr-x 10 mmokrejs mmokrejs 4096 Mar 2 21:09 .. $
Created attachment 304021 [details] freebayes-9999.ebuild
Links? I think you mean submodules. You have to define: EGIT_HAS_SUBMODULES=1 in the ebuild. Please let me know if that works for you.