summaryrefslogtreecommitdiff
path: root/chat/licq-gui-console
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2007-12-22 23:22:51 +0000
committerjdolecek <jdolecek@pkgsrc.org>2007-12-22 23:22:51 +0000
commitb36eec90b7f3c50a6a64dc1a4c220729920b17b3 (patch)
tree634a642b0428decba82917206675ca8da22c05e3 /chat/licq-gui-console
parentf14b33f19e9df66b9128e96f9093429012dc6674 (diff)
downloadpkgsrc-b36eec90b7f3c50a6a64dc1a4c220729920b17b3.tar.gz
another fix for NetBSD 4.0 (forgot to fix this before commit)
Diffstat (limited to 'chat/licq-gui-console')
-rw-r--r--chat/licq-gui-console/Makefile12
1 files changed, 11 insertions, 1 deletions
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"