diff options
author | danfe <danfe@FreeBSD.org> | 2009-08-11 12:23:00 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2009-08-11 12:23:00 +0800 |
commit | 76c850937eca1771bb4d6f66dcc02b6531ad0cea (patch) | |
tree | 1bf3f4341819aa479792eb60b090e6118bff7eec /lang/slib-guile | |
parent | 4f82eb49a0a52b8065359d84b10a9a6e138fece4 (diff) | |
download | freebsd-ports-gnome-76c850937eca1771bb4d6f66dcc02b6531ad0cea.tar.gz freebsd-ports-gnome-76c850937eca1771bb4d6f66dcc02b6531ad0cea.tar.zst freebsd-ports-gnome-76c850937eca1771bb4d6f66dcc02b6531ad0cea.zip |
Fix the build.
Inspired by PR: ports/137151
Diffstat (limited to 'lang/slib-guile')
-rw-r--r-- | lang/slib-guile/Makefile | 12 | ||||
-rw-r--r-- | lang/slib-guile/pkg-plist | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/lang/slib-guile/Makefile b/lang/slib-guile/Makefile index 72284a2958d7..06f1be9ab0ca 100644 --- a/lang/slib-guile/Makefile +++ b/lang/slib-guile/Makefile @@ -1,13 +1,12 @@ # New ports collection makefile for: SLIB for Guile -# Date created: 3 November 2003 -# Whom: Kimura Fuyuki <fuyuki@nigredo.org> +# Date created: 3 November 2003 +# Whom: Kimura Fuyuki <fuyuki@nigredo.org> # # $FreeBSD$ # $MCom: ports/lang/slib-guile/Makefile,v 1.3 2006/10/13 02:32:48 marcus Exp $ PORTNAME= slib -PORTVERSION= 3a4 # Keep this in sync with lang/slib -PORTREVISION= 2 +PORTVERSION= 3b1 # Keep this in sync with lang/slib CATEGORIES= lang scheme MASTER_SITES= # empty PKGNAMESUFFIX= -guile @@ -24,8 +23,9 @@ NO_BUILD= yes do-install: ${LN} -shf ${PREFIX}/share/slib ${LOCALBASE}/share/guile/1.8/slib - cd ${PREFIX}/share/guile/1.8/slib && \ + cd ${PREFIX}/share/guile/1.8/slib && env \ + GUILE_IMPLEMENTATION_PATH=${LOCALBASE}/share/guile/1.8 \ ${LOCALBASE}/bin/guile -q -l guile.init -c \ - "(require 'new-catalog)" + "(use-modules (ice-9 slib))(require 'new-catalog)" .include <bsd.port.mk> diff --git a/lang/slib-guile/pkg-plist b/lang/slib-guile/pkg-plist index 96827ad514c6..c807164929c3 100644 --- a/lang/slib-guile/pkg-plist +++ b/lang/slib-guile/pkg-plist @@ -1,4 +1,4 @@ @exec ln -shf %D/share/slib %D/share/guile/1.8/slib -@exec %D/bin/guile -q -l %%LOCALBASE%%/share/slib/guile.init -c "(require 'new-catalog)" +@exec env GUILE_IMPLEMENTATION_PATH=%%LOCALBASE%%/share/guile/1.8 %D/bin/guile -q -l %%LOCALBASE%%/share/slib/guile.init -c "(use-modules (ice-9 slib))(require 'new-catalog)" @unexec rm -f %D/share/guile/1.8/slib @unexec rm -f %D/share/guile/1.8/slibcat |