aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mdbtools
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2007-01-08 08:21:57 +0800
committeritetcu <itetcu@FreeBSD.org>2007-01-08 08:21:57 +0800
commit4d8dd33d128226fa8731a674d8f7d86d7f12bdf2 (patch)
tree0b342042d41e52c678e45bb753ed636a14ccb4a9 /databases/mdbtools
parentf3566592b5fd2e3dc3216c65ad1546b89ce044ad (diff)
downloadfreebsd-ports-gnome-4d8dd33d128226fa8731a674d8f7d86d7f12bdf2.tar.gz
freebsd-ports-gnome-4d8dd33d128226fa8731a674d8f7d86d7f12bdf2.tar.zst
freebsd-ports-gnome-4d8dd33d128226fa8731a674d8f7d86d7f12bdf2.zip
- 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]
Diffstat (limited to 'databases/mdbtools')
-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%%