Skip to content

Commit

Permalink
finance/kmymoney: allow building with clang on powerpc
Browse files Browse the repository at this point in the history
  • Loading branch information
pkubaj committed Aug 12, 2023
1 parent b7134dd commit 4011448
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions finance/kmymoney/Makefile
@@ -1,6 +1,6 @@
PORTNAME= kmymoney
PORTVERSION= 5.1.3
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= finance kde
MASTER_SITES= KDE/stable/${PORTNAME}/${PORTVERSION}/src

Expand All @@ -14,8 +14,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt
LIB_DEPENDS= libalkimia5.so:finance/alkimia \
libKChart.so:graphics/kdiagram

USES= cmake desktop-file-utils gettext kde:5 pkgconfig qt:5 \
shared-mime-info shebangfix tar:xz
USES= cmake compiler:c++14-lang desktop-file-utils gettext kde:5 \
pkgconfig qt:5 shared-mime-info shebangfix tar:xz
USE_QT= buildtools:build core dbus gui network printsupport qmake:build \
sql testlib:build xml webkit widgets
USE_KDE= activities archive auth bookmarks codecs completion config \
Expand Down Expand Up @@ -95,14 +95,6 @@ WOOB_USES= python
WOOB_USE= qt=concurrent
WOOB_CMAKE_BOOL= ENABLE_WOOB

.include <bsd.port.options.mk>

.if ${ARCH} == powerpc
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler:c++14-lang
.endif

.if defined(MAINTAINER_MODE)
# Apply additional substitutions to pkg-plist generated by the 'makeplist' target
create-plist: stage
Expand Down

0 comments on commit 4011448

Please sign in to comment.