diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-28 05:36:28 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-28 05:36:28 +0000 |
commit | 410082cbd55c4d4dd63b60740ac4c74de5067afb (patch) | |
tree | 04b0603d071f3ae5bbc52c13152623befaa591f6 /lang/guile | |
parent | a14c03cec17dfd59c4a92595ef32a08d1822ed71 (diff) | |
download | pkgsrc-410082cbd55c4d4dd63b60740ac4c74de5067afb.tar.gz |
Use buildlink.mk to get GNU readline dependency and correct headers and
libraries. Make sure we don't pick up a hidden dependency on ncurses
by forcing configure script to find tgoto() in libtermcap.
Diffstat (limited to 'lang/guile')
-rw-r--r-- | lang/guile/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/lang/guile/Makefile b/lang/guile/Makefile index 8b13ecacc27..e1d5997fb0a 100644 --- a/lang/guile/Makefile +++ b/lang/guile/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2001/02/17 09:07:11 agc Exp $ +# $NetBSD: Makefile,v 1.21 2001/05/28 05:36:28 jlam Exp $ # FreeBSD Id: Makefile,v 1.12 1997/11/22 16:01:32 jseger Exp # @@ -10,14 +10,21 @@ MAINTAINER= perry@piermont.com HOMEPAGE= http://www.gnu.org/software/guile/guile.html COMMENT= GNU's Ubiquitous Intelligent Language for Extension -DEPENDS+= readline>=4.1:../../devel/readline - GNU_CONFIGURE= # defined +CONFIGURE_ENV+= ac_cv_lib_ncurses_tgoto=no + USE_LIBTOOL= # defined LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig -# to find libreadline -CFLAGS+= -I${PREFIX}/include + +USE_GNU_READLINE= # defined INFO_FILES= data-rep.info +.include "../../devel/readline/buildlink.mk" + +CFLAGS+= -I${BUILDLINK_INCDIR} +LDFLAGS+= -L${BUILDLINK_LIBDIR} + +pre-configure: ${BUILDLINK_TARGETS} + .include "../../mk/bsd.pkg.mk" |