summaryrefslogtreecommitdiff
path: root/chat/kyahoo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chat/kyahoo/Makefile')
-rw-r--r--chat/kyahoo/Makefile23
1 files changed, 18 insertions, 5 deletions
diff --git a/chat/kyahoo/Makefile b/chat/kyahoo/Makefile
index 180f3f291eb..71791bc1e54 100644
--- a/chat/kyahoo/Makefile
+++ b/chat/kyahoo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/08/27 14:35:05 tron Exp $
+# $NetBSD: Makefile,v 1.4 2001/10/23 13:14:47 jlam Exp $
DISTNAME= kyahoo-0.7
CATEGORIES= chat
@@ -7,12 +7,25 @@ EXTRACT_SUFX= .tgz
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://kyahoo.sourceforge.net/
-COMMENT= yahoo client for KDE
+COMMENT= Yahoo! client for KDE
-BUILD_DEPENDS+= automake>=1.4:../../devel/automake
-BUILD_DEPENDS+= autoconf>=2.13:../../devel/autoconf
-DEPENDS+= kdebase>=2.1:../../x11/kdebase2
+USE_BUILDLINK_ONLY= YES
.include "../../x11/kde2/Makefile.part2"
+CONFIGURE_ARGS+= --with-libyahoo=${BUILDLINK_DIR}
+
+# Pass USER_LDFLAGS through MAKE_ENV as there doesn't seem to be a reliable
+# way to stop the configure script from running again during the build step,
+# and we need USER_LDFLAGS to be set to LDFLAGS by the configure script in
+# accordance with the buildlink strategy outlined in kde2/Makefile.part2.
+#
+MAKE_ENV+= USER_LDFLAGS="${LDFLAGS}"
+
+pre-build:
+ ${CHMOD} +x ${WRKSRC}/missing
+
+.include "../../mk/x11.buildlink.mk"
+.include "../../chat/libyahoo/buildlink.mk"
+.include "../../x11/kdebase2/buildlink.mk"
.include "../../mk/bsd.pkg.mk"