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
This commit is contained in:
Maxim Sobolev 2002-01-22 12:30:11 +00:00
parent 68dc80fe3d
commit 8041418f18
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53546
4 changed files with 14 additions and 6 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= ORBit
PORTVERSION= 0.5.13
PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/ORBit

View file

@ -2,7 +2,7 @@
$FreeBSD$
--- orbit-config.in.orig Wed Sep 19 20:09:00 2001
+++ orbit-config.in Wed Oct 3 14:51:10 2001
+++ orbit-config.in Tue Jan 22 14:27:19 2002
@@ -28,8 +28,8 @@
Known values for TARGET are:
@ -14,7 +14,7 @@ $FreeBSD$
EOF
exit $1
@@ -87,8 +87,8 @@
@@ -87,10 +87,10 @@
;;
client|server)
@ -23,5 +23,8 @@ $FreeBSD$
+ 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 "
+ || the_flags="$the_flags -I$includedir -I@includedir@"
;;
--use-service=*)

View file

@ -7,6 +7,7 @@
PORTNAME= ORBit
PORTVERSION= 0.5.13
PORTREVISION= 1
CATEGORIES= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= stable/sources/ORBit

View file

@ -2,7 +2,7 @@
$FreeBSD$
--- orbit-config.in.orig Wed Sep 19 20:09:00 2001
+++ orbit-config.in Wed Oct 3 14:51:10 2001
+++ orbit-config.in Tue Jan 22 14:27:19 2002
@@ -28,8 +28,8 @@
Known values for TARGET are:
@ -14,7 +14,7 @@ $FreeBSD$
EOF
exit $1
@@ -87,8 +87,8 @@
@@ -87,10 +87,10 @@
;;
client|server)
@ -23,5 +23,8 @@ $FreeBSD$
+ 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 "
+ || the_flags="$the_flags -I$includedir -I@includedir@"
;;
--use-service=*)