summaryrefslogtreecommitdiff
path: root/extra/hwloc/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
committerErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
commitbcb5133554da96e552b4d74fe48d336a80efebed (patch)
treed8a32204cde75836563f405691c83fc21f1fa95a /extra/hwloc/PKGBUILD
parent15cb4dca227b2a7873adc64350601dde8d85f985 (diff)
downloadpackages-bcb5133554da96e552b4d74fe48d336a80efebed.tar.xz
"if [ $CARCH = ... ]; then depends=..; fi" => "depends_...=..."
Diffstat (limited to 'extra/hwloc/PKGBUILD')
-rw-r--r--extra/hwloc/PKGBUILD8
1 files changed, 3 insertions, 5 deletions
diff --git a/extra/hwloc/PKGBUILD b/extra/hwloc/PKGBUILD
index f271a407..f2d05b95 100644
--- a/extra/hwloc/PKGBUILD
+++ b/extra/hwloc/PKGBUILD
@@ -1,5 +1,3 @@
-# i486-specific
-if [ "${CARCH}" = "i486" ]; then
- # no cairo
- makedepends=(${makedepends[@]//cairo/})
-fi
+# no cairo on i486
+makedepends=(${makedepends[@]//cairo/})
+makedepends_i686+=(cairo)