summaryrefslogtreecommitdiff
path: root/lang/guile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-05-02 05:26:07 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-05-02 05:26:07 +0000
commitd1b7249e3b05265289412563bdf6bd1b3490a4be (patch)
tree882a5316b38feebabd82b03553bfa6ecc60e39c9 /lang/guile
parent* Don't split info files (diff)
Correct a patch and a post-patch substitution.
Notes
Notes: svn path=/head/; revision=79993
Diffstat (limited to 'lang/guile')
-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);