diff options
author | frueauf <frueauf> | 1999-02-01 11:39:45 +0000 |
---|---|---|
committer | frueauf <frueauf> | 1999-02-01 11:39:45 +0000 |
commit | 7c74a43b5d090d1f8ee3f3e9c13ceda9c196e63b (patch) | |
tree | bdf438929a0e54e605d757b3f286191d17d42be9 /www/mozilla/patches/patch-aj | |
parent | b89fab5769d7292cd989f76a5ecb1bb0b8d8030a (diff) | |
download | pkgsrc-7c74a43b5d090d1f8ee3f3e9c13ceda9c196e63b.tar.gz |
Make mozilla work on amiga and pmax. The hard work was done by
Michael Hitch, thanx!
Diffstat (limited to 'www/mozilla/patches/patch-aj')
-rw-r--r-- | www/mozilla/patches/patch-aj | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/www/mozilla/patches/patch-aj b/www/mozilla/patches/patch-aj new file mode 100644 index 00000000000..0c4e63c022a --- /dev/null +++ b/www/mozilla/patches/patch-aj @@ -0,0 +1,40 @@ +$NetBSD: patch-aj,v 1.1 1999/02/01 11:39:51 frueauf Exp $ + +--- config/rules.mk-patch Thu Oct 8 22:28:28 1998 ++++ config/rules.mk Fri Jan 29 17:38:59 1999 +@@ -112,6 +112,12 @@ + ifeq ($(OS_ARCH),HP-UX) + SHARED_LIBRARY := $(LIBRARY:.a=.sl) + else ++ifeq ($(OS_ARCH),NetBSD) ++## HACK for mips libraries ++SHARED_LIBRARY := $(LIBRARY:.a=.so.1.0) ++## HACK for mips g++ ++CCC = c++ ++else + ifneq (,$(filter FreeBSD NetBSD OpenBSD,$(OS_ARCH))) + SHARED_LIBRARY := $(LIBRARY:.a=.so.1.0) + else +@@ -131,6 +137,7 @@ + endif + endif + endif ++endif + + ifdef NO_STATIC_LIB + LIBRARY = $(NULL) +@@ -308,6 +315,14 @@ + endif + ifdef SHARED_LIBRARY + $(INSTALL) -m 555 $(SHARED_LIBRARY) $(DIST)/bin ++ifeq ($(OS_ARCH),NetBSD) ++ifeq ($(CPU_ARCH),mips) ++ rm -f $(DIST)/bin/lib$(LIBRARY_NAME).so.1 ++ rm -f $(DIST)/bin/lib$(LIBRARY_NAME).so ++ (cd $(DIST)/bin;ln -s lib$(LIBRARY_NAME).so.1.0 lib$(LIBRARY_NAME).so.1) ++ (cd $(DIST)/bin;ln -s lib$(LIBRARY_NAME).so.1.0 lib$(LIBRARY_NAME).so) ++endif ++endif + endif + ifdef PROGRAM + $(INSTALL) -m 444 $(PROGRAM) $(DIST)/bin |