tech-pkg archive

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

Re: TOOL_DEPENDS



On Wed, Jul 31, 2024 at 02:55:21PM +0100, Robert Swindells wrote:
> Adding lang/ecl/buildlink3.mk to the lang/sbcl Makefile gets past this
> point but it then can't find the library for devel/libffi.

That looks like a bug in ecl/buildlink3.mk, try the attached diff.
 Thomas
Index: buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/ecl/buildlink3.mk,v
retrieving revision 1.9
diff -u -r1.9 buildlink3.mk
--- buildlink3.mk	9 Dec 2015 21:00:47 -0000	1.9
+++ buildlink3.mk	31 Jul 2024 14:00:43 -0000
@@ -9,6 +9,13 @@
 BUILDLINK_ABI_DEPENDS.ecl+=	ecl>=16.0.0
 BUILDLINK_PKGSRCDIR.ecl?=	../../lang/ecl
 
+pkgbase := ecl
+.include "../../mk/pkg-build-options.mk"
+
+.if ${PKG_BUILD_OPTIONS.ecl:Mffi}
+.include "../../devel/libffi/buildlink3.mk"
+.endif
+
 .include "../../devel/boehm-gc/buildlink3.mk"
 .include "../../devel/gmp/buildlink3.mk"
 .endif # ECL_BUILDLINK3_MK


Home | Main Index | Thread Index | Old Index