pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/RScheme Chicken and egg problem. Need buildlink2 ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c975ad0ae632
branches: trunk
changeset: 459771:c975ad0ae632
user: jmc <jmc%pkgsrc.org@localhost>
date: Wed Aug 06 16:55:10 2003 +0000
description:
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:
lang/RScheme/Makefile | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (23 lines):
diff -r 0dd5ce0436ea -r c975ad0ae632 lang/RScheme/Makefile
--- a/lang/RScheme/Makefile Wed Aug 06 15:07:06 2003 +0000
+++ b/lang/RScheme/Makefile Wed Aug 06 16:55:10 2003 +0000
@@ -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 @@
@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
Home |
Main Index |
Thread Index |
Old Index