pkgsrc/devel/libtecla/Makefile
wiz b871ef3218 libtecla: quote CPPFLAGS/LDFLAGS before passing them on.
Fixes build with whitespace in either of them.
Found with debugging help from rillig@

Remove gmake dependency, builds fine for me with BSD make.
2022-03-30 07:09:57 +00:00

29 lines
735 B
Makefile

# $NetBSD: Makefile,v 1.18 2022/03/30 07:09:57 wiz Exp $
DISTNAME= libtecla-1.6.1
PKGREVISION= 4
CATEGORIES= devel
MASTER_SITES= http://www.astro.caltech.edu/~mcs/tecla/
MAINTAINER= kristerw@NetBSD.org
HOMEPAGE= http://www.astro.caltech.edu/~mcs/tecla/
COMMENT= Interactive command line editing facilities
MAKE_JOBS_SAFE= no
WRKSRC= ${WRKDIR}/${PKGBASE}
GNU_CONFIGURE= yes
BUILD_TARGET= default
INSTALL_MAKE_FLAGS+= prefix=${DESTDIR:Q}${PREFIX}
INSTALL_MAKE_FLAGS+= MANDIR=${DESTDIR}${PREFIX}/${PKGMANDIR}
.include "../../mk/bsd.prefs.mk"
# reentrant causes compilation problems
.if ${OPSYS} != "SunOS"
CONFIGURE_ENV+= tecla_cv_reentrant=no
.endif
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"