summaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
authorhasso <hasso>2009-08-12 18:11:24 +0000
committerhasso <hasso>2009-08-12 18:11:24 +0000
commit23693f14c0b4370b170f91955d351d5934ac16d0 (patch)
tree5ccd5d7f0db76464db2074b4415fd9fec2e88fdf /editors
parent284df2232b8d7dd025d4d010c9594494f61e6e3c (diff)
downloadpkgsrc-23693f14c0b4370b170f91955d351d5934ac16d0.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: