summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-01-08 00:21:57 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2007-01-08 00:21:57 +0000
commit769919db662a8d2a09d782876768f6f67f8475ed (patch)
tree56f4fe42b7fc9ba2d2892d5f9f6f5c10d3670e3f /databases
parent- Fix build with gcc 4.x (diff)
- fix build when gmone is installed [1]
- pet portlint a little [2] PR: ports/107507 Submitted by: Denis Eremenko <moonshade@pnhz.kz> [1], itetcu (me) [2]
Notes
Notes: svn path=/head/; revision=181734
Diffstat (limited to 'databases')
-rw-r--r--databases/mdbtools/Makefile3
-rw-r--r--databases/mdbtools/files/patch-ltmain.sh12
-rw-r--r--databases/mdbtools/files/patch-src_gmdb2_gmdb.h13
-rw-r--r--databases/mdbtools/pkg-plist14
4 files changed, 34 insertions, 8 deletions
diff --git a/databases/mdbtools/Makefile b/databases/mdbtools/Makefile
index dde139981702..e6a65ae557c5 100644
--- a/databases/mdbtools/Makefile
+++ b/databases/mdbtools/Makefile
@@ -15,7 +15,8 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Utilities and libraries to export data from MS Access databases (.mdb)
-BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk # To build man-pages
+# To build man-pages
+BUILD_DEPENDS= gawk:${PORTSDIR}/lang/gawk
USE_BISON= yes
USE_GNOME= glib20
diff --git a/databases/mdbtools/files/patch-ltmain.sh b/databases/mdbtools/files/patch-ltmain.sh
new file mode 100644
index 000000000000..b856331e9039
--- /dev/null
+++ b/databases/mdbtools/files/patch-ltmain.sh
@@ -0,0 +1,12 @@
+--- ltmain.sh.orig Thu Jan 4 15:07:04 2007
++++ ltmain.sh Thu Jan 4 15:07:48 2007
+@@ -1413,6 +1413,9 @@
+ esac
+ fi
+ for deplib in $libs; do
++ if test "$deplib" = "-pthread"; then
++ continue
++ fi
+ lib=
+ found=no
+ case $deplib in
diff --git a/databases/mdbtools/files/patch-src_gmdb2_gmdb.h b/databases/mdbtools/files/patch-src_gmdb2_gmdb.h
new file mode 100644
index 000000000000..21b64cb26c80
--- /dev/null
+++ b/databases/mdbtools/files/patch-src_gmdb2_gmdb.h
@@ -0,0 +1,13 @@
+--- src/gmdb2/gmdb.h.orig Mon Jan 13 04:59:42 2003
++++ src/gmdb2/gmdb.h Mon Mar 6 11:32:10 2006
+@@ -44,6 +44,10 @@
+ void gmdb_debug_tab_new(GtkWidget *notebook);
+ void gmdb_debug_new_cb(GtkWidget *w, gpointer *data);
+
++void gmdb_table_export_populate_dialog(GladeXML *xml);
++void gmdb_sql_save_query(GladeXML *xml, gchar *file_path);
++void gmdb_sql_save_as_cb(GtkWidget *w, GladeXML *xml);
++
+ unsigned long gmdb_prefs_get_maxrows();
+
+ extern GtkWidget *gmdb_prefs_new();
diff --git a/databases/mdbtools/pkg-plist b/databases/mdbtools/pkg-plist
index 7cc614a3dfb0..b8d8fefdae8e 100644
--- a/databases/mdbtools/pkg-plist
+++ b/databases/mdbtools/pkg-plist
@@ -28,12 +28,12 @@ lib/libmdbsql.a
lib/libmdbsql.la
lib/libmdbsql.so
lib/libmdbsql.so.0
-%%PORTDOCS%%share/doc/mdbtools/AUTHORS
-%%PORTDOCS%%share/doc/mdbtools/ChangeLog
-%%PORTDOCS%%share/doc/mdbtools/HACKING
-%%PORTDOCS%%share/doc/mdbtools/NEWS
-%%PORTDOCS%%share/doc/mdbtools/README
-%%PORTDOCS%%share/doc/mdbtools/TODO
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/HACKING
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
%%GNOME:%%share/gnome/gmdb/glade/code.xpm
%%GNOME:%%share/gnome/gmdb/glade/debug.xpm
%%GNOME:%%share/gnome/gmdb/glade/form_big.xpm
@@ -67,4 +67,4 @@ lib/libmdbsql.so.0
%%GNOME:%%@dirrm share/gnome/help/gmdb
%%GNOME:%%@dirrm share/gnome/gmdb/glade
%%GNOME:%%@dirrm share/gnome/gmdb
-%%PORTDOCS%%@dirrm share/doc/mdbtools
+%%PORTDOCS%%@dirrm %%DOCSDIR%%