summaryrefslogtreecommitdiff
path: root/x11/qt5-qttools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/qt5-qttools/Makefile')
-rw-r--r--x11/qt5-qttools/Makefile13
1 files changed, 4 insertions, 9 deletions
diff --git a/x11/qt5-qttools/Makefile b/x11/qt5-qttools/Makefile
index 22ae5cdacfb..8d27f35ff65 100644
--- a/x11/qt5-qttools/Makefile
+++ b/x11/qt5-qttools/Makefile
@@ -1,15 +1,11 @@
-# $NetBSD: Makefile,v 1.12 2014/12/27 22:57:13 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2014/12/30 17:23:47 adam Exp $
+DISTNAME= qttools-opensource-src-${QTVERSION}
PKGNAME= qt5-qttools-${QTVERSION}
-PKGREVISION= 2
COMMENT= Qt5 tools
DEPENDS+= xdg-utils-[0-9]*:../../misc/xdg-utils
-USE_LIBTOOL= yes
-CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib
-
-BUILD_DIRS= qttools
MAKE_ENV+= QTDIR=${QTDIR}
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
@@ -22,9 +18,8 @@ QTPKGCONFIGPC= Qt5CLucene.pc Qt5DesignerComponents.pc Qt5UiTools.pc \
post-install:
.for i in ${QTPKGCONFIGPC}
- ${RM} -f ${DESTDIR}${PREFIX}/lib/pkgconfig/${i} && \
- cd ${DESTDIR}${PREFIX}/lib/pkgconfig && \
- ln -s ${QTPREFIX}/lib/pkgconfig/${i} ${i}
+ cd ${DESTDIR}${PREFIX}/lib/pkgconfig && \
+ ln -f -s ${QTPREFIX}/lib/pkgconfig/${i} ${i}
.endfor
.include "../../x11/qt5-dbus/buildlink3.mk"