index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | extra/mariadb/PKGBUILD | 22 |
diff --git a/extra/mariadb/PKGBUILD b/extra/mariadb/PKGBUILD index f92fe1d3..3f6a4f9c 100644 --- a/extra/mariadb/PKGBUILD +++ b/extra/mariadb/PKGBUILD @@ -1,3 +1,14 @@ +# add -latomic where needed +# e.g.TARGET_LINK_LIBRARIES(mariabackup sql crc atomic) +source+=('mariadb-10.1.32-atomic.patch') +sha256sums+=('194e43ca5468d4f4634f45eed6aaf08865c2d351fcc500696d4dc578fe94902e') +eval "$( + declare -f prepare | \ + sed ' + /patch -Np1.*openssl-1-1-0.patch/ a \ patch -Np1 -i "${srcdir}/mariadb-10.1.32-atomic.patch" + ' +)" + # 486-specific if [ "${CARCH}" = "i486" ]; then # no java @@ -7,15 +18,4 @@ if [ "${CARCH}" = "i486" ]; then s/cmake /cmake -DCONNECT_WITH_JDBC=0 / ' )" - - # add -latomic where needed - # e.g.TARGET_LINK_LIBRARIES(mariabackup sql crc atomic) - source+=('mariadb-10.1.32-atomic.patch') - sha256sums+=('194e43ca5468d4f4634f45eed6aaf08865c2d351fcc500696d4dc578fe94902e') - eval "$( - declare -f prepare | \ - sed ' - /patch -Np1.*openssl-1-1-0.patch/ a \ patch -Np1 -i "${srcdir}/mariadb-10.1.32-atomic.patch" - ' - )" fi |