Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 2019 22:55:20 -0700
From:      Cy Schubert <Cy.Schubert@cschubert.com>
To:        freebsd-ports@freebsd.org
Subject:   git submodule
Message-ID:  <201908290555.x7T5tKRa052518@slippy.cwsent.com>

next in thread | raw e-mail | index | archive | help
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@cschubert.com>
FreeBSD UNIX:  <cy@FreeBSD.org>   Web:  http://www.FreeBSD.org

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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908290555.x7T5tKRa052518>