summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2016-09-15 14:02:08 +0000
committerwiz <wiz@pkgsrc.org>2016-09-15 14:02:08 +0000
commit7ddd35c95fcf6caf2205152f9e5398d03e3ae0f8 (patch)
tree9a98a0f01599855729e61d38770026807582d2ce /devel
parent29a7fa29d24b29125e2db62169bb96f0b421d99b (diff)
downloadpkgsrc-7ddd35c95fcf6caf2205152f9e5398d03e3ae0f8.tar.gz
Install a symlink from ${PREFIX}/share/slib/slib to ${PREFIX}/share/slib.
Needed by guile-slib with guile20-2.0.12. Bump PKGREVISION.
Diffstat (limited to 'devel')
-rw-r--r--devel/slib/Makefile10
-rw-r--r--devel/slib/PLIST3
2 files changed, 8 insertions, 5 deletions
diff --git a/devel/slib/Makefile b/devel/slib/Makefile
index feb424a2989..dd58f6125d0 100644
--- a/devel/slib/Makefile
+++ b/devel/slib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2016/09/15 00:08:12 gdt Exp $
+# $NetBSD: Makefile,v 1.37 2016/09/15 14:02:08 wiz Exp $
DISTNAME= slib-3b5
#
@@ -9,6 +9,7 @@ DISTNAME= slib-3b5
# Also update guile-slib
#
PKGNAME= slib-3.2.5
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://swissnet.ai.mit.edu/ftpdir/scm/
@@ -25,7 +26,7 @@ SLIBDIR= ${PREFIX}/share/slib
DOCDIR= ${PREFIX}/share/doc/slib
INFO_FILES= yes
-INSTALLATION_DIRS= ${PKGINFODIR}
+INSTALLATION_DIRS= ${PKGINFODIR} share/slib share/doc/slib
SUBST_CLASSES+= scmpath
SUBST_STAGE.scmpath= post-patch
@@ -33,9 +34,10 @@ SUBST_FILES.scmpath= guile.init
SUBST_SED.scmpath= -e "s|/usr/share/slib|${PREFIX}/share/slib|"
do-install:
- ${INSTALL_DATA_DIR} ${DESTDIR}${SLIBDIR}
+ # symlink is a workaround for guile-slib with guile20-2.0.12
+ # remove when not needed any longer
+ cd ${DESTDIR}${SLIBDIR} && ${LN} -s . slib
cd ${WRKSRC}; ${INSTALL_DATA} *.scm *.init ${DESTDIR}${SLIBDIR}
- ${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
cd ${WRKSRC}; ${INSTALL_DATA} README FAQ ${DESTDIR}${DOCDIR}
cd ${WRKSRC}; for f in slib.info slib.info-[0-9]*; do \
${TEST} ! -f "$$f" || \
diff --git a/devel/slib/PLIST b/devel/slib/PLIST
index 2840ada6025..da6160fd871 100644
--- a/devel/slib/PLIST
+++ b/devel/slib/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.16 2016/09/15 00:08:12 gdt Exp $
+@comment $NetBSD: PLIST,v 1.17 2016/09/15 14:02:08 wiz Exp $
info/slib.info
share/doc/slib/FAQ
share/doc/slib/README
@@ -143,6 +143,7 @@ share/slib/selfset.scm
share/slib/sierpinski.scm
share/slib/simetrix.scm
share/slib/sisc.init
+share/slib/slib
share/slib/solid.scm
share/slib/sort.scm
share/slib/soundex.scm