Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2023 11:02:18 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 82afcc13ccae - main - devel/pructl: fix link by adding -lBlocksRuntime
Message-ID:  <202302191102.31JB2IQw052522@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=82afcc13ccae2d8573525d3a44f7d87d8d2a6bfe

commit 82afcc13ccae2d8573525d3a44f7d87d8d2a6bfe
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2023-01-31 22:41:20 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-02-19 11:01:38 +0000

    devel/pructl: fix link by adding -lBlocksRuntime
    
    PR:             269268
    MFH:            2023Q1
    Approved by:    maintainer timeout (2 weeks)
    Approved by:    flo (mentor)
    Differential Revision: https://reviews.freebsd.org/D38623
---
 devel/pructl/Makefile                   | 11 +++++------
 devel/pructl/distinfo                   |  6 +++---
 devel/pructl/files/patch-CMakeLists.txt |  3 +--
 3 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/devel/pructl/Makefile b/devel/pructl/Makefile
index 6c370e7b69ae..dd215edff64c 100644
--- a/devel/pructl/Makefile
+++ b/devel/pructl/Makefile
@@ -1,4 +1,5 @@
 PORTNAME=	pructl
+DISTVERSIONPREFIX=	v
 DISTVERSION=	0.2
 PORTREVISION=	1
 CATEGORIES=	devel
@@ -11,15 +12,13 @@ WWW=		https://bitbucket.org/rpaulo/pructl
 
 LICENSE=	BSD2CLAUSE
 
-BROKEN=		does not build: /lib/libc.so.7: undefined reference to _Block_copy
-
-USE_GITHUB=	yes
-GH_ACCOUNT=	rpaulo
-GH_TAGNAME=	v0.2
-
 LIB_DEPENDS=	libpru.so:devel/libpru
 
 USES=		cmake libedit
 USE_CSTD=	c99
+USE_GITHUB=	yes
+GH_ACCOUNT=	rpaulo
+
+LDFLAGS+=	-lBlocksRuntime
 
 .include <bsd.port.mk>
diff --git a/devel/pructl/distinfo b/devel/pructl/distinfo
index e02a56d92ff3..eee0a82eccdd 100644
--- a/devel/pructl/distinfo
+++ b/devel/pructl/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1600805117
-SHA256 (rpaulo-pructl-0.2-v0.2_GH0.tar.gz) = 544bdf6fe5c23f311a4a7969fd1a67c8dab860a73beebb972d501d393c400712
-SIZE (rpaulo-pructl-0.2-v0.2_GH0.tar.gz) = 5395
+TIMESTAMP = 1675204504
+SHA256 (rpaulo-pructl-v0.2_GH0.tar.gz) = 544bdf6fe5c23f311a4a7969fd1a67c8dab860a73beebb972d501d393c400712
+SIZE (rpaulo-pructl-v0.2_GH0.tar.gz) = 5395
diff --git a/devel/pructl/files/patch-CMakeLists.txt b/devel/pructl/files/patch-CMakeLists.txt
index f378dd44e6f6..c1ae421363e8 100644
--- a/devel/pructl/files/patch-CMakeLists.txt
+++ b/devel/pructl/files/patch-CMakeLists.txt
@@ -1,9 +1,8 @@
 --- CMakeLists.txt.orig	2018-12-24 20:28:37 UTC
 +++ CMakeLists.txt
-@@ -8,5 +8,5 @@ find_library(libedit NAMES edit)
+@@ -8,5 +8,4 @@ find_library(libedit NAMES edit)
  find_library(libutil NAMES util)
  target_link_libraries(pructl ${libpru})
  target_link_libraries(prudbg ${libpru} ${libedit} ${libutil})
 -set(CMAKE_C_FLAGS "-Weverything -Werror")
-+set(CMAKE_C_FLAGS "-Werror")
  install(TARGETS pructl prudbg DESTINATION sbin)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302191102.31JB2IQw052522>