From 5a622a9895899699bd5768597f1615b76d651bda Mon Sep 17 00:00:00 2001 From: Michael Nottebrock Date: Sat, 22 May 2004 19:43:04 +0000 Subject: [PATCH] Fix location of pkgconfig file. --- x11-toolkits/qt33/Makefile | 7 ++++++- x11-toolkits/qt33/pkg-plist | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/x11-toolkits/qt33/Makefile b/x11-toolkits/qt33/Makefile index b09f9a27cbb3..09ff964a0f3b 100644 --- a/x11-toolkits/qt33/Makefile +++ b/x11-toolkits/qt33/Makefile @@ -8,7 +8,7 @@ PORTNAME= qt PORTVERSION= 3.3.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES?= x11-toolkits MASTER_SITES= ftp://ftp.trolltech.com/qt/source/ \ ftp://ftp.silug.org/pub/qt/ \ @@ -138,6 +138,11 @@ post-patch: .endif @${REINPLACE_CMD} -e 's|^ cd qmake.*||' ${WRKSRC}/Makefile +post-configure: + @${REINPLACE_CMD} -e \ + 's|/usr/X11R6/lib/pkgconfig/qt-mt.pc|${PREFIX}/libdata/pkgconfig/qt-mt.pc|g' \ + ${WRKSRC}/src/Makefile + post-build: .for tool in makeqpf mergetr msg2qm qembed qvfb @cd ${WRKSRC}/tools/${tool}; ${SETENV} ${MAKE_ENV} ${MAKE} diff --git a/x11-toolkits/qt33/pkg-plist b/x11-toolkits/qt33/pkg-plist index 90bc4f030f44..58b670fce998 100644 --- a/x11-toolkits/qt33/pkg-plist +++ b/x11-toolkits/qt33/pkg-plist @@ -421,13 +421,13 @@ lib/libqui.so lib/libqui.so.1 lib/libqui.so.1.0 lib/libqui.so.1.0.0 -lib/pkgconfig/qt-mt.pc lib/plugins/designer/libcppeditor.so lib/plugins/designer/libdlgplugin.so lib/plugins/designer/libgladeplugin.so lib/plugins/designer/libkdevdlgplugin.so lib/plugins/designer/librcplugin.so lib/plugins/designer/libwizards.so +libdata/pkgconfig/qt-mt.pc share/doc/qt/html/3rdparty.html share/doc/qt/html/aboutqt.html share/doc/qt/html/abstract-connections.png @@ -2392,5 +2392,5 @@ translations/qt_sk.qm @dirrm share/doc/qt @dirrm lib/plugins/designer @dirrm lib/plugins -@dirrm lib/pkgconfig +@dirrm libdata/pkgconfig @dirrm include/private