aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-05-02 13:26:07 +0800
committermarcus <marcus@FreeBSD.org>2003-05-02 13:26:07 +0800
commit8b058c72fba5d477ed140867bcda0183a13cc0a9 (patch)
tree4a63b3e0a06d498ff19516062a24166bef40ec1b /lang
parent70175ca71e72527a54425670223d18473c525651 (diff)
downloadfreebsd-ports-gnome-8b058c72fba5d477ed140867bcda0183a13cc0a9.tar.gz
freebsd-ports-gnome-8b058c72fba5d477ed140867bcda0183a13cc0a9.tar.zst
freebsd-ports-gnome-8b058c72fba5d477ed140867bcda0183a13cc0a9.zip
Correct a patch and a post-patch substitution.
Diffstat (limited to 'lang')
-rw-r--r--lang/guile/Makefile2
-rw-r--r--lang/guile/files/patch-libguile_load.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/lang/guile/Makefile b/lang/guile/Makefile
index 4e40eea85834..39d3ea8f76d3 100644
--- a/lang/guile/Makefile
+++ b/lang/guile/Makefile
@@ -41,6 +41,6 @@ post-patch:
@cd ${WRKSRC} ; \
${REINPLACE_CMD} -e 's|<malloc\.h>|<stdlib.h>|g' ${REINPLACE_FILES}
@${REINPLACE_CMD} -e 's|%%X11BASE%%|${X11BASE}|g ; \
- s|%%LOCALBASE|${LOCALBASE}|g' ${WRKSRC}/libguile/load.c
+ s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/libguile/load.c
.include <bsd.port.mk>
diff --git a/lang/guile/files/patch-libguile_load.c b/lang/guile/files/patch-libguile_load.c
index 8d6b0ade5c9a..f5ce39667a23 100644
--- a/lang/guile/files/patch-libguile_load.c
+++ b/lang/guile/files/patch-libguile_load.c
@@ -9,8 +9,8 @@
scm_makfrom0str (SCM_LIBRARY_DIR),
- scm_makfrom0str (SCM_PKGDATA_DIR));
+ scm_makfrom0str (SCM_PKGDATA_DIR),
-+ scm_makfrom0str ("/usr/X11R6/share/guile"),
-+ scm_makfrom0str ("/usr/local%%/share/guile"));
++ scm_makfrom0str ("%%X11BASE%%/share/guile"),
++ scm_makfrom0str ("%%LOCALBASE%%/share/guile"));
#endif /* SCM_LIBRARY_DIR */
path = scm_internal_parse_path (getenv ("GUILE_LOAD_PATH"), path);