pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libbgcode: Rely on heatshink binary from buildlink, and export bgcode binary through build link files.



Module Name:	pkgsrc-wip
Committed By:	Paul Ripke <stix%stix.id.au@localhost>
Pushed By:	stix
Date:		Sun Mar 30 12:06:31 2025 +1100
Changeset:	38ededbb733a8a051a01e6d5a47065ea73d13d0a

Modified Files:
	libbgcode/Makefile
	libbgcode/buildlink3.mk

Log Message:
libbgcode: Rely on heatshink binary from buildlink, and export bgcode binary through build link files.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=38ededbb733a8a051a01e6d5a47065ea73d13d0a

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 libbgcode/Makefile      | 9 ++-------
 libbgcode/buildlink3.mk | 1 +
 2 files changed, 3 insertions(+), 7 deletions(-)

diffs:
diff --git a/libbgcode/Makefile b/libbgcode/Makefile
index 697c7d4afe..e163356ac3 100644
--- a/libbgcode/Makefile
+++ b/libbgcode/Makefile
@@ -11,13 +11,8 @@ HOMEPAGE=	https://www.github.com/prusa3d/libbgcode
 COMMENT=	Prusa Block & Binary G-code reader/writer/converter
 LICENSE=	gnu-agpl-v3
 
-USE_LANGUAGES=	c c++
-USE_TOOLS+=	gmake
-#CMAKE_CONFIGURE_ARGS+=	-DLibBGCode_BUILD_DEPS=on
-
-# CMake goes looking for this binary. Make it happy.
-pre-configure:
-	${LN} -sf ${PREFIX}/bin/heatshrink ${BUILDLINK_DIR}/bin/
+USE_LANGUAGES=		c c++
+USE_TOOLS+=		gmake
 
 .include "../../mk/bsd.prefs.mk"
 
diff --git a/libbgcode/buildlink3.mk b/libbgcode/buildlink3.mk
index 0021b7aed7..c0ba321ed0 100644
--- a/libbgcode/buildlink3.mk
+++ b/libbgcode/buildlink3.mk
@@ -7,6 +7,7 @@ LIBBGCODE_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.libbgcode+=	libbgcode>=20231123
 BUILDLINK_PKGSRCDIR.libbgcode?=		../../wip/libbgcode
+BUILDLINK_FILES.libbgcode+=		bin/bgcode
 
 .include "../../devel/boost-headers/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"


Home | Main Index | Thread Index | Old Index