Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Dec 2020 14:45:04 -0600
From:      Kyle Evans <kevans@freebsd.org>
To:        Mikhail Teterin <mi@freebsd.org>
Cc:        ports-committers <ports-committers@freebsd.org>, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r559774 - in head: editors/xcoral lang/scm lang/scm/files
Message-ID:  <CACNAnaFbby3ALTY_u%2B5ZwwoAT4ymfFWXu2Jh5D4%2BOXk8HSTAOA@mail.gmail.com>
In-Reply-To: <202012312021.0BVKLqLI084717@repo.freebsd.org>
References:  <202012312021.0BVKLqLI084717@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 31, 2020 at 2:21 PM Mikhail Teterin <mi@freebsd.org> wrote:
>
> Author: mi
> Date: Thu Dec 31 20:21:52 2020
> New Revision: 559774
> URL: https://svnweb.freebsd.org/changeset/ports/559774
>
> Log:
>   Start searching for headers and libraries under ${LOCALBASE}/ --
>   in case newer implementations of anything are installed there.
>
>   When compiling on 13.x or above, insist on libgnuregex version above
>   5 -- earlier FreeBSD releases came with libgnuregex.so.5, but that's
>   now gone and replaced by the devel/libgnuregex port, which currently
>   installs libgnuregex.so.6.
>
> [... snip ...]
>
> Modified: head/lang/scm/Makefile
> ==============================================================================
> --- head/lang/scm/Makefile      Thu Dec 31 20:12:18 2020        (r559773)
> +++ head/lang/scm/Makefile      Thu Dec 31 20:21:52 2020        (r559774)
> @@ -56,6 +56,10 @@ SCM_MODULES_X11=x.so
>
>  .include <bsd.port.pre.mk>
>
> +.if ${OSVERSION} > 1300000
> +LIB_DEPENDS+=  libgnuregex.so.[6-9]:devel/libgnuregex
> +.endif
> +
>  .if ${PORT_OPTIONS:MX11}
>  SCM_MODULES+=  ${SCM_MODULES_X11}
>  SCM_DATA+=     ${SCM_DATA_X11}
>

You should go ahead and drop the soversion suffix if you're going to
do it this way. It's only necessary at all if you're going to let
older FreeBSD versions use the non-broken version.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaFbby3ALTY_u%2B5ZwwoAT4ymfFWXu2Jh5D4%2BOXk8HSTAOA>