summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-08-12 18:11:24 +0000
committerhasso <hasso@pkgsrc.org>2009-08-12 18:11:24 +0000
commit8ed677ad01a981b1934440f3b65c11f2cd8ef45d (patch)
tree5ccd5d7f0db76464db2074b4415fd9fec2e88fdf /editors
parentdbda9c9025274f27611d8b7222c2d37cc06e1729 (diff)
downloadpkgsrc-8ed677ad01a981b1934440f3b65c11f2cd8ef45d.tar.gz
Include curses.buildlink3.mk on platforms which want to link against curses.
Unbreaks build on DargonFly and probably some others.
Diffstat (limited to 'editors')
-rw-r--r--editors/emacs/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/editors/emacs/Makefile.common b/editors/emacs/Makefile.common
index 3ed9b2f6f20..2271d663ba2 100644
--- a/editors/emacs/Makefile.common
+++ b/editors/emacs/Makefile.common
@@ -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 @@ CHECK_WRKREF_SKIP+= bin/emacs-${EMACS_VERSION}
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: