This commit is contained in:
parent
0d0121e9b8
commit
a596e655da
1 changed files with 23 additions and 0 deletions
23
doc/bugs/FreeBSD_patches.mdwn
Normal file
23
doc/bugs/FreeBSD_patches.mdwn
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
diff --git a/git-annex.cabal b/git-annex.cabal
|
||||||
|
index 0a50878eb..63d79bde9 100644
|
||||||
|
--- a/git-annex.cabal
|
||||||
|
+++ b/git-annex.cabal
|
||||||
|
@@ -396,8 +396,7 @@ Executable git-annex
|
||||||
|
GHC-Options: -O0
|
||||||
|
|
||||||
|
-- Avoid linking with unused dynamic libaries.
|
||||||
|
- -- (Only tested on Linux).
|
||||||
|
- if os(Linux)
|
||||||
|
+ if os(Linux) || os(freebsd)
|
||||||
|
GHC-Options: -optl-Wl,--as-needed
|
||||||
|
|
||||||
|
if (os(windows))
|
||||||
|
@@ -517,7 +516,7 @@ Executable git-annex
|
||||||
|
Other-Modules: Utility.DirWatcher.Kqueue
|
||||||
|
|
||||||
|
if flag(Dbus)
|
||||||
|
- if (os(linux))
|
||||||
|
+ if os(linux) || os(freebsd)
|
||||||
|
Build-Depends: dbus (>= 0.10.7), fdo-notify (>= 0.3)
|
||||||
|
CPP-Options: -DWITH_DBUS -DWITH_DESKTOP_NOTIFY -DWITH_DBUS_NOTIFICATIONS
|
||||||
|
Other-Modules: Utility.DBus
|
Loading…
Add table
Add a link
Reference in a new issue