[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / readline

File: [cvs.NetBSD.org] / pkgsrc / devel / readline / Makefile (download)

Revision 1.65, Thu Nov 24 23:35:19 2016 UTC (3 years, 10 months ago) by marino
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.64: +6 -1 lines

devel/readline: On DragonFly, uses ncurses instead of termcap

There is no termcap library available in any form on DragonFly.
Discussed with wiz@.

# $NetBSD: Makefile,v 1.65 2016/11/24 23:35:19 marino Exp $

READLINE_VERSION=	7.0

DISTNAME=       readline-${READLINE_VERSION}
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GNU:=readline/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
COMMENT=	GNU library that can recall and edit previous input
LICENSE=	gnu-gpl-v3

USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
INFO_FILES=		yes

.include "../../mk/bsd.prefs.mk"

.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
CONFIGURE_ENV.NetBSD+=	bash_cv_wcwidth_broken=no
.endif

BUILD_TARGET=		everything-libtool
INSTALL_TARGET=		install-libtool

.if ${OPSYS} == "DragonFly"
CONFIGURE_ARGS+=	--with-curses=yes
.include "../../mk/curses.buildlink3.mk"
.else
.include "../../mk/termcap.buildlink3.mk"
.endif
.include "../../mk/bsd.pkg.mk"