summaryrefslogtreecommitdiff
path: root/chat/psi/Makefile
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2005-09-14 14:18:16 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2005-09-14 14:18:16 +0000
commite9be6355fe2275cc1d376afd6f70266182d3b1d6 (patch)
tree8b47086373be1246f03d02d3f5085408285eab7b /chat/psi/Makefile
parentfafc5aa2e5f305a17741b64cf7d7294ef299c2fa (diff)
downloadpkgsrc-e9be6355fe2275cc1d376afd6f70266182d3b1d6.tar.gz
- add missing header file
- use CONFIGURE_ENV during the configure phase to make sure we pick up QMAKESPEC - set CONFIG_SHELL to ${SH} to help /bin/sh challenged platforms like solaris.
Diffstat (limited to 'chat/psi/Makefile')
-rw-r--r--chat/psi/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/chat/psi/Makefile b/chat/psi/Makefile
index c544742fd12..7edecc2d338 100644
--- a/chat/psi/Makefile
+++ b/chat/psi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2005/06/16 06:57:42 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2005/09/14 14:18:16 dmcmahill Exp $
PSI_VERSION= 0.9.3
DISTNAME= psi-${PSI_VERSION}
@@ -24,6 +24,8 @@ USE_TOOLS+= gmake
USE_LIBTOOL= yes
HAS_CONFIGURE= yes
+CONFIG_SHELL= ${SH}
+
CONFIGURE_ARGS= --prefix="${PREFIX}" --qtdir="${QTDIR}"
CONFIGURE_ARGS+= --with-qca-inc="${BUILDLINK_PREFIX.qca}/include" \
--with-qca-lib="${BUILDLINK_PREFIX.qca}/lib"
@@ -49,7 +51,7 @@ post-configure:
-e "s:/bin/true:${TRUE}:" < ${WRKSRC}/Makefile \
> ${WRKSRC}/Makefile.new
${MV} ${WRKSRC}/Makefile.new ${WRKSRC}/Makefile
- cd ${WRKSRC}/libpsi/psiwidgets && ( \
+ 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; \