summaryrefslogtreecommitdiff
path: root/user/kdiff3/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/kdiff3/APKBUILD')
-rw-r--r--user/kdiff3/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/user/kdiff3/APKBUILD b/user/kdiff3/APKBUILD
index 925b10184..ff523e7ed 100644
--- a/user/kdiff3/APKBUILD
+++ b/user/kdiff3/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=kdiff3
-pkgver=1.8.3
+pkgver=1.8.4
pkgrel=0
pkgdesc="Diff/Patch frontend for KDE"
url="https://kde.org/applications/development/org.kde.kdiff3"
@@ -20,6 +20,11 @@ build() {
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
+
+ case $CTARGET_ARCH in
+ ppc) export LDFLAGS="$LDFLAGS -Wl,--no-as-needed -latomic -Wl,--as-needed";;
+ esac
+
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
@@ -40,4 +45,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="5cadd1cfe7e85a1dfb81c4f1cb685f988b0155b581ffa38653d4df30172b6a1ee4ed4269869285b5add3ca163eae88645d702e6fc84380229ac09ea14dd20a4d kdiff3-1.8.3.tar.xz"
+sha512sums="100632f7656e53f567faec8efea1aba132916e7b6c9569b2bacb7da1081f1dd126e27825663fb860f3d40cb205cf3c1817dd28ea560b9e650b5002e3d89dd9d8 kdiff3-1.8.4.tar.xz"