diff options
author | jmc <jmc@pkgsrc.org> | 2003-08-06 16:55:10 +0000 |
---|---|---|
committer | jmc <jmc@pkgsrc.org> | 2003-08-06 16:55:10 +0000 |
commit | df7352062c94b0a79015fcd34be720e0ae9799e7 (patch) | |
tree | 7457a8b9272826d361613e5474b5bb5e4d4ce6fb /lang/RScheme | |
parent | 0b6e6d71c1b5f2822f530112e98f3e4d2be35192 (diff) | |
download | pkgsrc-df7352062c94b0a79015fcd34be720e0ae9799e7.tar.gz |
Chicken and egg problem. Need buildlink2 support for building the shell so
it can fix -lreadline to -ledit if needed. But..this is referencing
-L/usr/pkg/lib/... in it's link for -lrs which then gets transformed and
library not found. Fix by copying librs.a into buildlink's lib dir after
setting up install-base. Also pass MAKE_ENV along to the shell make to then
fix readline vs edit.
Diffstat (limited to 'lang/RScheme')
-rw-r--r-- | lang/RScheme/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/lang/RScheme/Makefile b/lang/RScheme/Makefile index d88e79d2543..4e067cf379e 100644 --- a/lang/RScheme/Makefile +++ b/lang/RScheme/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2003/08/04 15:34:18 jtb Exp $ +# $NetBSD: Makefile,v 1.13 2003/08/06 16:55:10 jmc Exp $ DISTNAME= rs-0.7.3.2 PKGNAME= RScheme-0.7.3.2 @@ -52,8 +52,11 @@ do-build: @cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} ${ALL_TARGET} do-install: - @cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} install-base && ${MAKE} shell && \ - ${MAKE} install-shell && ${MAKE} packages + @cd ${WRKSRC}/src && ${SETENV} ${MAKE_ENV} ${MAKE} install-base && \ + ${CP} install/lib/librs.a ${BUILDLINK_DIR}/lib && \ + ${SETENV} ${MAKE_ENV} ${MAKE} shell && \ + ${MAKE} install-shell && \ + ${MAKE} packages post-install: ${LN} -fs ${PREFIX}/lib/rscheme/bin/rs ${PREFIX}/bin/rscheme |