It is incorrect for this package to be setting CURSES_DEFAULT=ncurses,

as CURSES_DEFAULT is a user variable. Furthermore, it builds fine
against NetBSD's native curses.

PKGREVISION -> 1
This commit is contained in:
dholland 2013-11-24 07:38:41 +00:00
parent 1bec9b217c
commit 8492173204

View file

@ -1,6 +1,7 @@
# $NetBSD: Makefile,v 1.9 2013/05/21 12:34:02 adam Exp $
# $NetBSD: Makefile,v 1.10 2013/11/24 07:38:41 dholland Exp $
DISTNAME= dvtm-0.9
PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://www.brain-dump.org/projects/dvtm/
@ -11,7 +12,6 @@ LICENSE= mit
USE_LANGUAGES= c99
NO_CONFIGURE= yes
CURSES_DEFAULT= ncurses
SUBST_CLASSES+= config
SUBST_STAGE.config= pre-build
@ -19,7 +19,7 @@ SUBST_MESSAGE.config= Fixing config.mk
SUBST_FILES.config= config.mk
SUBST_SED.config= -e 's,/usr/local,${PREFIX},'
SUBST_SED.config+= -e 's,share/man,${PKGMANDIR},'
SUBST_SED.config+= -e '/LIBS/s/-lncursesw/-lncurses/'
SUBST_SED.config+= -e '/LIBS/s/-lncursesw/-lcurses/'
SUBST_SED.config+= -e 's,^CFLAGS =,CFLAGS +=,'
SUBST_SED.config+= -e 's,^LDFLAGS =,LDFLAGS +=,'
SUBST_SED.config+= -e 's/cc/${CC:Q}/'