2008-08-19 18:20:40 -04:00
|
|
|
$OpenBSD: patch-Makefile_in,v 1.2 2008/08/19 22:20:40 jasper Exp $
|
|
|
|
|
|
|
|
Fix fake-stage.
|
|
|
|
|
|
|
|
--- Makefile.in.orig Sat Jan 26 16:06:27 2008
|
|
|
|
+++ Makefile.in Fri Aug 15 15:16:45 2008
|
|
|
|
@@ -57,8 +57,8 @@ VERSION = 1.`cat $(srcdir)/build/minor-version-number`
|
2006-08-01 10:34:33 -04:00
|
|
|
RUNNABLE = scheme48
|
2008-08-19 18:20:40 -04:00
|
|
|
CONFIG_SCRIPT = scheme48-config
|
2006-08-01 10:34:33 -04:00
|
|
|
MANPAGE = $(RUNNABLE).$(manext)
|
2008-08-19 18:20:40 -04:00
|
|
|
-LIB = $(libdir)/scheme48-$(VERSION)
|
|
|
|
-SHARE = $(datadir)/scheme48-$(VERSION)
|
|
|
|
+LIB = $(libdir)/scheme48
|
|
|
|
+SHARE = $(datadir)/scheme48
|
2006-08-01 10:34:33 -04:00
|
|
|
|
|
|
|
distdir = /tmp
|
|
|
|
|
2008-08-19 18:20:40 -04:00
|
|
|
@@ -356,7 +356,7 @@ install: enough dirs \
|
2006-08-01 10:34:33 -04:00
|
|
|
|
2008-08-19 18:20:40 -04:00
|
|
|
inst-vm:
|
|
|
|
$(INSTALL_PROGRAM) $(VM) $(DESTDIR)$(LIB)
|
|
|
|
- if [-e $(VM).a]; then $(INSTALL_PROGRAM) $(VM).a $(DESTDIR)$(LIB); fi
|
|
|
|
+ if [ -e $(VM).a]; then $(INSTALL_PROGRAM) $(VM).a $(DESTDIR)$(LIB); fi
|
2006-08-01 10:34:33 -04:00
|
|
|
|
|
|
|
inst-image:
|
2008-08-19 18:20:40 -04:00
|
|
|
rm -f '/tmp/$(IMAGE)'
|
|
|
|
@@ -416,8 +416,8 @@ inst-config-script:
|
|
|
|
-e 's,@LD\@,$(LD),g' \
|
|
|
|
-e 's,@DYNAMIC_EXTERNALS_CFLAGS\@,$(DYNAMIC_EXTERNALS_CFLAGS),g' \
|
|
|
|
-e 's,@DYNAMIC_EXTERNALS_LDFLAGS\@,$(DYNAMIC_EXTERNALS_LDFLAGS),g' \
|
|
|
|
- < $(srcdir)/build/$(CONFIG_SCRIPT).in > $$config_script && \
|
|
|
|
- chmod +x $$config_script
|
|
|
|
+ < $(srcdir)/build/$(CONFIG_SCRIPT).in > $(DESTDIR)$$config_script && \
|
|
|
|
+ chmod +x $(DESTDIR)$$config_script
|
2006-08-01 10:34:33 -04:00
|
|
|
|
2008-08-19 18:20:40 -04:00
|
|
|
inst-externals:
|
|
|
|
$(INSTALL_PROGRAM) $(POSIX_EXTERNAL) $(SRFI_27_EXTERNAL) $(DESTDIR)$(LIB)/
|