Avoid building the webapp on Debian architectures that do not yet have template haskell and thus yesod. (Should be available for arm soonish I hope).
This commit is contained in:
parent
b7df987adb
commit
5849c3f24b
4 changed files with 15 additions and 7 deletions
7
debian/rules
vendored
7
debian/rules
vendored
|
@ -1,6 +1,11 @@
|
|||
#!/usr/bin/make -f
|
||||
|
||||
export GIT_ANNEX_LOCAL_FEATURES=-DWITH_OLD_YESOD
|
||||
ARCH = $(shell dpkg-architecture -qDEB_BUILD_ARCH)
|
||||
ifeq (install ok installed,$(shell dpkg-query -W -f '$${Status}' libghc-yesod-dev 2>/dev/null))
|
||||
export FEATURES=-DWITH_ASSISTANT -DWITH_S3 -DWITH_OLD_YESOD -DWITH_WEBAPP -DWITH_PAIRING
|
||||
else
|
||||
export FEATURES=-DWITH_ASSISTANT -DWITH_S3 -DWITH_PAIRING
|
||||
endif
|
||||
|
||||
%:
|
||||
dh $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue