Add a dependency on gtksourceview, and fix the detection of said new
module. Submitted by: Franz Klammer <klammer@webonaut.com>
This commit is contained in:
parent
17cc9124f8
commit
6204792b3d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83046
2 changed files with 43 additions and 4 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
PORTNAME= libgnomedb
|
||||
PORTVERSION= 0.12.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= databases gnome
|
||||
MASTER_SITES= ${MASTER_SITE_GNOME}
|
||||
MASTER_SITE_SUBDIR= sources/libgnomedb/0.12
|
||||
|
@ -19,7 +20,7 @@ USE_BZIP2= yes
|
|||
USE_X_PREFIX= yes
|
||||
USE_GMAKE= yes
|
||||
USE_REINPLACE= yes
|
||||
USE_GNOME= gnomeprefix gnomehack libgnomeui libgda2
|
||||
USE_GNOME= gnomeprefix gnomehack libgnomeui libgda2 gtksourceview
|
||||
USE_LIBTOOL= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
--- configure.orig Sun Jun 2 23:24:22 2002
|
||||
+++ configure Sun Jun 2 23:24:33 2002
|
||||
@@ -8089,6 +8089,7 @@
|
||||
--- configure.orig Fri Jun 13 07:07:05 2003
|
||||
+++ configure Sun Jun 15 17:15:17 2003
|
||||
@@ -8612,6 +8612,7 @@
|
||||
|
||||
# This can be used to rebuild libtool when needed
|
||||
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
|
||||
|
@ -8,3 +8,41 @@
|
|||
|
||||
# Always use our own libtool.
|
||||
LIBTOOL='$(SHELL) $(top_builddir)/libtool'
|
||||
@@ -10647,23 +10648,23 @@
|
||||
else
|
||||
PKG_CONFIG_MIN_VERSION=0.9.0
|
||||
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
|
||||
- echo "$as_me:$LINENO: checking for gtksourceview" >&5
|
||||
-echo $ECHO_N "checking for gtksourceview... $ECHO_C" >&6
|
||||
+ echo "$as_me:$LINENO: checking for gtksourceview-1.0" >&5
|
||||
+echo $ECHO_N "checking for gtksourceview-1.0... $ECHO_C" >&6
|
||||
|
||||
- if $PKG_CONFIG --exists "gtksourceview" ; then
|
||||
+ if $PKG_CONFIG --exists "gtksourceview-1.0" ; then
|
||||
echo "$as_me:$LINENO: result: yes" >&5
|
||||
echo "${ECHO_T}yes" >&6
|
||||
succeeded=yes
|
||||
|
||||
echo "$as_me:$LINENO: checking GTKSOURCEVIEW_CFLAGS" >&5
|
||||
echo $ECHO_N "checking GTKSOURCEVIEW_CFLAGS... $ECHO_C" >&6
|
||||
- GTKSOURCEVIEW_CFLAGS=`$PKG_CONFIG --cflags "gtksourceview"`
|
||||
+ GTKSOURCEVIEW_CFLAGS=`$PKG_CONFIG --cflags "gtksourceview-1.0"`
|
||||
echo "$as_me:$LINENO: result: $GTKSOURCEVIEW_CFLAGS" >&5
|
||||
echo "${ECHO_T}$GTKSOURCEVIEW_CFLAGS" >&6
|
||||
|
||||
echo "$as_me:$LINENO: checking GTKSOURCEVIEW_LIBS" >&5
|
||||
echo $ECHO_N "checking GTKSOURCEVIEW_LIBS... $ECHO_C" >&6
|
||||
- GTKSOURCEVIEW_LIBS=`$PKG_CONFIG --libs "gtksourceview"`
|
||||
+ GTKSOURCEVIEW_LIBS=`$PKG_CONFIG --libs "gtksourceview-1.0"`
|
||||
echo "$as_me:$LINENO: result: $GTKSOURCEVIEW_LIBS" >&5
|
||||
echo "${ECHO_T}$GTKSOURCEVIEW_LIBS" >&6
|
||||
else
|
||||
@@ -10671,7 +10672,7 @@
|
||||
GTKSOURCEVIEW_LIBS=""
|
||||
## If we have a custom action on failure, don't print errors, but
|
||||
## do set a variable so people can do so.
|
||||
- GTKSOURCEVIEW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtksourceview"`
|
||||
+ GTKSOURCEVIEW_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtksourceview-1.0"`
|
||||
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue