1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-15 03:14:23 +00:00
freebsd-ports/devel/mico/files/patch-am
Satoshi Asami 44a7216f79 Build fix, misc. cleanup.
Submitted by:	Jeremy Lea <reg@shale.csir.co.za>
1999-05-13 00:16:04 +00:00

103 lines
3.8 KiB
Plaintext

--- MakeVars.in.orig Wed May 12 18:19:51 1999
+++ MakeVars.in Wed May 12 18:20:40 1999
@@ -25,7 +25,7 @@
exec_prefix = @exec_prefix@
SRCDIR = @ABSSRCDIR@
INSTDIR = $(exec_prefix)
-SHARED_INSTDIR = $(prefix)
+SHARED_INSTDIR = $(prefix)/share
HAVE_REPO = @HAVE_REPO@
--- demo/MakeVars.orig Wed May 12 18:32:24 1999
+++ demo/MakeVars Wed May 12 18:32:47 1999
@@ -78,14 +78,14 @@
endif
install:
- $(IDIRCMD) $(INSTDIR)/doc/mico/examples/$(INSTALL_DIR)
+ $(IDIRCMD) $(SHARED_INSTDIR)/doc/mico/examples/$(INSTALL_DIR)
test -z "$(INSTALL_SRCS)" || \
eval 'for i in $(INSTALL_SRCS); do \
- $(ISRCCMD) $$i $(INSTDIR)/doc/mico/examples/$(INSTALL_DIR); \
+ $(ISRCCMD) $$i $(SHARED_INSTDIR)/doc/mico/examples/$(INSTALL_DIR); \
done'
test -z "$(INSTALL_SCRIPTS)" || \
eval 'for i in $(INSTALL_SCRIPTS); do \
- $(ISCRIPTCMD) $$i $(INSTDIR)/doc/mico/examples/$(INSTALL_DIR); \
+ $(ISCRIPTCMD) $$i $(SHARED_INSTDIR)/doc/mico/examples/$(INSTALL_DIR); \
done'
ifeq (.depend, $(wildcard .depend))
--- demo/Makefile.orig Wed May 12 18:29:55 1999
+++ demo/Makefile Wed May 12 18:30:12 1999
@@ -64,12 +64,12 @@
for i in $(DIRS); do $(MAKE) -C $$i clean || exit 1; done
install:
- $(IDIRCMD) $(INSTDIR)/doc/mico/examples
+ $(IDIRCMD) $(SHARED_INSTDIR)/doc/mico/examples
sed -e s/@MICO_VERSION@/$(VERSION)/g \
< MakeVars.install > MakeVars.install.ver
- $(ISRCCMD) MakeVars.install.ver $(INSTDIR)/doc/mico/examples/MakeVars
+ $(ISRCCMD) MakeVars.install.ver $(SHARED_INSTDIR)/doc/mico/examples/MakeVars
rm -f MakeVars.install.ver
- $(ISRCCMD) README $(INSTDIR)/doc/mico/examples
+ $(ISRCCMD) README $(SHARED_INSTDIR)/doc/mico/examples
for i in $(INST_DIRS); do $(MAKE) -C $$i install || exit 1; done
install-cd: install
--- demo/interop/Makefile.orig Wed May 12 18:30:42 1999
+++ demo/interop/Makefile Wed May 12 18:31:17 1999
@@ -30,7 +30,7 @@
for i in $(DIRS); do $(MAKE) -C $$i clean || exit 1; done
install:
- $(IDIRCMD) $(INSTDIR)/doc/mico/examples/interop
- $(ISRCCMD) Makefile $(INSTDIR)/doc/mico/examples/interop
- $(ISRCCMD) README $(INSTDIR)/doc/mico/examples/interop
+ $(IDIRCMD) $(SHARED_INSTDIR)/doc/mico/examples/interop
+ $(ISRCCMD) Makefile $(SHARED_INSTDIR)/doc/mico/examples/interop
+ $(ISRCCMD) README $(SHARED_INSTDIR)/doc/mico/examples/interop
for i in $(DIRS); do $(MAKE) -C $$i install || exit 1; done
--- demo/poa/Makefile.orig Wed May 12 18:33:14 1999
+++ demo/poa/Makefile Wed May 12 18:33:28 1999
@@ -13,7 +13,7 @@
rm -f *.o core *~ .depend
install:
- $(IDIRCMD) $(INSTDIR)/doc/mico/examples/poa
- $(ISRCCMD) Makefile $(INSTDIR)/doc/mico/examples/poa
- $(ISRCCMD) README $(INSTDIR)/doc/mico/examples/poa
+ $(IDIRCMD) $(SHARED_INSTDIR)/doc/mico/examples/poa
+ $(ISRCCMD) Makefile $(SHARED_INSTDIR)/doc/mico/examples/poa
+ $(ISRCCMD) README $(SHARED_INSTDIR)/doc/mico/examples/poa
for i in $(DIRS); do $(MAKE) -C $$i install || exit 1; done
--- demo/redlich/Makefile.orig Wed May 12 18:33:38 1999
+++ demo/redlich/Makefile Wed May 12 18:33:52 1999
@@ -33,7 +33,7 @@
for i in $(DIRS); do $(MAKE) -C $$i clean || exit 1; done
install:
- $(IDIRCMD) $(INSTDIR)/doc/mico/examples/redlich
- $(ISRCCMD) Makefile $(INSTDIR)/doc/mico/examples/redlich
- $(ISRCCMD) README $(INSTDIR)/doc/mico/examples/redlich
+ $(IDIRCMD) $(SHARED_INSTDIR)/doc/mico/examples/redlich
+ $(ISRCCMD) Makefile $(SHARED_INSTDIR)/doc/mico/examples/redlich
+ $(ISRCCMD) README $(SHARED_INSTDIR)/doc/mico/examples/redlich
for i in $(DIRS); do $(MAKE) -C $$i install || exit 1; done
--- man/Makefile.orig Wed May 12 18:27:23 1999
+++ man/Makefile Wed May 12 18:27:40 1999
@@ -26,9 +26,9 @@
install:
for i in $(DIRS); do \
- $(IDIRCMD) $(SHARED_INSTDIR)/man/$$i; \
+ $(IDIRCMD) $(prefix)/man/$$i; \
for j in $$i/*.[1-9]; do $(IMANCMD) $$j \
- $(SHARED_INSTDIR)/man/$$i/; done; \
+ $(prefix)/man/$$i/; done; \
done
install-cd: install