aboutsummaryrefslogtreecommitdiff
path: root/finance/qhacc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'finance/qhacc/Makefile')
-rw-r--r--finance/qhacc/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/finance/qhacc/Makefile b/finance/qhacc/Makefile
index d4fed19b5c9b..e85a0662445b 100644
--- a/finance/qhacc/Makefile
+++ b/finance/qhacc/Makefile
@@ -3,7 +3,7 @@
PORTNAME= qhacc
PORTVERSION= 4.3
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= finance
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
@@ -14,7 +14,7 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libgpgme.so:security/gpgme \
- libqwt6.so:x11-toolkits/qwt6
+ libqwt6.so:x11-toolkits/qwt6@qt4
USES= compiler:c++11-lib qmake:norecursive tar:tgz
USE_QT4= corelib gui sql moc_build rcc_build uic_build
@@ -28,8 +28,8 @@ OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e \
'/^INSTALLDIR/s|=.*|=${DATADIR}| ; \
- /^QWTINCS/s|=.*|=${LOCALBASE}/include/qwt6| ; \
- /^QWTLIBS/s|=.*|=${LOCALBASE}/lib -lqwt6| ; \
+ /^QWTINCS/s|=.*|=${QT_INCDIR}/qwt6| ; \
+ /^QWTLIBS/s|=.*|=${QT_LIBDIR} -lqwt6| ; \
/+= debug/s|^|#| ; \
/^QMAKE_CFLAGS/s|=.*|= $$$${GPGMEINCS}| ; \
/^QMAKE_CXXFLAGS/s|=.*|= $$$${GPGMEINCS}| ; \