summaryrefslogtreecommitdiff
path: root/comms/plptools
diff options
context:
space:
mode:
Diffstat (limited to 'comms/plptools')
-rw-r--r--comms/plptools/Makefile20
1 files changed, 13 insertions, 7 deletions
diff --git a/comms/plptools/Makefile b/comms/plptools/Makefile
index a45d65c2f78..0c9f0725d15 100644
--- a/comms/plptools/Makefile
+++ b/comms/plptools/Makefile
@@ -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"