summaryrefslogtreecommitdiff
path: root/x11/qt4-libs
diff options
context:
space:
mode:
authorwiz <wiz>2014-08-13 09:17:35 +0000
committerwiz <wiz>2014-08-13 09:17:35 +0000
commitbe5b56c5b090c81f7d9c1163385e6ce20b63ca3d (patch)
treeefe45a7c6aa035920781d1ed6d2abedc8f6d0e84 /x11/qt4-libs
parent4095b03cc0a189c1b238bb673ca496c008509cb9 (diff)
downloadpkgsrc-be5b56c5b090c81f7d9c1163385e6ce20b63ca3d.tar.gz
Fix pkg-config files (they contained duplicate lines, which made
pkg-config fall over). From Niclas Rosenvik in private mail. Bump PKGREVISION.
Diffstat (limited to 'x11/qt4-libs')
-rw-r--r--x11/qt4-libs/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/x11/qt4-libs/Makefile b/x11/qt4-libs/Makefile
index 2e41d311773..499f2dd4d5c 100644
--- a/x11/qt4-libs/Makefile
+++ b/x11/qt4-libs/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.99 2014/07/22 17:01:51 wiz Exp $
+# $NetBSD: Makefile,v 1.100 2014/08/13 09:17:35 wiz Exp $
PKGNAME= qt4-libs-${QTVERSION}
+PKGREVISION= 1
COMMENT= C++ X GUI toolkit
.include "../../x11/qt4-libs/Makefile.common"
@@ -93,7 +94,7 @@ do-install:
${DESTDIR}${QTPREFIX}/lib/
sed -e "s:${WRKSRC}:${QTPREFIX}:g" \
-e "s:${QTPREFIX}/lib/lib\\([A-Za-z3]*\\)\\.la:-l\\1:g" \
- ${WRKSRC}/lib/pkgconfig/${f}.pc > ${WRKDIR}/${f}.pc
+ ${WRKSRC}/lib/pkgconfig/${f}.pc | ${AWK} '!x[$$0]++' > ${WRKDIR}/${f}.pc
${INSTALL_DATA} ${WRKDIR}/${f}.pc ${DESTDIR}${PREFIX}/lib/pkgconfig/
.endfor
${INSTALL_DATA} ${WRKSRC}/tools/porting/src/q3porting.xml ${DESTDIR}${QTPREFIX}