pkgsrc/lang/guile/patches/patch-libguile_Makefile.in
fhajny 6f4f104834 lang/guile: Add search path to default extensions for lt_dlopenext.
Fixes usage with packages like print/lilypond on at least Darwin and SunOS, where dynamically loaded guile extensions cannot be found without resorting to LTDL_LIBRARY_PATH quirks.
2018-06-19 11:07:25 +00:00

14 lines
711 B
Text

$NetBSD: patch-libguile_Makefile.in,v 1.1 2018/06/19 11:07:25 fhajny Exp $
Define libdir for use in dynl.
--- libguile/Makefile.in.orig 2010-12-13 19:29:39.000000000 +0000
+++ libguile/Makefile.in
@@ -2124,6 +2124,7 @@ libpath.h: $(srcdir)/Makefile.in $(top_
@echo '/* generated by Makefile */' > libpath.tmp
@echo '#define SCM_PKGDATA_DIR "$(pkgdatadir)"' >> libpath.tmp
@echo '#define SCM_LIBRARY_DIR "$(pkgdatadir)/$(GUILE_EFFECTIVE_VERSION)"'>>libpath.tmp
+ @echo '#define SCM_LIB_DIR "$(libdir)"'>>libpath.tmp
@echo '#define SCM_SITE_DIR "$(pkgdatadir)/site"' >> libpath.tmp
@echo '#define SCM_BUILD_INFO { \' >> libpath.tmp
@echo ' { "srcdir", "'"`cd @srcdir@; pwd`"'" }, \' >> libpath.tmp