pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/guile-slib Most of destdir support, based on a p...
details: https://anonhg.NetBSD.org/pkgsrc/rev/688061187491
branches: trunk
changeset: 537633:688061187491
user: gdt <gdt%pkgsrc.org@localhost>
date: Sat Jan 12 19:13:07 2008 +0000
description:
Most of destdir support, based on a patch from Klaus Heinz.
# This does not quite work. The problem is that new-catalog writes
# the catalog in /usr/pkg/share/guile/site, rarther than the proper
# place in the destdir.
diffstat:
devel/guile-slib/Makefile | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diffs (40 lines):
diff -r a1231a3a5cd7 -r 688061187491 devel/guile-slib/Makefile
--- a/devel/guile-slib/Makefile Sat Jan 12 18:19:20 2008 +0000
+++ b/devel/guile-slib/Makefile Sat Jan 12 19:13:07 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2007/12/01 15:56:25 gdt Exp $
+# $NetBSD: Makefile,v 1.36 2008/01/12 19:13:07 gdt Exp $
DISTNAME= guile-slib-3.1.5
CATEGORIES= devel
@@ -9,6 +9,11 @@
HOMEPAGE= http://swissnet.ai.mit.edu/~jaffer/SLIB.html
COMMENT= SLIB glue files for guile 1.8
+# This does not quite work. The problem is that new-catalog writes
+# the catalog in /usr/pkg/share/guile/site, rarther than the proper
+# place in the destdir.
+#PKG_DESTDIR_SUPPORT= user-destdir
+
# tested with 3.1.5
DEPENDS+= slib>=3.1.2nb1:../../devel/slib
@@ -17,12 +22,14 @@
NO_BUILD= yes
WRKSRC= ${WRKDIR}
-INSTALLATION_DIRS= share/guile
+INSTALLATION_DIRS= share/guile share/guile/site
do-install:
- ${LN} -sf ${PREFIX}/share/slib ${PREFIX}/share/guile/site/slib
- ${RM} -f ${PREFIX}/share/guile/slibcat
- cd ${PREFIX}/share/guile/site/slib; \
+ ${LN} -sf ${PREFIX}/share/slib \
+ ${DESTDIR}${PREFIX}/share/guile/site/slib
+ ${RM} -f ${DESTDIR}${PREFIX}/share/guile/slibcat
+ cd ${DESTDIR}${PREFIX}/share/guile/site/slib && \
+ GUILE_LOAD_PATH=${PREFIX}/share \
guile -q -c "(begin (use-modules (ice-9 slib)) (require 'new-catalog))"
# Our 1.8.2 package applies a necessary patch.
Home |
Main Index |
Thread Index |
Old Index