From bb42376c1c9a631443a39d836d8cdc60635b920f Mon Sep 17 00:00:00 2001 From: dmcmahill Date: Mon, 25 Jun 2007 21:36:18 +0000 Subject: make sure guile can find its loadable modules --- lang/guile16/Makefile | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'lang/guile16') diff --git a/lang/guile16/Makefile b/lang/guile16/Makefile index eb626f7c541..bf571fa37b8 100644 --- a/lang/guile16/Makefile +++ b/lang/guile16/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2007/06/05 23:32:08 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.3 2007/06/25 21:36:18 dmcmahill Exp $ DISTNAME= guile-1.6.8 -PKGREVISION= 1 +PKGREVISION= 2 PKGNAME= guile16-1.6.8 CATEGORIES= lang MASTER_SITES= ${MASTER_SITE_GNU:=guile/} @@ -22,7 +22,15 @@ TEST_DIRS= ${WRKSRC} TEST_TARGET= check OWN_DIRS= ${PREFIX}/share/guile/site -BUILDLINK_PASSTHRU_DIRS= ${PREFIX}/guile/1.6 +BUILDLINK_PASSTHRU_DIRS+= ${GNU_CONFIGURE_PREFIX} + +# Without doing this, guile is unable to load its shared modules on +# at least SunOS-5.9/sparc and maybe others. +# Loading of modules can be verified by running +# ${GNU_CONFIGURE_PREFIX}/bin/guile +# and at the guile> prompt: +# (load-extension "libguile-srfi-srfi-13-14-v-1" "scm_init_srfi_13") +LDFLAGS+= ${COMPILER_RPATH_FLAG}${GNU_CONFIGURE_PREFIX}/lib .include "../../mk/bsd.prefs.mk" -- cgit v1.2.3