From e92f2264225b22ead7e07dabd0bb88f81093fe7a Mon Sep 17 00:00:00 2001 From: jdolecek Date: Sat, 22 Dec 2007 23:22:51 +0000 Subject: another fix for NetBSD 4.0 (forgot to fix this before commit) --- chat/licq-gui-console/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'chat') diff --git a/chat/licq-gui-console/Makefile b/chat/licq-gui-console/Makefile index 4a1f7fbaab4..53a88ba89f6 100644 --- a/chat/licq-gui-console/Makefile +++ b/chat/licq-gui-console/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2007/12/22 22:34:24 jdolecek Exp $ +# $NetBSD: Makefile,v 1.20 2007/12/22 23:22:51 jdolecek Exp $ # DISTNAME= licq-1.3.5 @@ -25,6 +25,16 @@ OVERRIDE_DIRDEPTH= 3 INCOMPAT_CURSES= NetBSD-1.4*-* NetBSD-1.5*-* NetBSD-1.6[-_.]*-* NetBSD-1.6[A-Q]-* +# the cdk on NetBSD 4.0 isn't compatible; also force the check +# initCDKScreen() to succeed, the configure script test fails due +# to missing -lm +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "NetBSD" +USE_BUILTIN.cdk= no +CONFIGURE_ENV+= ac_cv_lib_cdk_initCDKScreen="yes" +.endif + .include "../../devel/ncurses/buildlink3.mk" .include "../../devel/cdk/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" -- cgit v1.2.3