Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to build on GNU/kFreeBSD #98

Open
clinty opened this issue Sep 10, 2016 · 2 comments
Open

fails to build on GNU/kFreeBSD #98

clinty opened this issue Sep 10, 2016 · 2 comments

Comments

@clinty
Copy link

clinty commented Sep 10, 2016

lib/Network/Http/Inconvenience.hs only imports System.Directory (doesDirectoryExist) if LINUX is defined. This causes a build failure on Debian GNU/kFreeBSD, where LINUX is not defined but that import is necessary.

@istathar
Copy link
Member

Ok, what's the operating system identify itself as then, as far as Cabal is concerned? If it's something weird we can special case it in Setup.hs I guess.

@clinty
Copy link
Author

clinty commented Sep 15, 2016

I'm not sure if this answers the question, but cpp defines both FreeBSD_kernel and GLIBC on kfreebsd-am64

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants