summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorjmc <jmc@pkgsrc.org>2003-03-30 08:04:50 +0000
committerjmc <jmc@pkgsrc.org>2003-03-30 08:04:50 +0000
commitd0c501062febd8e7d6c03100ef11dcaa61f94e05 (patch)
treeb7d9089ad7746d35dcd4ab208a2cfee0a299c2f6 /chat
parent94da7b401d3ca7765b96859d2281b6fb8f3d1794 (diff)
downloadpkgsrc-d0c501062febd8e7d6c03100ef11dcaa61f94e05.tar.gz
Fixup qmake's Makefile for a proper install after configure has run.
Diffstat (limited to 'chat')
-rw-r--r--chat/psi/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/chat/psi/Makefile b/chat/psi/Makefile
index 6db3d8ed4ef..4ede580ec0b 100644
--- a/chat/psi/Makefile
+++ b/chat/psi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2003/01/29 06:45:47 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2003/03/30 08:04:50 jmc Exp $
DISTNAME= psi-0.8.7
CATEGORIES= chat
@@ -22,7 +22,12 @@ BUILD_DIRS= ${WRKSRC}/src
CONFIGURE_ARGS+= -p ${PREFIX}
-.include "../../graphics/freetype2/buildlink2.mk"
+post-configure:
+ ${SED} -e 's:^CHK_DIR_EXISTS *= *$$:CHK_DIR_EXISTS=test -d:' -e "s:^MKDIR *= *$$:MKDIR=${MKDIR}:" -e "s:/bin/true:${TRUE}:" < ${BUILD_DIRS}/Makefile > ${BUILD_DIRS}/Makefile.orig
+ ${MV} ${BUILD_DIRS}/Makefile.orig ${BUILD_DIRS}/Makefile
+
+# This order is needed to pickup any freetype version dependencies from qt3
.include "../../x11/qt3-libs/buildlink2.mk"
+.include "../../graphics/freetype2/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"