git: 79a152819c22 - main - devel/binaryen: Fix localbase:ldflags USES
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Feb 2024 09:34:30 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=79a152819c22de29d226f1cc4c5bc77b1fabeb80
commit 79a152819c22de29d226f1cc4c5bc77b1fabeb80
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2024-02-28 09:32:28 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2024-02-28 09:34:20 +0000
devel/binaryen: Fix localbase:ldflags USES
- Use localbase:ldflags only on test target where it is needed.
---
devel/binaryen/Makefile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/devel/binaryen/Makefile b/devel/binaryen/Makefile
index 823cd2737639..db06ff999a67 100644
--- a/devel/binaryen/Makefile
+++ b/devel/binaryen/Makefile
@@ -1,6 +1,7 @@
PORTNAME= binaryen
DISTVERSIONPREFIX= version_
DISTVERSION= 117
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= eduardo@FreeBSD.org
@@ -10,7 +11,7 @@ WWW= https://github.com/WebAssembly/binaryen
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= cmake cpe localbase:ldflags python:build
+USES= cmake cpe python:build
CPE_VENDOR= webassembly
USE_GITHUB= yes
GH_ACCOUNT= WebAssembly
@@ -20,6 +21,7 @@ OPTIONS_DEFINE= TEST
OPTIONS_SUB= yes
TEST_LIB_DEPENDS= libgtest.so:devel/googletest
+TEST_USES= localbase:ldflags
TEST_CMAKE_BOOL= BUILD_TESTS
do-test-TEST-on: