aboutsummaryrefslogtreecommitdiffstats
path: root/news/husky-devel/files/patch-huskybse_huskymak.cfg
blob: ec053e956e855cec059d96ef7e05e0471430913d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
--- huskybse/huskymak.cfg.orig  2007-02-23 21:47:15.000000000 +0000
+++ huskybse/huskymak.cfg   2014-08-10 22:33:05.000000000 +0100
@@ -38,7 +38,7 @@
 # will not be compiled, and you won't know how to use the software ;-).
 # You should take care that this directory is listed in the INFOPATH 
 # environment variable (if necessary, modify your /etc/profile file).
-# INFODIR=/usr/local/info
+INFODIR=$(PREFIX)/info
 
 # The same as above, but for DVI documentation. This requires a working
 # "texi2dvi" program.
@@ -46,7 +46,7 @@
 
 # The same as above, but for HTML documentation. This requires a working
 # "texi2html" program.
-#HTMLDIR=$(PREFIX)/lib/husky
+HTMLDIR=$(PREFIX)/share/doc/husky
 
 # Name of the config file of MSGED TE:
 MSGEDCFG=\"$(CFGDIR)/msged.cfg\"
@@ -66,10 +66,10 @@
 ##############################################################################
 
 # C-Compiler
-CC=gcc
+#CC=gcc
 
 # C++-Compiler
-CXX=g++
+#CXX=g++
 
 #Msged needs access to a termcap library. Define its name here.
 #On Linux, termcap is integrated into ncurses:
@@ -95,14 +95,14 @@
 # On Solaris use "-G" as additional linkerflag !!!!!!!
 # MKSHARED=ld
 # LD=ld -G
-MKSHARED=gcc 
+MKSHARED=$(CC)
 
 # remove file
 RM=rm
 
 # The "install" program.
 # On Linux and FreeBSD/NetBSD, use this:
-INSTALL=install
+INSTALL=
 # On Tru64 Unix, use this:
 # INSTALL=installbsd
 # On Solaris, use this:
@@ -116,7 +116,7 @@
 
 # update dynamic library cache
 # If your operating system does not need this, you may comment out this line.
-LDCONFIG=/sbin/ldconfig
+#LDCONFIG=/sbin/ldconfig
 
 # rename a file
 MV=mv
@@ -139,8 +139,8 @@
 OSTYPE=UNIX
 
 # short name of operating system (used for PID lines etc.)
-UNAME=LNX
-#UNAME=BSD
+#UNAME=LNX
+UNAME=BSD
 #UNAME=OS2
 #UNAME=BEOS
 
@@ -151,7 +151,7 @@
 SHORTNAMES=0
 
 # Perl support
-PERL=0
+PERL=1
 
 # ZipInternal packer
 USE_HPTZIP=0
@@ -179,7 +179,7 @@
 WARNFLAGS=-Wall
 
 # C-compiler: optimization
-OPTCFLAGS=-c -s -O3 -fomit-frame-pointer -fstrength-reduce -fPIC
+OPTCFLAGS=-c -fPIC
 
 ifeq ( $(DYNLIBS), 0 )
   ifeq ($(OSTYPE), UNIX)
@@ -216,29 +216,22 @@
 DEBLFLAGS=-g
 
 # options for installing programs
-OPTIBOPT=-c -s -m 555
-DEBIBOPT=-c -m 555
-
-ifeq ($(DEBUG), 1)
-  IBOPT = $(DEBIBOPT)
-else
-  IBOPT = $(OPTIBOPT)
-endif
+IBOPT=$(BSD_INSTALL_PROGRAM)
 
 # options for installing scripts
-ISOPT=-c -m 555
+ISOPT=$(BSD_INSTALL_SCRIPT)
 
 # options for installing shared libs
-ILOPT=-c -m 555
+ILOPT=$(BSD_INSTALL_LIB)
 
 # options for installing static libs
-ISLOPT=-c -m 444
+ISLOPT=$(BSD_INSTALL_LIB)
 
 # options for installing man-pages
-IMOPT=-c -m 444
+IMOPT=$(BSD_INSTALL_MAN)
 
 # options for installing includes
-IIOPT=-c -m 444
+IIOPT=$(BSD_INSTALL_DATA)
 
 # options for making links
 LNOPT=-sf