summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2012-02-28 15:05:07 +0000
committerhans <hans@pkgsrc.org>2012-02-28 15:05:07 +0000
commita753fbe977668fb6b90db8015d59d4da88ea4349 (patch)
treeb13fc0a3ce057aa671a96b29358c5a188166a09a /mk
parent65471d840c0055cf6003e533e706d141fd565e01 (diff)
downloadpkgsrc-a753fbe977668fb6b90db8015d59d4da88ea4349.tar.gz
Enable fuse on SunOS.
Diffstat (limited to 'mk')
-rw-r--r--mk/fuse.buildlink3.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/fuse.buildlink3.mk b/mk/fuse.buildlink3.mk
index 6f150091fc4..7024873aa35 100644
--- a/mk/fuse.buildlink3.mk
+++ b/mk/fuse.buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: fuse.buildlink3.mk,v 1.12 2011/07/09 12:33:40 tron Exp $
+# $NetBSD: fuse.buildlink3.mk,v 1.13 2012/02/28 15:05:07 hans Exp $
#
# Makefile fragment for packages using the FUSE framework.
#
@@ -34,6 +34,13 @@ BUILDLINK_PASSTHRU_DIRS+= /usr/local/include/fuse
. include "../../filesystems/fuse/buildlink3.mk"
+. elif !empty(MACHINE_PLATFORM:MSunOS-5.11-*)
+
+. if !exists(/usr/include/fuse/fuse.h)
+PKG_FAIL_REASON+= "Couldn't find fuse headers, please install libfuse."
+. endif
+. include "../../filesystems/fuse/buildlink3.mk"
+
. elif ${OPSYS} == "NetBSD"
. if !exists(/usr/include/fuse.h)
PKG_FAIL_REASON+= "Couldn't find fuse headers, please install librefuse."