$NetBSD: patch-ad,v 1.10 2008/01/18 10:21:01 jmmv Exp $ --- Makefile.in.orig 2007-10-22 00:07:20.000000000 +0200 +++ Makefile.in @@ -72,8 +72,8 @@ RMDIR=rmdir TAR=tar CHMOD=chmod # the GZIP variable is reserved by gzip program -GZIP_BIN=gzip -9 -GUNZIP=gunzip +GZIP_BIN=${GZIP_CMD} -9 +GUNZIP=${GUNZIP_CMD} ZIP=zip UNIX2DOS=unix2dos LIBTOOL=@LIBTOOL@ @@ -576,7 +576,7 @@ RINCLUDES=/System/Library/Frameworks/Car REZ_ARGS=-append -i $RINCLUDES -d SystemSevenOrLater=1 -useDF STANDALONE_LIBDIR=`pwd`/$(APP)/Contents/$(APP_PLATFORM)/lib OSACOMPILE=/usr/bin/osacompile -SETFILE=/Developer/Tools/Setfile +SETFILE=/Developer/Tools/SetFile # On a MacOS X machine, you run rez, osacompile, and setfile to # produce the script executable, which has both a data fork and a @@ -653,18 +653,15 @@ $(APP)/.build_plugins: $(APP)/.build boc $(LIBTOOL) --finish $(STANDALONE_LIBDIR); touch $(APP)/.build_plugins -install_macosx: all download_dlx install_man @INSTALL_DOCBOOK_VAR@ - -mkdir -p $(DESTDIR)$(prefix) +install_macosx: all install_man @INSTALL_DOCBOOK_VAR@ + -mkdir -p $(DESTDIR)$(sharedir) for i in $(INSTALL_LIST_MACOSX); do if test -e $$i; then $(CPMAC) -r $$i $(DESTDIR)$(sharedir); else $(CPMAC) -r $(srcdir)/$$i $(DESTDIR)$(sharedir); fi; done $(CPMAC) $(srcdir)/.bochsrc $(DESTDIR)$(sharedir)/bochsrc-sample.txt -mkdir $(DESTDIR)$(sharedir)/keymaps $(CPMAC) $(srcdir)/gui/keymaps/*.map $(DESTDIR)$(sharedir)/keymaps - cat $(DLXLINUX_TAR) | (cd $(DESTDIR)$(sharedir) && tar xzvf -) - dlxrc=$(DESTDIR)$(sharedir)/dlxlinux/bochsrc.txt; mv "$$dlxrc" "$$dlxrc.orig" && sed < "$$dlxrc.orig" 's/\/usr\/local\/bochs\/latest/../' > "$$dlxrc" && rm -f "$$dlxrc.orig" mv $(srcdir)/README $(srcdir)/README.orig cat $(srcdir)/build/macosx/README.macosx-binary $(srcdir)/README.orig > $(DESTDIR)$(sharedir)/README rm -f $(DESTDIR)$(sharedir)/README.orig - $(CPMAC) $(SCRIPT_EXEC) $(DESTDIR)$(sharedir)/dlxlinux # for i in $(TEXT_FILE_LIST); do mv $(srcdir)/$$i $(DESTDIR)$(sharedir)/$$i.txt; done ###########################################