git: 009c251da4e0 - main - devel/subversion/Makefile.addons: Add missing .include

From: Joseph Mingrone <jrm_at_FreeBSD.org>
Date: Fri, 04 Oct 2024 18:42:01 UTC
The branch main has been updated by jrm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=009c251da4e078b2048d99c352a4d5b5c2c2b07b

commit 009c251da4e078b2048d99c352a4d5b5c2c2b07b
Author:     Joseph Mingrone <jrm@FreeBSD.org>
AuthorDate: 2024-10-01 17:53:46 +0000
Commit:     Joseph Mingrone <jrm@FreeBSD.org>
CommitDate: 2024-10-04 18:32:45 +0000

    devel/subversion/Makefile.addons: Add missing .include
    
    Users who incorrectly set WITH_SUBVERSION_VER to something other than
    latest or LTS encounter errors.
    
    make -C/usr/ports/devel/py-subversion -VPORTNAME
    make: "/usr/ports/Mk/bsd.port.mk" line 1829: Malformed conditional (${ARCH} == "amd64")
            in /usr/share/mk/bsd.port.mk:27
            in /usr/share/mk/bsd.port.post.mk:4
            in /usr/ports/devel/py-subversion/Makefile:34
    ...
    
    Resolve these errors by adding a missing .include directive.
    
    PR:             281750
    Sponsored by:   The FreeBSD Foundation
    Differential Revision:  https://reviews.freebsd.org/D46807
---
 devel/subversion/Makefile.addons | 1 +
 1 file changed, 1 insertion(+)

diff --git a/devel/subversion/Makefile.addons b/devel/subversion/Makefile.addons
index 09d12ccf3a01..fbe1772a57a8 100644
--- a/devel/subversion/Makefile.addons
+++ b/devel/subversion/Makefile.addons
@@ -23,4 +23,5 @@ MASTERDIR=		${.CURDIR}/../../devel/subversion-lts
 .include		"${MASTERDIR}/Makefile.common"
 .else
 BROKEN=			Wrong WITH_SUBVERSION_VER=${WITH_SUBVERSION_VER}, only latest (default) and LTS are supported
+.include <bsd.port.pre.mk>
 .endif