1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/devel/omniORB/files/patch-aj
James E. Housley a412d5e141 - Update of devel/omniORB to 3.0.3; also fixes significant problems with the
port (see below).
- Submitted this to current maintainer on Wednesday 14 March; no response yet
- The Python modules were not correctly installed to the Python site library
  directory before.  They are now.  (Thanks to Michael Ewe <m.ewe@t-online.de>
  for pointing out the issue.)
- Used PORTDOCS pragma in $PLIST.

PR:		25934
Submitted by:	Johann Visagie <johann@egenetics.com>
2001-03-23 00:35:26 +00:00

59 lines
1.5 KiB
Plaintext

--- mk/platforms/x86_freebsd_4.0.mk.orig Fri Aug 18 16:09:33 2000
+++ mk/platforms/x86_freebsd_4.0.mk Tue Sep 12 09:56:52 2000
@@ -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++295
+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 = gcc295
+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.