summaryrefslogtreecommitdiff
path: root/chat/psi
diff options
context:
space:
mode:
authorminskim <minskim>2006-03-21 07:48:03 +0000
committerminskim <minskim>2006-03-21 07:48:03 +0000
commitac8d41f90b9ba13f80cd4dcfdf0d715ecb6410de (patch)
tree5c153d501163015a9fcac6e1f0a8d5c8020cb13f /chat/psi
parent92c07dc7b8d0672db023e9d35fc6d48aa5a34a12 (diff)
downloadpkgsrc-ac8d41f90b9ba13f80cd4dcfdf0d715ecb6410de.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"