summaryrefslogtreecommitdiff
path: root/x11/qt4-libs
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2007-12-12 01:14:29 +0000
committermarkd <markd@pkgsrc.org>2007-12-12 01:14:29 +0000
commitcd01e043d498435b190faa802ab16812af371a21 (patch)
tree0b8518ce2e4ffee51d4ed0877bce5a44f180207f /x11/qt4-libs
parent9c548cadde0f2c4cabc70c9d7c1cc0bbdc095c7e (diff)
downloadpkgsrc-cd01e043d498435b190faa802ab16812af371a21.tar.gz
Don't directly reference libtool .la files in pkgconfig files. PR pkg/37479
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 d526e2eba25..cbee41e1aab 100644
--- a/x11/qt4-libs/Makefile
+++ b/x11/qt4-libs/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.16 2007/12/06 11:09:35 markd Exp $
+# $NetBSD: Makefile,v 1.17 2007/12/12 01:14:29 markd Exp $
.include "../../x11/qt4-libs/Makefile.common"
-PKGREVISION= 2
+PKGREVISION= 3
PKGNAME= qt4-libs-${QTVERSION}
COMMENT= C++ X GUI toolkit
@@ -39,6 +39,7 @@ do-install:
${LIBTOOL} --mode=install ${INSTALL_LIB} ${WRKSRC}/lib/lib${lib}.la \
${QTPREFIX}/lib/
${SED} -e "s:${WRKSRC}:${QTPREFIX}:g" \
+ -e "s:${QTPREFIX}/lib/lib\([A-Za-z3]*\)\.la:-l\1:g" \
${WRKSRC}/lib/pkgconfig/${lib}.pc > ${WRKOBJ}/${lib}.pc
${INSTALL_DATA} ${WRKOBJ}/${lib}.pc ${PREFIX}/lib/pkgconfig/
.endfor