diff options
Diffstat (limited to 'x11/qt5-qtsensors/Makefile')
-rw-r--r-- | x11/qt5-qtsensors/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/x11/qt5-qtsensors/Makefile b/x11/qt5-qtsensors/Makefile index f44135dd712..c5016bda67b 100644 --- a/x11/qt5-qtsensors/Makefile +++ b/x11/qt5-qtsensors/Makefile @@ -1,12 +1,10 @@ -# $NetBSD: Makefile,v 1.8 2014/12/25 13:51:14 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2014/12/30 17:23:47 adam Exp $ +DISTNAME= qtsensors-opensource-src-${QTVERSION} PKGNAME= qt5-qtsensors-${QTVERSION} COMMENT= Qt5 module for Sensors -USE_LIBTOOL= yes -CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib - -BUILD_DIRS= qtsensors +BUILD_TARGET= sub-src MAKE_ENV+= QTDIR=${QTDIR} INSTALL_ENV+= INSTALL_ROOT=${DESTDIR} @@ -16,9 +14,8 @@ INSTALLATION_DIRS+= lib/pkgconfig post-install: .for i in Qt5Sensors.pc - ${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-qtdeclarative/buildlink3.mk" |