diff options
author | hubertf <hubertf> | 2001-03-27 02:18:07 +0000 |
---|---|---|
committer | hubertf <hubertf> | 2001-03-27 02:18:07 +0000 |
commit | 845dd859fd8fe41b275b7b898a41fd5a114e60a9 (patch) | |
tree | 90b2f29e2ba84a10330d32ccb1e44278ab76e5b2 /databases/xsqlmenu/patches | |
parent | 87571e18a468e75d8c6cf49cd54af568b4240c13 (diff) | |
download | pkgsrc-845dd859fd8fe41b275b7b898a41fd5a114e60a9.tar.gz |
Add xsqlmenu-2.10: X based GUI for MySQL
This is a powerful frontend for the MiniSQL or MySQL database
engines, that allows the user to search the database through easy
to use searchforms, select databases and tables from a menu, modify
records just by clicking them in a browser and much more. Xsqlmenu
supports having multiple tablewindows open at the same time (even
from different databases !). Also free SQL SELECT statements are
allowed (although they have a few restrictions to avoid confusion).
Diffstat (limited to 'databases/xsqlmenu/patches')
-rw-r--r-- | databases/xsqlmenu/patches/patch-aa | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/databases/xsqlmenu/patches/patch-aa b/databases/xsqlmenu/patches/patch-aa new file mode 100644 index 00000000000..34d7d450a13 --- /dev/null +++ b/databases/xsqlmenu/patches/patch-aa @@ -0,0 +1,47 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/03/27 02:18:07 hubertf Exp $ + +--- Makefile.orig Mon Aug 28 05:57:00 2000 ++++ Makefile +@@ -8,13 +8,13 @@ + all: xsqlmenu + + #XFORMSBASE = /opt/lib +-XFORMSBASE = /usr/X11R6/lib ++XFORMSBASE = ${PREFIX} + ifeq (${DB},msql) + # Set MSQLBASE to the place where your MiniSQL distribution resides ! + #MSQLBASE = /opt/lib/Hughes + MSQLBASE = /usr/local/Hughes + else +-MYSQLPREFIX = /usr ++MYSQLPREFIX = ${LOCALBASE} + endif + + ifeq (${DB},msql) +@@ -26,18 +26,21 @@ + .msql: + touch .msql + rm -f .mysql +- make clean ++ gmake clean + TYPE=.msql + else +-CFLAGS = -O -Wall -I$(MYSQLPREFIX)/include/mysql -DUSE_MYSQL +-LDFLAGS = -L $(MYSQLPREFIX)/lib/mysql -lmysqlclient -L$(XFORMSBASE) -lforms \ +- -lXpm -L/usr/X11R6/lib -lX11 -lm ++CFLAGS = -O -Wall -I$(MYSQLPREFIX)/include/mysql -DUSE_MYSQL \ ++ -I${X11BASE}/include/X11 \ ++ -I${X11BASE}/include \ ++ -I${LOCALBASE}/include ++LDFLAGS = -L$(MYSQLPREFIX)/lib/mysql -Wl,-R$(MYSQLPREFIX)/lib/mysql -lmysqlclient -L$(XFORMSBASE) -Wl,-R$(XFORMSBASE) -lforms \ ++ -lXpm -L${X11BASE}/lib -Wl,-R${X11BASE}/lib -lX11 -lm + LDSTATICFLAGS= -L $(MYSQLPREFIX)/lib/mysql -lmysqlclient $(XFORMSBASE)/libforms.a \ + $(XFORMSBASE)/libXpm.a -L/usr/X11R6/lib -lX11 -lm + .mysql: + touch .mysql + rm -f .msql +- make clean ++ gmake clean + TYPE=.mysql + endif + |