freebsd-ports/devel/ORBit/files/patch-ad
Maxim Sobolev 8041418f18 Add -I${PREFIX}/include into output of orbit-config script, because it's
necessary for ports in order to find libIDL includes.

Submitted by:	vanilla
2002-01-22 12:30:11 +00:00

30 lines
875 B
Text

$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=*)