pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/licq-gui-console another fix for NetBSD 4.0 (forg...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/241d33db2f4e
branches:  trunk
changeset: 536803:241d33db2f4e
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sat Dec 22 23:22:51 2007 +0000

description:
another fix for NetBSD 4.0 (forgot to fix this before commit)

diffstat:

 chat/licq-gui-console/Makefile |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 825792c64fbc -r 241d33db2f4e chat/licq-gui-console/Makefile
--- a/chat/licq-gui-console/Makefile    Sat Dec 22 23:12:51 2007 +0000
+++ b/chat/licq-gui-console/Makefile    Sat Dec 22 23:22:51 2007 +0000
@@ -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 @@
 
 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"



Home | Main Index | Thread Index | Old Index