Use devel/readline/Makefile.readline to get readline support and note why

GNU readline is required.  Only "-ltermcap" is needed, not "-ltermlib" to
link against readline.
This commit is contained in:
jlam 2001-05-22 17:04:45 +00:00
parent 0c7897ab34
commit d1e8aebb30

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.11 2001/04/05 01:48:31 dmcmahill Exp $
# $NetBSD: Makefile,v 1.12 2001/05/22 17:04:45 jlam Exp $
#
DISTNAME= plptools-0.6
@ -9,16 +9,22 @@ MASTER_SITES= ftp://ftp.to.com/pub/psion/tarballs/
MAINTAINER= sakamoto@netbsd.org
COMMENT= FTP-like and NFS-like access tools to talk to the PSION
DEPENDS= readline>=4.0:../../devel/readline
WRKSRC= ${WRKDIR}/${DISTNAME}
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
GNU_CONFIGURE= YES
CONFIGURE_ENV+= CPPFLAGS="-I${PREFIX}/include/" LIBS="-ltermlib"
USE_GNU_READLINE= # uses rl_filename_quoting_desired flag
.include "../../mk/bsd.prefs.mk"
.include "../../devel/readline/Makefile.readline"
CONFIGURE_ARGS+= --with-serial=${DEFAULT_SERIAL_DEVICE}
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CONFIGURE_ENV+= LIBS="${LIBS}"
CPPFLAGS+= -I${WRKINCDIR}
LIBS+= -ltermcap
pre-configure: link-readline-headers link-readline-libs
.include "../../mk/bsd.pkg.mk"