aboutsummaryrefslogtreecommitdiff
path: root/devel/omniORB/files/patch-aj
blob: f9e59ad7ae2d46c598160570b4077d07c2074bd5 (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
--- mk/platforms/x86_freebsd_4.0.mk.orig	Thu Jul 25 16:36:31 2002
+++ mk/platforms/x86_freebsd_4.0.mk	Thu Jul 25 16:38:55 2002
@@ -10,7 +10,7 @@
 #
 # You must set a path to a Python 1.5.2 interpreter.
 
-#PYTHON = /usr/local/bin/python
+PYTHON = ${PYTHON_CMD}
 
 
 #
@@ -25,12 +25,13 @@
 #
 
 AR = ar cq
+MKDIRHIER=	${MKDIR}
 
 CPP = /usr/libexec/cpp
 
-CXX = g++
+CXX ?= g++
 CXXMAKEDEPEND += -D__cplusplus -D__GNUG__ -D__GNUC__
-CXXDEBUGFLAGS = -O2
+CXXDEBUGFLAGS ?= -O2
 
 CXXLINK		= $(CXX) -pthread -s
 CXXLINKOPTIONS  = $(CXXDEBUGFLAGS) $(CXXOPTIONS)
@@ -39,14 +40,14 @@
 EgcsMajorVersion = 1
 EgcsMinorVersion = 1        # This is actually a post-1.0 egcs snapshot.
 
-CC           = gcc
+CC           ?= gcc
 CMAKEDEPEND  += -D__GNUC__
-CDEBUGFLAGS  = -O2
+CDEBUGFLAGS  ?= -O2
 
 CLINK        = $(CC)
 CLINKOPTIONS = $(CDEBUGFLAGS) $(COPTIONS)
 
-INSTALL = install -c
+INSTALL = ${BSD_INSTALL} -c
 
 IMPORT_CPPFLAGS += -D__x86__ -D__freebsd__ -D__OSVERSION__=4
 
@@ -72,10 +73,10 @@
 # Default location of the omniORB configuration file [falls back to this if
 # the environment variable OMNIORB_CONFIG is not set] :
 
-OMNIORB_CONFIG_DEFAULT_LOCATION = /etc/omniORB.cfg
+OMNIORB_CONFIG_DEFAULT_LOCATION = ${PREFIX}/etc/omniORB.cfg
 
 # Default directory for the omniNames log files.
-OMNINAMES_LOG_DEFAULT_LOCATION = /var/omninames
+OMNINAMES_LOG_DEFAULT_LOCATION = /var/log/omninames
 
 # Uncomment the following if you want all utils and examples build in
 # this tree to statically linke with the omniORB libraries.