Skip to content

Commit

Permalink
devel/binaryen: Fix localbase:ldflags USES
Browse files Browse the repository at this point in the history
- Use localbase:ldflags only on test target where it is needed.
  • Loading branch information
nunotexbsd committed Feb 28, 2024
1 parent 6e8ae44 commit 79a1528
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion devel/binaryen/Makefile
@@ -1,6 +1,7 @@
PORTNAME= binaryen
DISTVERSIONPREFIX= version_
DISTVERSION= 117
PORTREVISION= 1
CATEGORIES= devel

MAINTAINER= eduardo@FreeBSD.org
Expand All @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 79a1528

Please sign in to comment.