diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2007-02-20 22:56:35 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2007-02-20 22:56:35 +0000 |
commit | af9810cf6a7d3455b310f89db3ac0856b8c75379 (patch) | |
tree | 68ec7c617b367933304b3030dbab29b2cb23f7b2 /mk | |
parent | ad6f6f86a21ecce7179917bc6f21062862dc710a (diff) | |
download | pkgsrc-af9810cf6a7d3455b310f89db3ac0856b8c75379.tar.gz |
If OS is not linux or NetBSD with /usr/include/fuse.h, use
PKG_FAIL_REASON.
FreeBSD and Linux support needs changes yet...
Diffstat (limited to 'mk')
-rw-r--r-- | mk/fuse.buildlink3.mk | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/mk/fuse.buildlink3.mk b/mk/fuse.buildlink3.mk index 6c0054591b5..c9b9910df33 100644 --- a/mk/fuse.buildlink3.mk +++ b/mk/fuse.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: fuse.buildlink3.mk,v 1.3 2007/02/18 22:37:51 xtraeme Exp $ +# $NetBSD: fuse.buildlink3.mk,v 1.4 2007/02/20 22:56:35 xtraeme Exp $ # # Makefile fragment for packages using the FUSE framework. # @@ -8,8 +8,11 @@ FUSE_BUILDLINK3_MK= # defined .include "../../mk/bsd.prefs.mk" -# NetBSD -. if (!empty(OPSYS:MNetBSD) && exists(/usr/include/fuse.h)) +. if !empty(OPSYS:MLinux) # Linux + +. include "../../filesystems/fusefs/buildlink3.mk" + +. elif (!empty(OPSYS:MNetBSD) && exists(/usr/include/fuse.h)) # NetBSD . if !empty(USE_TOOLS:C/:.*//:Mpkg-config) do-configure-pre-hook: override-fuse-pkgconfig @@ -55,10 +58,10 @@ SUBST_FILES.refuse+= ${_f_} SUBST_SED.refuse= -e "s|fuse_main|fuse_exit|g" . endif -. else # Linux +. else # !NetBSD -. include "${PKGSRCDIR}/filesystems/fusefs/buildlink3.mk" +PKG_FAIL_REASON+= "Your OS is not supported by the FUSE pkgsrc framework." -. endif # End of systems +. endif # end of Operating Systems .endif # FUSE_BUILDLINK3_MK |