diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-15 21:23:17 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2003-06-15 21:23:17 +0000 |
commit | 6204792b3dcb19e41e9ca64d4d617c5a6929f8e9 (patch) | |
tree | 1d6118b3c528b19f4dd93cee462eff7b61fd52a5 /databases/libgnomedb | |
parent | 17cc9124f8f306c687eba00550425dae02b2d15a (diff) | |
download | ports-6204792b3dcb19e41e9ca64d4d617c5a6929f8e9.tar.gz ports-6204792b3dcb19e41e9ca64d4d617c5a6929f8e9.zip |
Add a dependency on gtksourceview, and fix the detection of said new
module.
Submitted by: Franz Klammer <klammer@webonaut.com>
Notes
Notes:
svn path=/head/; revision=83046
Diffstat (limited to 'databases/libgnomedb')
-rw-r--r-- | databases/libgnomedb/Makefile | 3 | ||||
-rw-r--r-- | databases/libgnomedb/files/patch-configure | 44 |
2 files changed, 43 insertions, 4 deletions
diff --git a/databases/libgnomedb/Makefile b/databases/libgnomedb/Makefile index c8ed00fc0273..e3b8b921e2d8 100644 --- a/databases/libgnomedb/Makefile +++ b/databases/libgnomedb/Makefile @@ -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" \ diff --git a/databases/libgnomedb/files/patch-configure b/databases/libgnomedb/files/patch-configure index 1946812ec318..4d4c35f1868d 100644 --- a/databases/libgnomedb/files/patch-configure +++ b/databases/libgnomedb/files/patch-configure @@ -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 + |