summaryrefslogtreecommitdiff
path: root/chat/psi
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2006-03-21 07:48:03 +0000
committerminskim <minskim@pkgsrc.org>2006-03-21 07:48:03 +0000
commit0dd91f0b7f2bdfc320d880275ec178e9e754066b (patch)
tree5c153d501163015a9fcac6e1f0a8d5c8020cb13f /chat/psi
parentd95d45b37d641882b21d39ffe672ec260c04ffa3 (diff)
downloadpkgsrc-0dd91f0b7f2bdfc320d880275ec178e9e754066b.tar.gz
The libtoolize qmake generates a correct rpath, so it is unnecessary to
patch Makefile. Instead, just define target.path in the .pro file.
Diffstat (limited to 'chat/psi')
-rw-r--r--chat/psi/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/chat/psi/Makefile b/chat/psi/Makefile
index 8c34bcc52be..e10ee8395d4 100644
--- a/chat/psi/Makefile
+++ b/chat/psi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.37 2006/03/21 07:32:41 minskim Exp $
+# $NetBSD: Makefile,v 1.38 2006/03/21 07:48:03 minskim Exp $
PSI_VERSION= 0.10
DISTNAME= psi-${PSI_VERSION}
@@ -53,12 +53,10 @@ post-configure:
-e "s:/bin/true:${TRUE}:" < ${WRKSRC}/Makefile \
> ${WRKSRC}/Makefile.new
${MV} ${WRKSRC}/Makefile.new ${WRKSRC}/Makefile
+ ${ECHO} 'target.path=${QTDIR}/lib' \
+ >> ${WRKSRC}/libpsi/psiwidgets/psiwidgets.pro
cd ${WRKSRC}/libpsi/psiwidgets && ( ${SETENV} ${CONFIGURE_ENV} \
${QTDIR}/bin/qmake psiwidgets.pro -o Makefile; \
- ${SED} -e 's,-rpath.*$$,-rpath "${QTDIR}/lib",' \
- < Makefile > Makefile.new; \
- ${MV} Makefile.new Makefile; \
- ${LN} -s .libs/libpsiwidgets.so psiwidgets.so; \
)
do-install:
@@ -76,5 +74,6 @@ do-install:
.include "../../devel/zlib/buildlink3.mk"
.include "../../security/qca/buildlink3.mk"
.include "../../x11/qt3-libs/buildlink3.mk"
+BUILDLINK_DEPENDS.qt3-tools+= qt3-tools>=3.3.5nb6
.include "../../x11/qt3-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"