git: 8fbdcf313727 - main - devel/gettext-tools: Fix build with non-default prefix
Gerald Pfeifer
gerald at FreeBSD.org
Tue Sep 7 15:55:30 UTC 2021
The branch main has been updated by gerald:
URL: https://cgit.FreeBSD.org/ports/commit/?id=8fbdcf31372717b09c55a4f6376f447e0b970dc1
commit 8fbdcf31372717b09c55a4f6376f447e0b970dc1
Author: Gerald Pfeifer <gerald at FreeBSD.org>
AuthorDate: 2021-09-07 15:54:45 +0000
Commit: Gerald Pfeifer <gerald at FreeBSD.org>
CommitDate: 2021-09-07 15:54:45 +0000
devel/gettext-tools: Fix build with non-default prefix
Building this port with a non-default prefix gives the following:
msgmerge.c:35:10: fatal error: 'textstyle.h' file not found
#include <textstyle.h>
^~~~~~~~~~~~~
1 error generated.
*** [msgmerge-msgmerge.o] Error code 1
That is, textstyle.h is present in the appropriate location under
our prefix, alas it's not found.
USES=localbase addresses this.
PR: 258286
Approved by: tijl (maintainer)
---
devel/gettext-tools/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/devel/gettext-tools/Makefile b/devel/gettext-tools/Makefile
index 87295252e4ed..ad69489bc4a8 100644
--- a/devel/gettext-tools/Makefile
+++ b/devel/gettext-tools/Makefile
@@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/../COPYING
BUILD_DEPENDS= libtextstyle>=${PORTVERSION}:devel/libtextstyle
LIB_DEPENDS= libtextstyle.so:devel/libtextstyle
-USES= charsetfix cpe gettext-runtime iconv libtool tar:xz
+USES= charsetfix cpe gettext-runtime iconv libtool localbase tar:xz
USE_LDCONFIG= yes
CPE_PRODUCT= gettext
More information about the dev-commits-ports-all
mailing list