pkgsrc-WIP-changes archive

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

libbsd: improve buildlink file.



Module Name:	pkgsrc-wip
Committed By:	Paolo Vincenzo Olivo <vms%retrobsd.ddns.net@localhost>
Pushed By:	vms
Date:		Thu Dec 1 10:09:58 2022 +0100
Changeset:	e53afcba4d29bf5cbb33e660511c527d3cdcdef6

Modified Files:
	libbsd/buildlink3.mk

Log Message:
libbsd: improve buildlink file.

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

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

diffstat:
 libbsd/buildlink3.mk | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diffs:
diff --git a/libbsd/buildlink3.mk b/libbsd/buildlink3.mk
index ea9123bc37..d993aa9536 100644
--- a/libbsd/buildlink3.mk
+++ b/libbsd/buildlink3.mk
@@ -5,8 +5,13 @@ BUILDLINK_TREE+=	libbsd
 .if !defined(LIBBSD_BUILDLINK3_MK)
 LIBBSD_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.libbsd+=	libbsd>=0.11.6
+BUILDLINK_API_DEPENDS.libbsd+=	libbsd>=0.11.0
 BUILDLINK_PKGSRCDIR.libbsd?=	../../devel/libbsd
+
+BUILDLINK_CFLAGS.libbsd+=       -I${BUILDLINK_PREFIX.libbsd}/include/bsd -DLIBBSD_OVERLAY
+BUILDLINK_LIBS.libbsd+=         -lbsd -lmd
+
+.include "../../devel/libmd/buildlink3.mk"
 .endif	# LIBBSD_BUILDLINK3_MK
 
 BUILDLINK_TREE+=	-libbsd


Home | Main Index | Thread Index | Old Index