source: trunk/dports/editors/jove/files/patch-Makefile.diff @ 15984

Last change on this file since 15984 was 15984, checked in by olegb, 14 years ago

Bug: 6698
Submitted by: blair@…
Reviewed by: olegb@ vivek@…
Approved by:
Obtained from:
bump to 4.16.0.69 leaving jove-local-rc unchanged.

  • Property svn:eol-style set to native
File size: 2.0 KB
RevLine 
[15984]1--- Makefile.orig       2005-09-30 15:14:41.000000000 -0700
2+++ Makefile    2006-01-21 09:57:24.000000000 -0800
3@@ -21,12 +21,12 @@
4 # If they don't exist, this makefile will try to create the directories
[2311]5 # LIBDIR and SHAREDIR.  All others must already exist.
6 
7-JOVEHOME = /usr/local
8-SHAREDIR = $(JOVEHOME)/lib/jove
9-LIBDIR = $(JOVEHOME)/lib/jove
10+JOVEHOME = __PREFIX
11+SHAREDIR = $(JOVEHOME)/share/jove
12+LIBDIR = $(JOVEHOME)/libexec/jove
13 BINDIR = $(JOVEHOME)/bin
[15984]14 XEXT=
[6831]15-MANDIR = $(JOVEHOME)/man/man$(MANEXT)
16+MANDIR = $(JOVEHOME)/share/man/man$(MANEXT)
[2311]17 MANEXT = 1
[15984]18 
19 # TMPDIR is where the tmp files get stored, usually /tmp, /var/tmp, or
20@@ -38,11 +38,11 @@
21 # (in case the system startup salvages tempfiles by moving them,
22 # which is probably a good idea).
23 
24-TMPDIR = /tmp
25+TMPDIR = /var/tmp
26 RECDIR = /var/preserve
27 
28 # DFLTSHELL is the default shell invoked by JOVE and TEACHJOVE.
[2311]29-DFLTSHELL = /bin/csh
30+DFLTSHELL = /bin/sh
31 
32 # The install commands of BSD and System V differ in unpleasant ways:
33 # -c: copy (BSD); -c dir: destination directory (SysV)
[15984]34@@ -53,17 +53,20 @@
35 # "cp" will work reasonably well, but be aware that any links continue
36 # referencing the old file with new contents.
37 
38+INSTALL=/usr/bin/install
[2311]39 INSTALLFLAGS = # -g bin -o root
40 
41 # to install executable files
42-XINSTALL=cp
43+#XINSTALL=cp
[15984]44 #XINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 755 # -s
45 #CYGWIN32: XINSTALL=install $(INSTALLFLAGS) -c -m 755
46+XINSTALL=$(INSTALL) $(INSTALLFLAGS) -c -m 755
[2311]47 
48 # to install text files
49-TINSTALL=cp
50+#TINSTALL=cp
[15984]51 #TINSTALL=/usr/ucb/install $(INSTALLFLAGS) -c -m 644
52 #CYGWIN32: TINSTALL=install $(INSTALLFLAGS) -c -m 644
53+TINSTALL=$(INSTALL) $(INSTALLFLAGS) -c -m 644
[2311]54 
55 # These should all just be right if the above ones are.
56 # You will confuse JOVE if you move anything from LIBDIR or SHAREDIR.
[15984]57@@ -146,7 +150,7 @@
58 # On DEC OSF/1 and Digital UNIX VV4.0, add -std1 to enable ANSI C features
59 # and perhaps -g3 for more debugging info with optimization.
[2311]60 
61-OPTFLAGS = -O
[15984]62+OPTFLAGS = -Os
[2311]63 
64 # For making dependencies under BSD systems
65 DEPENDFLAG = -M
Note: See TracBrowser for help on using the repository browser.