git submodule

Cy Schubert Cy.Schubert at cschubert.com
Thu Aug 29 05:55:27 UTC 2019


Hi,

One of my ports upstream recently (15 days ago) split two libraries into 
their own repo on github. I discovered this diagnosing a build failure:

slippy$ ./autogen.sh 
Error: libntech/libutils/sequence.h is missing
       You probably forgot to use the --recursive option when cloning
       To fix it now, run:
       git submodule init && git submodule update
slippy$ 

Their instructions obviously work however incorporating this into ports is 
a different matter. My options are:

1) Create a new port, libntech. This installs nothing and furthermore what
   it builds is a couple of .a archives. I suppose a person could construct 
a
   port to install the required files "by hand" but for a single port this 
is
   bordering on wrong.

2) Have the port download two tarballs from github. But, how, elegantly?


-- 
Cheers,
Cy Schubert <Cy.Schubert at cschubert.com>
FreeBSD UNIX:  <cy at FreeBSD.org>   Web:  http://www.FreeBSD.org

	The need of the many outweighs the greed of the few.




More information about the freebsd-ports mailing list