summaryrefslogtreecommitdiffstats
path: root/devel/ORBit2/files/patch-ad
blob: 0bb76e615318e3b35fbd99490058464e81b2adb2 (plain)
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

$FreeBSD$

--- orbit-config.in.orig	Wed Sep 19 20:09:00 2001
+++ orbit-config.in	Tue Jan 22 14:27:19 2002
@@ -28,8 +28,8 @@
 
 Known values for TARGET are:
 
-    client		(calls glib-config)
-    server		(calls glib-config)
+    client		(calls @GLIB_CONFIG@)
+    server		(calls @GLIB_CONFIG@)
 EOF
 
     exit $1
@@ -87,10 +87,10 @@
        	;;
 
     client|server)
-	the_libs="$the_libs -L$libdir -lORBit -lIIOP -lORBitutil `glib-config --libs` @LIBS@ -lm"
-        the_flags="$the_flags `glib-config --cflags` "
+	the_libs="$the_libs -L$libdir -lORBit -lIIOP -lORBitutil `@GLIB_CONFIG@ --libs` @LIBS@ @LIB_WRAP@ -lm"
+        the_flags="$the_flags `@GLIB_CONFIG@ --cflags` "
         test "x$includedir" = "x/usr/include" \
-          || the_flags="$the_flags -I$includedir "
+          || the_flags="$the_flags -I$includedir -I@includedir@"
 	;;
 
    --use-service=*)
OpenPOWER on IntegriCloud