diff options
author | Keri Harris <keri@gentoo.org> | 2007-02-14 08:30:49 +0000 |
---|---|---|
committer | Keri Harris <keri@gentoo.org> | 2007-02-14 08:30:49 +0000 |
commit | a0db8f053372a5658aa03850c7bbffe760f993ed (patch) | |
tree | d8eed6b6392ab3da76ec2ce978fdf826dc8aa95e /dev-lang/mozart/files | |
parent | Add the Mozart license for dev-lang/mozart (diff) | |
download | gentoo-2-a0db8f053372a5658aa03850c7bbffe760f993ed.tar.gz gentoo-2-a0db8f053372a5658aa03850c7bbffe760f993ed.tar.bz2 gentoo-2-a0db8f053372a5658aa03850c7bbffe760f993ed.zip |
Initial import of Mozart - an implementation of Oz 3
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-lang/mozart/files')
-rw-r--r-- | dev-lang/mozart/files/digest-mozart-1.3.2 | 6 | ||||
-rw-r--r-- | dev-lang/mozart/files/mozart-1.3.2-contrib.patch | 296 | ||||
-rw-r--r-- | dev-lang/mozart/files/mozart-1.3.2-gcc4.patch | 33 | ||||
-rw-r--r-- | dev-lang/mozart/files/mozart-1.3.2-nostrip.patch | 11 | ||||
-rw-r--r-- | dev-lang/mozart/files/mozart-1.3.2-ozplatform.patch | 31 | ||||
-rw-r--r-- | dev-lang/mozart/files/mozart-1.3.2-portage.patch | 276 |
6 files changed, 653 insertions, 0 deletions
diff --git a/dev-lang/mozart/files/digest-mozart-1.3.2 b/dev-lang/mozart/files/digest-mozart-1.3.2 new file mode 100644 index 000000000000..bd68b7eb04d8 --- /dev/null +++ b/dev-lang/mozart/files/digest-mozart-1.3.2 @@ -0,0 +1,6 @@ +MD5 052a5c82f244bab77174e32fbe7e8996 mozart-1.3.2.20060615-doc.tar.gz 3890265 +RMD160 450721bb64cbcc5cefddbaf9c3b0cdfe6261ae5f mozart-1.3.2.20060615-doc.tar.gz 3890265 +SHA256 b169418dd02fb6024d897778908928a6aa800e8ea96b6c76515b064bfac3b84e mozart-1.3.2.20060615-doc.tar.gz 3890265 +MD5 b84fb3932eca573e6b8d5d1b26379371 mozart-1.3.2.20060615-src.tar.gz 10798680 +RMD160 22dd1f639b6ea525744564b37be009bd599d60ad mozart-1.3.2.20060615-src.tar.gz 10798680 +SHA256 a09acd3365911348fd7b351d73ae1b2ad76ae96ffd335ee08746f5dcca3a55bf mozart-1.3.2.20060615-src.tar.gz 10798680 diff --git a/dev-lang/mozart/files/mozart-1.3.2-contrib.patch b/dev-lang/mozart/files/mozart-1.3.2-contrib.patch new file mode 100644 index 000000000000..0b42c3431479 --- /dev/null +++ b/dev-lang/mozart/files/mozart-1.3.2-contrib.patch @@ -0,0 +1,296 @@ +diff -ur mozart-1.3.2.20060615.orig/contrib/ap/Makefile.in mozart-1.3.2.20060615/contrib/ap/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/ap/Makefile.in 2001-08-05 10:24:30.000000000 +1200 ++++ mozart-1.3.2.20060615/contrib/ap/Makefile.in 2007-02-13 21:02:43.000000000 +1300 +@@ -21,9 +21,9 @@ + install: $(NEWCACHEDIR) $(addprefix $(NEWCACHEDIR)/,$(FUNCTORS)) + $(LIB_DIR) $(NEWCACHEDIR): + $(INSTALL_DIR) $@ +-$(LIB_DIR)/%.ozf: %.ozf ++$(LIB_DIR)/%.ozf: %.ozf $(LIB_DIR) + $(INSTALL_LIB) $< $@ +-$(NEWCACHEDIR)/% : % ++$(NEWCACHEDIR)/% : % $(NEWCACHEDIR) + $(INSTALL_LIB) $< $@ + + clean veryclean: +diff -ur mozart-1.3.2.20060615.orig/contrib/compat/Makefile.in mozart-1.3.2.20060615/contrib/compat/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/compat/Makefile.in 2003-11-26 03:53:51.000000000 +1300 ++++ mozart-1.3.2.20060615/contrib/compat/Makefile.in 2007-02-14 19:52:50.000000000 +1300 +@@ -5,7 +5,7 @@ + VPATH = @srcdir@ + PREFIX = @prefix@ + PLATFORM = @PLATFORM@ +-BIN_DIR = $(PREFIX)/bin ++BINDIR = $(PREFIX)/bin + CACHEDIR = $(PREFIX)/cache/x-oz/contrib/compat + HOMEURL = @HOMEURL@ + +@@ -24,7 +24,7 @@ + CYGPATH = $(SRCTOP)/share/lib/cygpath.sh + + TARGETS = TextPickle.ozf convertTextPickle$(EXE_EXT) +-BIN_TARGETS = $(BIN_DIR)/convertTextPickle$(EXE_EXT) ++BIN_TARGETS = $(BINDIR)/convertTextPickle$(EXE_EXT) + CACHE_TARGETS = $(CACHEDIR)/TextPickle.ozf \ + $(CACHEDIR)/TextPickleScanner.so-$(PLATFORM) + +@@ -36,18 +36,18 @@ + + all: $(TARGETS) + +-install: $(BIN_DIR) $(BIN_TARGETS) $(CACHEDIR) $(CACHE_TARGETS) ++install: $(BINDIR) $(BIN_TARGETS) $(CACHEDIR) $(CACHE_TARGETS) + +-$(BIN_DIR) $(CACHEDIR): ++$(BINDIR) $(CACHEDIR): + $(INSTALL_DIR) $@ + +-$(BIN_DIR)/%: % ++$(BINDIR)/%: % $(BINDIR) + $(INSTALL_BIN) $< $@ + +-$(CACHEDIR)/%.ozf: %.ozf ++$(CACHEDIR)/%.ozf: %.ozf $(CACHEDIR) + $(INSTALL_FILE) $< $@ + +-$(CACHEDIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) ++$(CACHEDIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) $(CACHEDIR) + $(INSTALL_DLL) $< $@ + + TextPickle.so-$(PLATFORM): TextPickle.ozf +diff -ur mozart-1.3.2.20060615.orig/contrib/davinci/Makefile.in mozart-1.3.2.20060615/contrib/davinci/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/davinci/Makefile.in 2001-08-05 10:24:30.000000000 +1200 ++++ mozart-1.3.2.20060615/contrib/davinci/Makefile.in 2007-02-13 21:04:12.000000000 +1300 +@@ -59,7 +59,7 @@ + DaVinci.ozf: $(OZFNCTS) + $(OZL) -z 9 DaVinciObject.ozf -o $@ + +-$(LIB_DIR)/DaVinci.ozf: DaVinci.ozf ++$(LIB_DIR)/DaVinci.ozf: DaVinci.ozf $(LIB_DIR) + $(INSTALL_LIB) $< $@ + for f in *.so-$(PLATFORM) ; do \ + $(INSTALL_DLL) $$f $(LIB_DIR)/$$f ; \ +diff -ur mozart-1.3.2.20060615.orig/contrib/directory/Makefile.in mozart-1.3.2.20060615/contrib/directory/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/directory/Makefile.in 2001-08-05 10:24:31.000000000 +1200 ++++ mozart-1.3.2.20060615/contrib/directory/Makefile.in 2007-02-14 19:58:11.000000000 +1300 +@@ -59,13 +59,13 @@ + $(LIB_DIR) $(NEWCACHEDIR): + $(INSTALL_DIR) $@ + +-$(LIB_DIR)/%.ozf: %.ozf ++$(LIB_DIR)/%.ozf: %.ozf $(LIB_DIR) + $(INSTALL_LIB) $< $@ + +-$(LIB_DIR)/%.oz: %.oz ++$(LIB_DIR)/%.oz: %.oz $(LIB_DIR) + $(INSTALL_LIB) $< $@ + +-$(NEWCACHEDIR)/%: % ++$(NEWCACHEDIR)/%: % $(NEWCACHEDIR) + $(INSTALL_LIB) $< $@ + + #---------------------------------------------------------------------- +diff -ur mozart-1.3.2.20060615.orig/contrib/doc/code/Makefile.in mozart-1.3.2.20060615/contrib/doc/code/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/doc/code/Makefile.in 2002-04-02 00:28:57.000000000 +1200 ++++ mozart-1.3.2.20060615/contrib/doc/code/Makefile.in 2007-02-13 21:06:46.000000000 +1300 +@@ -57,13 +57,13 @@ + $(LIB_DIR) $(ELIB_DIR) $(NEWCACHEDIR): + $(INSTALL_DIR) $@ + +-$(LIB_TARGETS): $(LIB_DIR)/% : % ++$(LIB_TARGETS): $(LIB_DIR)/% : % $(LIB_DIR) + $(INSTALL_LIB) $< $@ + +-$(NEW_TARGETS): $(NEWCACHEDIR)/% : % ++$(NEW_TARGETS): $(NEWCACHEDIR)/% : % $(NEWCACHEDIR) + $(INSTALL_LIB) $< $@ + +-$(ELIB_TARGETS): $(ELIB_DIR)/% : % ++$(ELIB_TARGETS): $(ELIB_DIR)/% : % $(ELIB_DIR) + $(INSTALL_LIB) $< $@ + + %.ozf: %.oz +diff -ur mozart-1.3.2.20060615.orig/contrib/doc/sgml/Makefile.in mozart-1.3.2.20060615/contrib/doc/sgml/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/doc/sgml/Makefile.in 2001-08-05 10:24:31.000000000 +1200 ++++ mozart-1.3.2.20060615/contrib/doc/sgml/Makefile.in 2007-02-13 21:05:58.000000000 +1300 +@@ -25,10 +25,10 @@ + $(LIB_DIR) $(NEWCACHEDIR): + $(INSTALL_DIR) $@ + +-$(LIB_TARGETS): $(LIB_DIR)/% : % ++$(LIB_TARGETS): $(LIB_DIR)/% : % $(LIB_DIR) + $(INSTALL_LIB) $< $@ + +-$(NEW_TARGETS): $(NEWCACHEDIR)/% : % ++$(NEW_TARGETS): $(NEWCACHEDIR)/% : % $(NEWCACHEDIR) + $(INSTALL_LIB) $< $@ + + %.ozf: %.oz +diff -ur mozart-1.3.2.20060615.orig/contrib/fcp/Makefile.in mozart-1.3.2.20060615/contrib/fcp/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/fcp/Makefile.in 2001-08-05 10:24:32.000000000 +1200 ++++ mozart-1.3.2.20060615/contrib/fcp/Makefile.in 2007-02-13 21:07:28.000000000 +1300 +@@ -77,10 +77,10 @@ + $(LIB_DIR): + $(INSTALL_DIR) $@ + +-$(LIB_DIR)/%.ozf: %.ozf ++$(LIB_DIR)/%.ozf: %.ozf $(LIB_DIR) + $(INSTALL_LIB) $< $@ + +-$(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) ++$(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) $(LIB_DIR) + $(INSTALL_DLL) $< $@ + + #---------------------------------------------------------------------- +diff -ur mozart-1.3.2.20060615.orig/contrib/gdbm/Makefile.in mozart-1.3.2.20060615/contrib/gdbm/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/gdbm/Makefile.in 2003-01-08 02:40:09.000000000 +1300 ++++ mozart-1.3.2.20060615/contrib/gdbm/Makefile.in 2007-02-13 21:09:17.000000000 +1300 +@@ -39,16 +39,16 @@ + $(LIB_DIR) $(NEWCACHEDIR): + $(INSTALL_DIR) $@ + +-$(LIB_DIR)/gdbm.ozf: gdbm.ozf ++$(LIB_DIR)/gdbm.ozf: gdbm.ozf $(LIB_DIR) + $(INSTALL_LIB) $< $@ + +-$(LIB_DIR)/gdbm.so-$(PLATFORM): gdbm.so-$(PLATFORM) ++$(LIB_DIR)/gdbm.so-$(PLATFORM): gdbm.so-$(PLATFORM) $(LIB_DIR) + $(INSTALL_DLL) $< $@ + +-$(NEWCACHEDIR)/gdbm.ozf: gdbm.ozf ++$(NEWCACHEDIR)/gdbm.ozf: gdbm.ozf $(NEWCACHEDIR) + $(INSTALL_LIB) $< $@ + +-$(NEWCACHEDIR)/gdbm.so-$(PLATFORM): gdbm.so-$(PLATFORM) ++$(NEWCACHEDIR)/gdbm.so-$(PLATFORM): gdbm.so-$(PLATFORM) $(NEWCACHEDIR) + $(INSTALL_DLL) $< $@ + + gdbm.ozf: gdbm.oz +diff -ur mozart-1.3.2.20060615.orig/contrib/investigator/Makefile.in mozart-1.3.2.20060615/contrib/investigator/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/investigator/Makefile.in 2001-08-05 10:24:33.000000000 +1200 ++++ mozart-1.3.2.20060615/contrib/investigator/Makefile.in 2007-02-13 21:09:53.000000000 +1300 +@@ -70,7 +70,7 @@ + Investigator.ozf: $(OZFNCTS) + $(OZL) -z 9 Main.ozf -o $@ + +-$(LIB_DIR)/Investigator.ozf: Investigator.ozf ++$(LIB_DIR)/Investigator.ozf: Investigator.ozf $(LIB_DIR) + $(INSTALL_LIB) $< $@ + + #---------------------------------------------------------------------- +diff -ur mozart-1.3.2.20060615.orig/contrib/micq/Makefile.in mozart-1.3.2.20060615/contrib/micq/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/micq/Makefile.in 2001-08-05 10:24:34.000000000 +1200 ++++ mozart-1.3.2.20060615/contrib/micq/Makefile.in 2007-02-13 21:10:50.000000000 +1300 +@@ -28,14 +28,14 @@ + install:: $(DEMO_DIR) $(DEMO_DIR)/MIM.oza \ + $(NEWCACHEDIR) $(addprefix $(NEWCACHEDIR)/,$(APPLETS)) + +-$(NEWCACHEDIR)/% : % ++$(NEWCACHEDIR)/% : % $(NEWCACHEDIR) + $(INSTALL_LIB) $< $@ + + $(LIB_DIR) $(DEMO_DIR) $(NEWCACHEDIR): + $(INSTALL_DIR) $@ +-$(LIB_DIR)/%.oza: %.oza ++$(LIB_DIR)/%.oza: %.oza $(LIB_DIR) + $(INSTALL_LIB) $< $@ +-$(DEMO_DIR)/MIM.oza: client.oza ++$(DEMO_DIR)/MIM.oza: client.oza $(DEMO_DIR) + $(INSTALL_LIB) $< $@ + BMETH = $(BUILDTOP)/contrib/micq/methods.ozf + SMETH = $(SRCDIR)/methods.oz +diff -ur mozart-1.3.2.20060615.orig/contrib/os/Makefile.in mozart-1.3.2.20060615/contrib/os/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/os/Makefile.in 2001-09-29 01:45:43.000000000 +1200 ++++ mozart-1.3.2.20060615/contrib/os/Makefile.in 2007-02-13 21:11:44.000000000 +1300 +@@ -52,16 +52,16 @@ + $(LIB_DIR) $(NEWCACHEDIR): + $(INSTALL_DIR) $@ + +-$(LIB_FUNCTORS): $(LIB_DIR)/% : % ++$(LIB_FUNCTORS): $(LIB_DIR)/% : % $(LIB_DIR) + $(INSTALL_LIB) $< $@ + +-$(LIB_NATIVES): $(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) ++$(LIB_NATIVES): $(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) $(LIB_DIR) + $(INSTALL_DLL) $< $@ + +-$(NEW_FUNCTORS): $(NEWCACHEDIR)/% : % ++$(NEW_FUNCTORS): $(NEWCACHEDIR)/% : % $(NEWCACHEDIR) + $(INSTALL_LIB) $< $@ + +-$(NEW_NATIVES): $(NEWCACHEDIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) ++$(NEW_NATIVES): $(NEWCACHEDIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) $(NEWCACHEDIR) + $(INSTALL_DLL) $< $@ + + %.ozf: %.oz +diff -ur mozart-1.3.2.20060615.orig/contrib/reflect/Makefile.in mozart-1.3.2.20060615/contrib/reflect/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/reflect/Makefile.in 2001-08-05 10:24:34.000000000 +1200 ++++ mozart-1.3.2.20060615/contrib/reflect/Makefile.in 2007-02-13 21:12:13.000000000 +1300 +@@ -67,10 +67,10 @@ + $(LIB_DIR): + $(INSTALL_DIR) $@ + +-$(LIB_DIR)/%.ozf: %.ozf ++$(LIB_DIR)/%.ozf: %.ozf $(LIB_DIR) + $(INSTALL_LIB) $< $@ + +-$(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) ++$(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) $(LIB_DIR) + $(INSTALL_DLL) $< $@ + + #---------------------------------------------------------------------- +diff -ur mozart-1.3.2.20060615.orig/contrib/regex/Makefile.in mozart-1.3.2.20060615/contrib/regex/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/regex/Makefile.in 2003-01-08 02:40:10.000000000 +1300 ++++ mozart-1.3.2.20060615/contrib/regex/Makefile.in 2007-02-13 21:13:05.000000000 +1300 +@@ -38,16 +38,16 @@ + $(LIB_DIR): + $(INSTALL_DIR) $@ + +-$(LIB_DIR)/regex.ozf: regex.ozf ++$(LIB_DIR)/regex.ozf: regex.ozf $(LIB_DIR) + $(INSTALL_LIB) $< $@ + +-$(LIB_DIR)/regex.so-$(PLATFORM): regex.so-$(PLATFORM) ++$(LIB_DIR)/regex.so-$(PLATFORM): regex.so-$(PLATFORM) $(LIB_DIR) + $(INSTALL_DLL) $< $@ + +-$(NEWCACHEDIR)/regex.ozf: regex.ozf ++$(NEWCACHEDIR)/regex.ozf: regex.ozf $(NEWCACHEDIR) + $(INSTALL_LIB) $< $@ + +-$(NEWCACHEDIR)/regex.so-$(PLATFORM): regex.so-$(PLATFORM) ++$(NEWCACHEDIR)/regex.so-$(PLATFORM): regex.so-$(PLATFORM) $(NEWCACHEDIR) + $(INSTALL_DLL) $< $@ + + regex.ozf: regex.oz +diff -ur mozart-1.3.2.20060615.orig/contrib/ri/Makefile.in mozart-1.3.2.20060615/contrib/ri/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/ri/Makefile.in 2002-07-07 01:05:36.000000000 +1200 ++++ mozart-1.3.2.20060615/contrib/ri/Makefile.in 2007-02-13 21:13:39.000000000 +1300 +@@ -81,10 +81,10 @@ + $(LIB_DIR): + $(INSTALL_DIR) $@ + +-$(LIB_DIR)/%.ozf: %.ozf ++$(LIB_DIR)/%.ozf: %.ozf $(LIB_DIR) + $(INSTALL_LIB) $< $@ + +-$(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) ++$(LIB_DIR)/%.so-$(PLATFORM): %.so-$(PLATFORM) $(LIB_DIR) + $(INSTALL_DLL) $< $@ + + +diff -ur mozart-1.3.2.20060615.orig/contrib/tk/Makefile.in mozart-1.3.2.20060615/contrib/tk/Makefile.in +--- mozart-1.3.2.20060615.orig/contrib/tk/Makefile.in 2001-08-05 10:24:35.000000000 +1200 ++++ mozart-1.3.2.20060615/contrib/tk/Makefile.in 2007-02-13 21:14:06.000000000 +1300 +@@ -21,9 +21,9 @@ + install: $(NEWCACHEDIR) $(addprefix $(NEWCACHEDIR)/,$(FUNCTORS)) + $(LIB_DIR) $(NEWCACHEDIR): + $(INSTALL_DIR) $@ +-$(LIB_DIR)/%.ozf: %.ozf ++$(LIB_DIR)/%.ozf: %.ozf $(LIB_DIR) + $(INSTALL_LIB) $< $@ +-$(NEWCACHEDIR)/%.ozf: %.ozf ++$(NEWCACHEDIR)/%.ozf: %.ozf $(NEWCACHEDIR) + $(INSTALL_LIB) $< $@ + + clean veryclean: diff --git a/dev-lang/mozart/files/mozart-1.3.2-gcc4.patch b/dev-lang/mozart/files/mozart-1.3.2-gcc4.patch new file mode 100644 index 000000000000..ed55f26fc129 --- /dev/null +++ b/dev-lang/mozart/files/mozart-1.3.2-gcc4.patch @@ -0,0 +1,33 @@ +diff -ur mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/conflicts.c mozart-1.3.2.20060615/platform/tools/gump/ozbison/conflicts.c +--- mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/conflicts.c 1998-12-17 02:55:09.000000000 +1300 ++++ mozart-1.3.2.20060615/platform/tools/gump/ozbison/conflicts.c 2007-02-11 20:51:52.000000000 +1300 +@@ -18,6 +18,7 @@ + the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + + #include <stdio.h> ++#include <string.h> + #include "system.h" + #include "machine.h" + #include "new.h" +diff -ur mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/print.c mozart-1.3.2.20060615/platform/tools/gump/ozbison/print.c +--- mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/print.c 1998-02-07 00:30:27.000000000 +1300 ++++ mozart-1.3.2.20060615/platform/tools/gump/ozbison/print.c 2007-02-11 20:51:20.000000000 +1300 +@@ -19,6 +19,7 @@ + + + #include <stdio.h> ++#include <string.h> + #include "system.h" + #include "machine.h" + #include "new.h" +diff -ur mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/symtab.c mozart-1.3.2.20060615/platform/tools/gump/ozbison/symtab.c +--- mozart-1.3.2.20060615.orig/platform/tools/gump/ozbison/symtab.c 1998-02-07 00:30:29.000000000 +1300 ++++ mozart-1.3.2.20060615/platform/tools/gump/ozbison/symtab.c 2007-02-11 20:50:03.000000000 +1300 +@@ -19,6 +19,7 @@ + + + #include <stdio.h> ++#include <string.h> + #include "system.h" + #include "new.h" + #include "symtab.h" diff --git a/dev-lang/mozart/files/mozart-1.3.2-nostrip.patch b/dev-lang/mozart/files/mozart-1.3.2-nostrip.patch new file mode 100644 index 000000000000..ec36500572a1 --- /dev/null +++ b/dev-lang/mozart/files/mozart-1.3.2-nostrip.patch @@ -0,0 +1,11 @@ +--- mozart-1.3.2.20060615.orig/platform/tools/gump/ozflex/Makefile.in 2001-08-05 10:24:39.000000000 +1200 ++++ mozart-1.3.2.20060615/platform/tools/gump/ozflex/Makefile.in 2007-02-11 20:30:41.000000000 +1300 +@@ -65,7 +65,7 @@ + + + all: $(FLEX) +- $(STRIP) $(FLEX) ++ + include $(BUILDTOP)/share/Makefile.boot + bootstrap: cboot-all + diff --git a/dev-lang/mozart/files/mozart-1.3.2-ozplatform.patch b/dev-lang/mozart/files/mozart-1.3.2-ozplatform.patch new file mode 100644 index 000000000000..01210850f04c --- /dev/null +++ b/dev-lang/mozart/files/mozart-1.3.2-ozplatform.patch @@ -0,0 +1,31 @@ +--- mozart-1.3.2.20060615.orig/share/bin/Makefile.in 2001-08-05 10:24:41.000000000 +1200 ++++ mozart-1.3.2.20060615/share/bin/Makefile.in 2007-02-11 17:14:13.000000000 +1300 +@@ -35,7 +35,7 @@ + INSTALL_BIN= $(INSTALL) -m 555 + INSTALL_FILE= $(INSTALL) -m 444 + +-SCRIPTS= oz ozplatform ++SCRIPTS= oz + LINKS= ozengine text2pickle pickle2text oldpickle2text oztool + LIB_SCRIPTS= $(addprefix $(BINDIR)/,$(SCRIPTS)) + LIB_LINKS= $(addprefix $(BINDIR)/,$(LINKS)) +--- mozart-1.3.2.20060615.orig/share/bin/oz.in 2006-06-14 10:25:01.000000000 +1200 ++++ mozart-1.3.2.20060615/share/bin/oz.in 2007-02-11 19:28:21.000000000 +1300 +@@ -4,7 +4,7 @@ + # to draw links from say /usr/local/bin to OZHOME/bin + # see chapter "installation" in the users manual for more information + +-# OZHOME=/usr/local/mozart ++OZHOME=@prefix@/lib/mozart-oz + + + +@@ -24,7 +24,7 @@ + fi + export OZHOME + +-: ${OZPLATFORM=`"$OZHOME/bin/ozplatform"`} ++: ${OZPLATFORM="@PLATFORM@"} + : ${OZEMULATOR="$OZHOME/platform/$OZPLATFORM/emulator.exe"} + : ${OZVERSION="@OZVERSION@"} + : ${OZ_DOTOZ="$HOME/.oz/$OZVERSION"} diff --git a/dev-lang/mozart/files/mozart-1.3.2-portage.patch b/dev-lang/mozart/files/mozart-1.3.2-portage.patch new file mode 100644 index 000000000000..6160dac1e2aa --- /dev/null +++ b/dev-lang/mozart/files/mozart-1.3.2-portage.patch @@ -0,0 +1,276 @@ +diff -ur mozart-1.3.2.20060615.orig/Makefile.in mozart-1.3.2.20060615/Makefile.in +--- mozart-1.3.2.20060615.orig/Makefile.in 2004-05-19 10:56:54.000000000 +1200 ++++ mozart-1.3.2.20060615/Makefile.in 2007-02-13 21:01:54.000000000 +1300 +@@ -111,7 +111,7 @@ + ./config.status: ./configure + ./config.status --recheck + +-install:: $(ALLFILES) ++install:: + + $(ALLFILES): $(PREFIX)/% : % $(PREFIX) + $(INSTALL_FILE) $< $@ +diff -ur mozart-1.3.2.20060615.orig/platform/emulator/Makefile.in mozart-1.3.2.20060615/platform/emulator/Makefile.in +--- mozart-1.3.2.20060615.orig/platform/emulator/Makefile.in 2004-01-12 23:03:44.000000000 +1300 ++++ mozart-1.3.2.20060615/platform/emulator/Makefile.in 2007-02-12 22:36:26.000000000 +1300 +@@ -400,7 +400,7 @@ + $(NEWCACHEDIR): + $(INSTALL_DIR) $@ + +-$(NEWCACHEDIR)/% : % ++$(NEWCACHEDIR)/% : % $(NEWCACHEDIR) + $(INSTALL_FILE) $< $@ + + install-inc: $(INCDIR) +diff -ur mozart-1.3.2.20060615.orig/platform/tools/gump/Makefile.in mozart-1.3.2.20060615/platform/tools/gump/Makefile.in +--- mozart-1.3.2.20060615.orig/platform/tools/gump/Makefile.in 2003-01-08 02:40:10.000000000 +1300 ++++ mozart-1.3.2.20060615/platform/tools/gump/Makefile.in 2007-02-13 21:16:13.000000000 +1300 +@@ -66,15 +66,15 @@ + $(SHAREDIR) $(PLATFORMDIR) $(INCDIR) $(NEWCACHEDIR): + $(MKINSTALLDIRS) $@ + +-$(NEWCACHEDIR)/GumpScanner.so-$(PLATFORM): GumpScanner.so-$(PLATFORM) ++$(NEWCACHEDIR)/GumpScanner.so-$(PLATFORM): GumpScanner.so-$(PLATFORM) $(NEWCACHEDIR) + $(INSTALLDLL) $< $@ +-$(NEWCACHEDIR)/Bison.so-$(PLATFORM): ozbison/Bison.so-$(PLATFORM) ++$(NEWCACHEDIR)/Bison.so-$(PLATFORM): ozbison/Bison.so-$(PLATFORM) $(NEWCACHEDIR) + $(INSTALLDLL) $< $@ + +-$(PLATFORMDIR)/flex.exe: ozflex/flex.exe ++$(PLATFORMDIR)/flex.exe: ozflex/flex.exe $(PLATFORMDIR) + $(INSTALLPRG) $< $@ + +-$(INCDIR)/%: % ++$(INCDIR)/%: % $(INCDIR) + $(INSTALLFILE) $< $@ + + clean veryclean: +diff -ur mozart-1.3.2.20060615.orig/share/bin/Makefile.in mozart-1.3.2.20060615/share/bin/Makefile.in +--- mozart-1.3.2.20060615.orig/share/bin/Makefile.in 2001-08-05 10:24:41.000000000 +1200 ++++ mozart-1.3.2.20060615/share/bin/Makefile.in 2007-02-13 21:20:19.000000000 +1300 +@@ -55,13 +55,13 @@ + install: $(BINDIR) $(LIB_SCRIPTS) $(LIB_LINKS) $(WRAPPERS) + + +-$(LIB_SCRIPTS): $(BINDIR)/% : % ++$(LIB_SCRIPTS): $(BINDIR)/% : % $(BINDIR) + $(INSTALL_BIN) $< $(BINDIR) + +-$(LIB_LINKS): $(BINDIR)/oz ++$(LIB_LINKS): $(BINDIR)/oz $(BINDIR) + cd $(BINDIR); rm -f $@; $(LN_S) oz $@ + +-$(WRAPPERS): $(BINDIR)/%: $(SRCTOP)/platform/mswindows/% ++$(WRAPPERS): $(BINDIR)/%: $(SRCTOP)/platform/mswindows/% $(BINDIR) + $(INSTALL_FILE) $< $@ + + $(BINDIR): +diff -ur mozart-1.3.2.20060615.orig/share/demo/Makefile.in mozart-1.3.2.20060615/share/demo/Makefile.in +--- mozart-1.3.2.20060615.orig/share/demo/Makefile.in 2001-10-16 23:10:03.000000000 +1300 ++++ mozart-1.3.2.20060615/share/demo/Makefile.in 2007-02-13 21:23:08.000000000 +1300 +@@ -86,13 +86,13 @@ + $(OZDEMO) $(SYSTEMDOC) $(SYSTEMOZF): + $(INSTALL_DIR) $@ + +-$(OZDEMO)/%.oza: %.oza ++$(OZDEMO)/%.oza: %.oza $(OZDEMO) + $(INSTALL_FILE) $< $@ + +-$(SYSTEMOZF)/%: % ++$(SYSTEMOZF)/%: % $(SYSTEMOZF) + $(INSTALL_FILE) $< $@ + +-$(SYSTEMDOC)/%: % ++$(SYSTEMDOC)/%: % $(SYSTEMDOC) + $(INSTALL_FILE) $< $@ + + # +@@ -281,17 +281,17 @@ + + $(OZIMGDIRS): + $(INSTALL_DIR) $@ +-$(OZIMG)/animated-queens/%.xbm: images/animated-queens/%.xbm ++$(OZIMG)/animated-queens/%.xbm: images/animated-queens/%.xbm $(OZIMGDIRS) + $(INSTALL_FILE) $< $@ +-$(OZIMG)/lift/%.xbm: images/lift/%.xbm ++$(OZIMG)/lift/%.xbm: images/lift/%.xbm $(OZIMGDIRS) + $(INSTALL_FILE) $< $@ +-$(OZIMG)/transport/%.xbm: images/transport/%.xbm ++$(OZIMG)/transport/%.xbm: images/transport/%.xbm $(OZIMGDIRS) + $(INSTALL_FILE) $< $@ +-$(OZIMG)/trucks/%.ppm: images/trucks/%.ppm ++$(OZIMG)/trucks/%.ppm: images/trucks/%.ppm $(OZIMGDIRS) + $(INSTALL_FILE) $< $@ +-$(OZIMG)/college/%.xbm: images/college/%.xbm ++$(OZIMG)/college/%.xbm: images/college/%.xbm $(OZIMGDIRS) + $(INSTALL_FILE) $< $@ +-$(OZIMG)/dict-client/%: images/dict-client/% ++$(OZIMG)/dict-client/%: images/dict-client/% $(OZIMGDIRS) + $(INSTALL_FILE) $< $@ + + +diff -ur mozart-1.3.2.20060615.orig/share/elisp/Makefile.in mozart-1.3.2.20060615/share/elisp/Makefile.in +--- mozart-1.3.2.20060615.orig/share/elisp/Makefile.in 2002-04-02 00:31:22.000000000 +1200 ++++ mozart-1.3.2.20060615/share/elisp/Makefile.in 2007-02-13 21:23:50.000000000 +1300 +@@ -75,10 +75,10 @@ + $(ELISPDIR): + $(INSTALL_DIR) $@ + +-$(ELISPDIR)/%.el: %.el ++$(ELISPDIR)/%.el: %.el $(ELISPDIR) + $(INSTALL_FILE) $< $@ + +-$(ELISPDIR)/%.elc: %.elc ++$(ELISPDIR)/%.elc: %.elc $(ELISPDIR) + $(INSTALL_FILE) $< $@ + + clean: +diff -ur mozart-1.3.2.20060615.orig/share/examples/Makefile.in mozart-1.3.2.20060615/share/examples/Makefile.in +--- mozart-1.3.2.20060615.orig/share/examples/Makefile.in 2003-04-23 21:49:55.000000000 +1200 ++++ mozart-1.3.2.20060615/share/examples/Makefile.in 2007-02-13 21:26:07.000000000 +1300 +@@ -96,19 +96,19 @@ + constraints/scheduling-compiler constraints oz + SAMPLER = $(SAMPLER0:%=$(OZEX)/sampler/%.oz) + +-$(OZEX)/fd/%.oz: fd/%.oz ++$(OZEX)/fd/%.oz: fd/%.oz $(OZEXDIRS) + $(INSTALL_FILE) $< $@ +-$(OZEX)/fd/graphics/%.ozf: %.ozf ++$(OZEX)/fd/graphics/%.ozf: %.ozf $(OZEXDIRS) + $(INSTALL_FILE) $< $@ +-$(OZEX)/fd/graphics/%.oz: fd/graphics/%.oz ++$(OZEX)/fd/graphics/%.oz: fd/graphics/%.oz $(OZEXDIRS) + $(INSTALL_FILE) $< $@ +-$(OZEX)/grammar/%.oz: grammar/%.oz ++$(OZEX)/grammar/%.oz: grammar/%.oz $(OZEXDIRS) + $(INSTALL_FILE) $< $@ +-$(OZEX)/grammar/shieber/%.oz: grammar/shieber/%.oz ++$(OZEX)/grammar/shieber/%.oz: grammar/shieber/%.oz $(OZEXDIRS) + $(INSTALL_FILE) $< $@ +-$(OZEX)/sampler/%.oz: sampler/%.oz ++$(OZEX)/sampler/%.oz: sampler/%.oz $(OZEXDIRS) + $(INSTALL_FILE) $< $@ +-$(OZEX)/sampler/constraints/%.oz: sampler/constraints/%.oz ++$(OZEX)/sampler/constraints/%.oz: sampler/constraints/%.oz $(OZEXDIRS) + $(INSTALL_FILE) $< $@ + + +diff -ur mozart-1.3.2.20060615.orig/share/lib/Makefile.in mozart-1.3.2.20060615/share/lib/Makefile.in +--- mozart-1.3.2.20060615.orig/share/lib/Makefile.in 2003-12-05 10:55:34.000000000 +1300 ++++ mozart-1.3.2.20060615/share/lib/Makefile.in 2007-02-13 22:43:50.000000000 +1300 +@@ -11,7 +11,7 @@ + PREFIX = @prefix@ + OZPREFIX = @prefix@ + +-OZBIN = $(PREFIX)/bin ++BINDIR = $(PREFIX)/bin + OZLIB = $(PREFIX)/share + IMAGESDIR = $(OZLIB)/images + SHELL = /bin/sh +@@ -343,14 +343,14 @@ + $(FUNCTORS:%=$(OZLIB)/%) + + BINFILES = \ +- $(SYSLETS:%=$(OZBIN)/%) ++ $(SYSLETS:%=$(BINDIR)/%) + + BOOTINITTXT = boot-init.ozt + BOOTOZCTXT = boot-ozc.ozt + + install: install-main install-images install-cache + +-install-main: all $(OZBIN) $(BINFILES) ++install-main: all $(BINDIR) $(BINFILES) + + NEWCACHEDIR = $(PREFIX)/cache/x-oz/system + IMAGES1 = mini-dec.xbm mini-inc.xbm +@@ -376,7 +376,7 @@ + $(NEWCACHEDIR) $(NEWIMAGESDIR): + $(INSTALL_DIR) $@ + +-$(NEWCACHEDIR)/%: % ++$(NEWCACHEDIR)/%: % $(NEWCACHEDIR) + $(INSTALL_FILE) $< $@ + + $(CACHEDIR): +@@ -384,19 +384,19 @@ + -rm -rf $(CACHEDIR) + $(LN_S) ../../.. $(CACHEDIR) + +-$(OZLIB) $(IMAGESDIR) $(OZBIN): ++$(OZLIB) $(IMAGESDIR) $(BINDIR): + $(INSTALL_DIR) $@ + +-$(OZLIB)/%.ozf: %.ozf ++$(OZLIB)/%.ozf: %.ozf $(OZLIB) + $(INSTALL_FILE) $< $@ + +-$(IMAGESDIR)/%: images/% ++$(IMAGESDIR)/%: images/% $(IMAGESDIR) + $(INSTALL_FILE) $< $@ + +-$(OZBIN)/%: % ++$(BINDIR)/%: % $(BINDIR) + $(INSTALL_BIN) $< $@ + +-$(OZLIB)/boot-%: boot-% ++$(OZLIB)/boot-%: boot-% $(OZLIB) + $(INSTALL_FILE) $< $@ + + #--------------------------------------------------------------------- +diff -ur mozart-1.3.2.20060615.orig/share/tools/Makefile.in mozart-1.3.2.20060615/share/tools/Makefile.in +--- mozart-1.3.2.20060615.orig/share/tools/Makefile.in 2002-01-30 01:39:23.000000000 +1300 ++++ mozart-1.3.2.20060615/share/tools/Makefile.in 2007-02-14 20:17:49.000000000 +1300 +@@ -7,7 +7,7 @@ + PREFIX = @prefix@ + PLATFORM = @PLATFORM@ + +-OZBIN = $(PREFIX)/bin ++BINDIR = $(PREFIX)/bin + OZEX = $(PREFIX)/examples + OZEXGUMP = $(OZEX)/gump + OZLOADSEP = @OZLOADSEP@ +@@ -262,21 +262,21 @@ + #--------------------------------------------------------------------- + + BINFILES = \ +- $(SYSLETS:%=$(OZBIN)/%) ++ $(SYSLETS:%=$(BINDIR)/%) + + install: install-main install-cache + + install-main: all \ +- $(OZBIN) $(BINFILES) \ ++ $(BINDIR) $(BINFILES) \ + $(OZEX) $(OZEXGUMP) $(EXAMPLEFILES) + +-$(OZBIN) $(OZEX) $(OZEXGUMP): ++$(BINDIR) $(OZEX) $(OZEXGUMP): + $(INSTALL_DIR) $@ + +-$(OZBIN)/%: % ++$(BINDIR)/%: % $(BINDIR) + $(INSTALL_BIN) $< $@ + +-$(OZEXGUMP)/%: gump/examples/% ++$(OZEXGUMP)/%: gump/examples/% $(OZEXGUMP) + $(INSTALL_FILE) $< $@ + + install-cache: \ +@@ -288,13 +288,13 @@ + $(CACHEDIR) $(IMAGESDIR) $(OZCARIMAGESDIR) $(INSPECTORIMAGESDIR): + $(INSTALL_DIR) $@ + +-$(CACHEDIR)/%: % ++$(CACHEDIR)/%: % $(CACHEDIR) + $(INSTALL_FILE) $< $@ + +-$(OZCARIMAGESDIR)/%: ozcar/images/% ++$(OZCARIMAGESDIR)/%: ozcar/images/% $(OZCARIMAGESDIR) + $(INSTALL_FILE) $< $@ + +-$(INSPECTORIMAGESDIR)/%: inspector/images/% ++$(INSPECTORIMAGESDIR)/%: inspector/images/% $(INSPECTORIMAGESDIR) + $(INSTALL_FILE) $< $@ + + #--------------------------------------------------------------------- |