aboutsummaryrefslogtreecommitdiffstats
path: root/databases/libgnomedb
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-06-16 05:23:17 +0800
committermarcus <marcus@FreeBSD.org>2003-06-16 05:23:17 +0800
commit11b849e575d9956bd0eed9c65bff5a9fc648868a (patch)
treeb4282e3ba9cc7b6298f6b9d16dd7005af56177ef /databases/libgnomedb
parent74a056b126327d274fe1932284ecefb861967948 (diff)
downloadfreebsd-ports-gnome-11b849e575d9956bd0eed9c65bff5a9fc648868a.tar.gz
freebsd-ports-gnome-11b849e575d9956bd0eed9c65bff5a9fc648868a.tar.zst
freebsd-ports-gnome-11b849e575d9956bd0eed9c65bff5a9fc648868a.zip
Add a dependency on gtksourceview, and fix the detection of said new
module. Submitted by: Franz Klammer <klammer@webonaut.com>
Diffstat (limited to 'databases/libgnomedb')
-rw-r--r--databases/libgnomedb/Makefile3
-rw-r--r--databases/libgnomedb/files/patch-configure44
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
+