From 95df8a3830b910485fda5c16c85376ad163b62e3 Mon Sep 17 00:00:00 2001 From: marino Date: Fri, 17 Aug 2012 12:50:15 +0000 Subject: FUSE buildlink: Add DragonFly support DragonFly has NetBSD's librefuse so it can use NetBSD's FUSE configuration, with the caveat that -lpuffs be provided wherever lrefuse (or transformed -lfuse) is used. With this patch, DragonFly 3.x can build several FUSE packages out of the box. --- mk/fuse.buildlink3.mk | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mk') diff --git a/mk/fuse.buildlink3.mk b/mk/fuse.buildlink3.mk index 004d93e7ec3..85f49461e32 100644 --- a/mk/fuse.buildlink3.mk +++ b/mk/fuse.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: fuse.buildlink3.mk,v 1.14 2012/08/04 04:00:00 riastradh Exp $ +# $NetBSD: fuse.buildlink3.mk,v 1.15 2012/08/17 12:50:15 marino Exp $ # # Makefile fragment for packages using the FUSE framework. # @@ -44,11 +44,14 @@ PKG_FAIL_REASON+= "Couldn't find fuse headers, please install libfuse." . endif . include "../../filesystems/fuse/buildlink3.mk" -. elif ${OPSYS} == "NetBSD" +. elif ${OPSYS} == "NetBSD" || \ + !empty(MACHINE_PLATFORM:MDragonFly-[3-9]*-*) . if !exists(/usr/include/fuse.h) PKG_FAIL_REASON+= "Couldn't find fuse headers, please install librefuse." . endif +LDFLAGS.DragonFly+= -lpuffs + . if !empty(USE_TOOLS:C/:.*//:Mpkg-config) do-configure-pre-hook: override-fuse-pkgconfig -- cgit v1.2.3