pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/scm Minor fixes, cosmetics and a reminder



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e805fc1f0a92
branches:  trunk
changeset: 501641:e805fc1f0a92
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Oct 25 09:39:30 2005 +0000

description:
Minor fixes, cosmetics and a reminder

diffstat:

 lang/scm/Makefile          |  5 +++--
 lang/scm/files/buildscm.sh |  2 +-
 lang/scm/files/require.scm |  2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)

diffs (43 lines):

diff -r 093d4940f113 -r e805fc1f0a92 lang/scm/Makefile
--- a/lang/scm/Makefile Tue Oct 25 09:33:12 2005 +0000
+++ b/lang/scm/Makefile Tue Oct 25 09:39:30 2005 +0000
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.12 2005/10/25 09:32:15 adam Exp $
+# $NetBSD: Makefile,v 1.13 2005/10/25 09:39:30 adam Exp $
 #
 # Convert the version number as follows 2d2 -> 2.4.2, where the d is
 # changed to a 4, representing the 4th letter.
 # Thus, 5e1 -> 5.5.1
 #
+# Do not forget to update InitXXX.scm in files/buildscm.scm
 
 DISTNAME=      scm5e1
 PKGNAME=       scm-5.5.1
@@ -27,7 +28,7 @@
 INFO_FILES=    scm.info hobbit.info Xlibscm.info
 
 post-patch:
-       ${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
+       ${SED} -e 's|@LOCALBASE@|${LOCALBASE}|g' \
                < ${FILESDIR}/require.scm > ${WRKSRC}/require.scm
 
 post-build:
diff -r 093d4940f113 -r e805fc1f0a92 lang/scm/files/buildscm.sh
--- a/lang/scm/files/buildscm.sh        Tue Oct 25 09:33:12 2005 +0000
+++ b/lang/scm/files/buildscm.sh        Tue Oct 25 09:39:30 2005 +0000
@@ -2,7 +2,7 @@
 # unix (unix) script created by SLIB/batch Thu Jul 17 21:20:04 2003
 # ================ Write file with C defines
 rm -f scmflags.h
-echo '#define IMPLINIT "@PREFIX@/share/scm/Init5d9.scm"'>>scmflags.h
+echo '#define IMPLINIT "@PREFIX@/share/scm/Init5e1.scm"'>>scmflags.h
 echo '#define INITS init_sc2();init_ramap();init_gsubr();init_ioext();init_posix();init_record();init_rgx();init_socket();init_unix();'>>scmflags.h
 echo '#define COMPILED_INITS init_edline();'>>scmflags.h
 echo '#define ARRAYS'>>scmflags.h
diff -r 093d4940f113 -r e805fc1f0a92 lang/scm/files/require.scm
--- a/lang/scm/files/require.scm        Tue Oct 25 09:33:12 2005 +0000
+++ b/lang/scm/files/require.scm        Tue Oct 25 09:39:30 2005 +0000
@@ -1,2 +1,2 @@
-(define (library-vicinity) "%%LOCALBASE%%/share/slib/")
+(define (library-vicinity) "@LOCALBASE@/share/slib/")
 (load (in-vicinity (library-vicinity) "require"))



Home | Main Index | Thread Index | Old Index