diff options
author | hubertf <hubertf> | 1997-10-11 21:53:59 +0000 |
---|---|---|
committer | hubertf <hubertf> | 1997-10-11 21:53:59 +0000 |
commit | f5ee8e2561694e498edddcfba4a7f15ea35e3c17 (patch) | |
tree | cd1e0be6347cb17aeb9201b0ecc45b0286c98b53 /misc/dotfile/patches | |
parent | ef17a602de1210761f4ecdc6eea0e872eae46423 (diff) | |
download | pkgsrc-f5ee8e2561694e498edddcfba4a7f15ea35e3c17.tar.gz |
Import as of 09/25/97
Diffstat (limited to 'misc/dotfile/patches')
-rw-r--r-- | misc/dotfile/patches/patch-01 | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/misc/dotfile/patches/patch-01 b/misc/dotfile/patches/patch-01 new file mode 100644 index 00000000000..823c0b29025 --- /dev/null +++ b/misc/dotfile/patches/patch-01 @@ -0,0 +1,68 @@ +--- Makefile.in.orig Fri Jan 31 13:10:25 1997 ++++ Makefile.in Thu Apr 3 19:02:57 1997 +@@ -15,7 +15,7 @@ + bindir = $(exec_prefix)/bin + + # Directory in which to install library files. +-libdir = $(prefix)/lib/dotfile-$(version) ++libdir = $(prefix)/share/dotfile-$(version) + # Directory for the manual page + mandir = $(prefix)/man/man1 + +@@ -23,7 +23,6 @@ + SHELL = /bin/sh + + ### Tell the user that there is nothing to be compiled. +-.PHONY: nothing + nothing: + @echo "The Dotfile Generator does not contain any files which has to be compiled!" + @echo "On the other hand, during installation, all the modules need to be" +@@ -32,10 +31,8 @@ + # + # install all the files in the corect places. + # +-.PHONY: install + install: copydirs bytecompile + +-.PHONY: copydirs + copydirs: + $(SHELL) $(srcdir)/mkinstalldirs $(bindir) $(libdir) \ + $(libdir)/Generator $(mandir) +@@ -49,20 +46,18 @@ + done + cp dotfile.1 $(mandir) + -@RM@ $(bindir)/dotfile +- -@LN@ -s $(bindir)/dotfile-$(version) $(bindir)/dotfile ++ -@LN@ -s dotfile-$(version) $(bindir)/dotfile + chmod 755 $(bindir)/dotfile + chmod 755 $(bindir)/dotfile-$(version) + +-.PHONY: bytecompile + bytecompile: $(MODULES) + + # + # Targets that requre X (the modules using the fonts widget) + # +-.PHONY fvwm1 fvwm2: + fvwm1 fvwm2: +- @if wish testwish; then \ +- @WISH@ $(libdir)/Generator/dotfile.tcl $(libdir)/Generator $(libdir)/$@ bytecompile; \ ++ @if $(WISH) testwish; then \ ++ $(WISH) $(libdir)/Generator/dotfile.tcl $(libdir)/Generator $(libdir)/$@ bytecompile; \ + else \ + echo "An error should be shown above!"; \ + echo "You need X to bytecompile the $@ module, do this manually after"; \ +@@ -72,13 +67,11 @@ + # + # Targets that may bytecompile without X + # +-.PHONY emacs tcsh rtin bash elm: + emacs tcsh rtin bash elm: + @@TCLSH@ $(libdir)/Generator/dotfile.tcl $(libdir)/Generator $(libdir)/$@ bytecompile + + # + # Clean + # +-.PHONY: clean + clean : + @echo Nothing to do |