Date: Fri, 12 Apr 2024 09:17:55 +0300 From: Gleb Popov <arrowd@freebsd.org> To: Matthias Fechner <mfechner@freebsd.org> Cc: "freebsd-ports@FreeBSD.org" <freebsd-ports@freebsd.org> Subject: Re: Package a second port (gitlab-ee instead of gitlab-ce) Message-ID: <CALH631mDNYn0ieau5E4z8_tnQe%2BSGNbo-3mRfzKSirA=bWdO3w@mail.gmail.com> In-Reply-To: <58745d45-46f3-4152-bc30-eee0794fe55c@freebsd.org> References: <58745d45-46f3-4152-bc30-eee0794fe55c@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 12, 2024 at 7:54=E2=80=AFAM Matthias Fechner <mfechner@freebsd.= org> wrote: > > Dear all, > > I maintain the www/gitlab-ce port and would like to make also a > www/gitlab-ee port available. > The ee port only needs another distfile and some very small > modifications in the FreeBSD Makefile. > > Is a slave port here an option? > > Or should I use another technique (maybe just include the gitlab-ce > Makefile in the ee port and overwrite and extend some targets?) > > Maybe someone has a suggestion here? > > Here a short diff, it will maybe best explain what I want: > https://gitlab.fechner.net/mfechner/Gitlab/-/commit/6240f36dba538becb3482= d0d3a16af2cd873bd31 The - GL_PROJECT=3D gitlab-foos + GL_PROJECT=3D gitlab part makes it use a completely different distfile. The problem is best solved by using FLAVORS, I guess. See https://docs.freebsd.org/en/books/porters-handbook/book/#flavors
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631mDNYn0ieau5E4z8_tnQe%2BSGNbo-3mRfzKSirA=bWdO3w>