summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-08-13 09:17:35 +0000
committerwiz <wiz@pkgsrc.org>2014-08-13 09:17:35 +0000
commit9157a23296e654d851113033bd32218f5d2187bd (patch)
treeefe45a7c6aa035920781d1ed6d2abedc8f6d0e84 /x11
parent3279208a6b53112f801d0dd88b5236ff9ad8f46d (diff)
downloadpkgsrc-9157a23296e654d851113033bd32218f5d2187bd.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')
-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}