diff options
author | hasso <hasso@pkgsrc.org> | 2009-08-12 18:11:24 +0000 |
---|---|---|
committer | hasso <hasso@pkgsrc.org> | 2009-08-12 18:11:24 +0000 |
commit | a164ce25872785d1b87bbf3a58663e255c8c6022 (patch) | |
tree | 5ccd5d7f0db76464db2074b4415fd9fec2e88fdf /editors | |
parent | 81020be6d8c87478c77cfce90b3ae78a3090780d (diff) | |
download | pkgsrc-a164ce25872785d1b87bbf3a58663e255c8c6022.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.common | 7 |
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: |