git: 47faf2001b96 - main - */*: Replace ${.CURDIR}/../.. => ${.CURDIR:H:H} for mdds consumers

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Fri, 04 Sep 2026 18:10:59 UTC
The branch main has been updated by fluffy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=47faf2001b964acd6b06f0c38f52c7af8ac4aefc

commit 47faf2001b964acd6b06f0c38f52c7af8ac4aefc
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2026-09-04 18:10:03 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2026-09-04 18:10:03 +0000

    */*: Replace ${.CURDIR}/../.. => ${.CURDIR:H:H} for mdds consumers
---
 devel/liborcus/Makefile        | 2 +-
 devel/mdds/Makefile            | 2 +-
 editors/libreoffice/Makefile   | 2 +-
 graphics/libetonyek01/Makefile | 2 +-
 textproc/libixion/Makefile     | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/devel/liborcus/Makefile b/devel/liborcus/Makefile
index 7ea6f5907c92..c4631fb02de7 100644
--- a/devel/liborcus/Makefile
+++ b/devel/liborcus/Makefile
@@ -41,7 +41,7 @@ STATIC_CONFIGURE_ENABLE=	static
 
 PLIST_SUB=	VERSION=${PORTVERSION:R}
 
-.include "${.CURDIR}/../../devel/mdds/Makefile.version"
+.include "${.CURDIR:H:H}/devel/mdds/Makefile.version"
 
 post-patch:
 	${REINPLACE_CMD} -e 's/mdds-3.0/mdds-${MDDS_API_VERSION}/' ${WRKSRC}/configure.ac
diff --git a/devel/mdds/Makefile b/devel/mdds/Makefile
index 2817bc1e3d4d..64e43c26570c 100644
--- a/devel/mdds/Makefile
+++ b/devel/mdds/Makefile
@@ -17,6 +17,6 @@ USE_GITLAB=	yes
 GL_ACCOUNT=	mdds
 
 PLIST_SUB=	API_VERSION=${MDDS_API_VERSION}
-.include "${.CURDIR}/../../devel/mdds/Makefile.version"
+.include "${.CURDIR:H:H}/devel/mdds/Makefile.version"
 
 .include <bsd.port.mk>
diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile
index bb5751197216..500780376456 100644
--- a/editors/libreoffice/Makefile
+++ b/editors/libreoffice/Makefile
@@ -360,7 +360,7 @@ BINARY_ALIAS=	sed=gsed
 PIE_UNSAFE=	yes
 #MAKE_JOBS_UNSAFE=	yes
 
-.include "${.CURDIR}/../../devel/mdds/Makefile.version"
+.include "${.CURDIR:H:H}/devel/mdds/Makefile.version"
 
 .include <bsd.port.options.mk>
 
diff --git a/graphics/libetonyek01/Makefile b/graphics/libetonyek01/Makefile
index 26785416f562..85229905da6a 100644
--- a/graphics/libetonyek01/Makefile
+++ b/graphics/libetonyek01/Makefile
@@ -35,6 +35,6 @@ CONFIGURE_ARGS=	--disable-tests --disable-werror --without-docs \
 		--with-mdds=${MDDS_VERSION}
 
 MDDS_VERSION=	${MDDS_API_VERSION}
-.include "${.CURDIR}/../../devel/mdds/Makefile.version"
+.include "${.CURDIR:H:H}/devel/mdds/Makefile.version"
 
 .include <bsd.port.mk>
diff --git a/textproc/libixion/Makefile b/textproc/libixion/Makefile
index 2f069cc674ba..1aaf122356f4 100644
--- a/textproc/libixion/Makefile
+++ b/textproc/libixion/Makefile
@@ -32,7 +32,7 @@ PLIST_SUB=	VERSION=${DISTVERSION:R}
 
 CONFIGURE_ARGS=	--disable-python
 
-.include "${.CURDIR}/../../devel/mdds/Makefile.version"
+.include "${.CURDIR:H:H}/devel/mdds/Makefile.version"
 
 post-patch:
 	${REINPLACE_CMD} -e 's/mdds-3.0/mdds-${MDDS_API_VERSION}/' ${WRKSRC}/configure.ac