pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/emacs Include curses.buildlink3.mk on platform...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d9b4de539878
branches:  trunk
changeset: 397454:d9b4de539878
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Wed Aug 12 18:11:24 2009 +0000

description:
Include curses.buildlink3.mk on platforms which want to link against curses.
Unbreaks build on DargonFly and probably some others.

diffstat:

 editors/emacs/Makefile.common |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r c97493d67637 -r d9b4de539878 editors/emacs/Makefile.common
--- a/editors/emacs/Makefile.common     Wed Aug 12 18:07:15 2009 +0000
+++ b/editors/emacs/Makefile.common     Wed Aug 12 18:11:24 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.22 2009/08/05 22:04:50 minskim Exp $
+# $NetBSD: Makefile.common,v 1.23 2009/08/12 18:11:24 hasso Exp $
 
 DISTNAME=      emacs-${EMACS_VERSION}
 CATEGORIES=    editors
@@ -50,7 +50,12 @@
 CPPFLAGS+=             -DDFLY_CRT_USRLIB
 .endif
 
+.if ${OPSYS} == "DragonFly" || ${OPSYS} == "FreeBSD" || ${OPSYS} == "Linux" || ${OPSYS} == "OpenBSD"
+.include "../../mk/curses.buildlink3.mk"
+.else
 .include "../../mk/termcap.buildlink3.mk"
+.endif
+
 .include "../../mk/oss.buildlink3.mk"
 
 post-extract:



Home | Main Index | Thread Index | Old Index