Re: git: e64a521227ca - main - java/javamail: unbreak build after 3166f9b4ba3622ba64b9882deb2f64fda6410cb9

From: Ronald Klop <ronald-lists_at_klop.ws>
Date: Fri, 12 Dec 2025 09:09:09 UTC
Thanks for the fix. I overlooked that. Didn't see errors in my poudriere testing.

Where did you see this error message?

NB: The port has a DISTVERSION and a PORTREVISION. I don't see PORTVERSION in the Makefile.

Regards,
Ronald.

 
Van: Dima Panov <fluffy@FreeBSD.org>
Datum: vrijdag, 12 december 2025 09:51
Aan: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Onderwerp: git: e64a521227ca - main - java/javamail: unbreak build after 3166f9b4ba3622ba64b9882deb2f64fda6410cb9
> 
> The branch main has been updated by fluffy:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=e64a521227ca7fbc57e64a33f79c8eedb7234b89
> 
> commit e64a521227ca7fbc57e64a33f79c8eedb7234b89
> Author:     Dima Panov <fluffy@FreeBSD.org>
> AuthorDate: 2025-12-12 08:50:49 +0000
> Commit:     Dima Panov <fluffy@FreeBSD.org>
> CommitDate: 2025-12-12 08:50:49 +0000
> 
>     java/javamail: unbreak build after 3166f9b4ba3622ba64b9882deb2f64fda6410cb9
>     
>     /!\ javamail-1.6.2_2: Makefile errors /!\
>     
>     you cannot include bsd.port[.pre].mk twice
>     
>     Defining both PORTVERSION and DISTVERSION is wrong, only set one, if necessary,
>     set DISTNAME
> ---
>  java/javamail/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/java/javamail/Makefile b/java/javamail/Makefile
> index 0f995668d1ed..5595070dca98 100644
> --- a/java/javamail/Makefile
> +++ b/java/javamail/Makefile
> @@ -65,4 +65,4 @@ do-install:
>     @${ECHO_MSG} " [ DONE ]"
>  .endif
>  
> -.include <bsd.port.mk>
> +.include <bsd.port.post.mk>
>  
> 
> 
>