diff options
author | marino <marino@pkgsrc.org> | 2012-08-17 12:50:15 +0000 |
---|---|---|
committer | marino <marino@pkgsrc.org> | 2012-08-17 12:50:15 +0000 |
commit | a864917129cf4b18a3465759ac4cbba5dd9082f9 (patch) | |
tree | 6f336b91d024d7c0328fa148fcab4825d770d4a2 /mk | |
parent | 3aaa657b6e88f319a763c9e362baa7851122ec62 (diff) | |
download | pkgsrc-a864917129cf4b18a3465759ac4cbba5dd9082f9.tar.gz |
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.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/fuse.buildlink3.mk | 7 |
1 files changed, 5 insertions, 2 deletions
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 |