diff options
author | jlam <jlam@pkgsrc.org> | 2001-05-31 22:52:17 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-05-31 22:52:17 +0000 |
commit | df38dc73b141337c84b7a2567a0f94877c7741f8 (patch) | |
tree | a9bb5dd2102dbbbe9cd5392e589ae410caa6f84e /devel/rpc2/Makefile | |
parent | 3d1ca8b38d3af41dc1385a29aeee92553943e011 (diff) | |
download | pkgsrc-df38dc73b141337c84b7a2567a0f94877c7741f8.tar.gz |
* Add buildlink.mk file to link appropriate libraries and headers into
${BUILDLINK_INCDIR} and ${BUILDLINK_LIBDIR}, to be used by other packages.
* Use buildlink.mk files to get dependencies and to prevent unintended
linking against installed libraries or finding installed headers except
for those that are explicitly linked into ${BUILDLINK_INCDIR} and
${BUILDLINK_LIBDIR}.
* Don't prototype history functions directly, but use
<readline/history.h> to pull them in. This allows us to use libedit's
readline emulation.
* Change from USE_PERL5 to a build dependency on perl -- it's only used to
generate a header file during the build.
Diffstat (limited to 'devel/rpc2/Makefile')
-rw-r--r-- | devel/rpc2/Makefile | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/devel/rpc2/Makefile b/devel/rpc2/Makefile index 2b152da9369..4fb6e4f9dfa 100644 --- a/devel/rpc2/Makefile +++ b/devel/rpc2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2001/04/27 19:02:59 phil Exp $ +# $NetBSD: Makefile,v 1.6 2001/05/31 22:52:17 jlam Exp $ # DISTNAME= rpc2-1.10 @@ -10,14 +10,23 @@ MAINTAINER= phil@cs.wwu.edu HOMEPAGE= http://www.coda.cs.cmu.edu/ COMMENT= CMU (Coda) remote procedure call package -DEPENDS+= lwp>=1.6:../../devel/lwp -DEPENDS+= readline>=4.0:../../devel/readline +BUILD_DEPENDS+= perl>=${PERL5_REQD}:../../lang/perl5 GNU_CONFIGURE= YES USE_LIBTOOL= YES USE_GMAKE= YES -USE_PERL5= YES LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig +.include "../../devel/lwp/buildlink.mk" +.include "../../devel/readline/buildlink.mk" + +CONFIGURE_ENV+= ac_cv_search_tgetent="-ltermcap" +CONFIGURE_ENV+= PERL=${PERL5} +CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" +CPPFLAGS+= -I${BUILDLINK_INCDIR} +LDFLAGS+= -L${BUILDLINK_LIBDIR} + +pre-configure: ${BUILDLINK_TARGETS} + .include "../../mk/bsd.pkg.mk" |