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 | 06add7a47d0777b944f2d0506cbddbd7ad07acfd (patch) | |
tree | 68ec7c617b367933304b3030dbab29b2cb23f7b2 /mk/fuse.buildlink3.mk | |
parent | c69f6e54a888317b235d41b353105d659209c265 (diff) | |
download | pkgsrc-06add7a47d0777b944f2d0506cbddbd7ad07acfd.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/fuse.buildlink3.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 |