--- ./applications/utilities/mesh/manipulation/patchTool/C++/PatchToolServer/Make/orbOptions.orig	Thu Aug 28 10:37:05 2003
+++ ./applications/utilities/mesh/manipulation/patchTool/C++/PatchToolServer/Make/orbOptions	Wed Dec 21 19:09:41 2005
@@ -3,6 +3,11 @@
     ORB_SYS_INC = 
     ORB_SYS_LIB = -ldl
 
+#elif defined(FreeBSD)
+
+    ORB_SYS_INC = 
+    ORB_SYS_LIB = 
+
 #elif defined(solaris)
 
     ORB_SYS_INC = 
@@ -31,13 +36,11 @@
 
 
 ORB_INC = \
-    -I$(MICO_ARCH_PATH)/include \
+    `mico-config --cxxflags` \
     $(ORB_SYS_INC)
 
 ORB_LIBS = \
-    -L$(MICO_ARCH_PATH)/lib \
-    -lmicocoss$(MICO_VERSION) \
-    -lmico$(MICO_VERSION) \
+    `mico-config --cosslibs` \
     $(ORB_SYS_LIB)
 
 /*
