aboutsummaryrefslogtreecommitdiffstats
path: root/databases/xmysqladmin
diff options
context:
space:
mode:
authorandreas <andreas@FreeBSD.org>1998-01-29 20:39:44 +0800
committerandreas <andreas@FreeBSD.org>1998-01-29 20:39:44 +0800
commitf1da735d4896d0903ca20faf1707cf938a80c207 (patch)
tree746468b6d4bdc2449b29491fe51581d9c5aeab14 /databases/xmysqladmin
parentbe0a9918911ac3e01615f59b057e9f2e05f09ad9 (diff)
downloadfreebsd-ports-graphics-f1da735d4896d0903ca20faf1707cf938a80c207.tar.gz
freebsd-ports-graphics-f1da735d4896d0903ca20faf1707cf938a80c207.tar.zst
freebsd-ports-graphics-f1da735d4896d0903ca20faf1707cf938a80c207.zip
Update to latest version 0.4.4
Please note: you need the newest xforms library (BTW: same for xmysql !)
Diffstat (limited to 'databases/xmysqladmin')
-rw-r--r--databases/xmysqladmin/Makefile7
-rw-r--r--databases/xmysqladmin/distinfo2
-rw-r--r--databases/xmysqladmin/files/patch-aa117
3 files changed, 82 insertions, 44 deletions
diff --git a/databases/xmysqladmin/Makefile b/databases/xmysqladmin/Makefile
index 7fd2af4960f..9dbd6c447bf 100644
--- a/databases/xmysqladmin/Makefile
+++ b/databases/xmysqladmin/Makefile
@@ -3,13 +3,12 @@
# Date created: Di 2 Sep 1997 16:29:27 CEST
# Whom: Andreas Klemm <andreas@klemm.gtn.com>
#
-# $Id: Makefile,v 1.1.1.1 1997/09/02 15:06:32 andreas Exp $
+# $Id: Makefile,v 1.2 1997/10/04 14:53:11 andreas Exp $
#
-DISTNAME= xmysqladmin-0.2.0
+DISTNAME= xmysqladmin-0.4.4
CATEGORIES= databases
-MASTER_SITES= ftp://mysql.staufen.de/pub/mysql/Contrib/ \
- http://www.tcx.se/Contrib/ \
+MASTER_SITES= http://www.tcx.se/Contrib/ \
http://www.buoy.com/mysql/Contrib/ \
http://web.tryc.on.ca/mysql/Contrib/ \
http://mysql.acer.net/Contrib/
diff --git a/databases/xmysqladmin/distinfo b/databases/xmysqladmin/distinfo
index 59370bc33e2..0595e6e3699 100644
--- a/databases/xmysqladmin/distinfo
+++ b/databases/xmysqladmin/distinfo
@@ -1 +1 @@
-MD5 (xmysqladmin-0.2.0.tar.gz) = c587c0966f2904d82ef656fcaab6c678
+MD5 (xmysqladmin-0.4.4.tar.gz) = ae04bff6543899487810bfaf30c7d635
diff --git a/databases/xmysqladmin/files/patch-aa b/databases/xmysqladmin/files/patch-aa
index 8a315866436..a1f4d8f5d3c 100644
--- a/databases/xmysqladmin/files/patch-aa
+++ b/databases/xmysqladmin/files/patch-aa
@@ -1,56 +1,95 @@
---- Makefile.orig Mon Jul 28 03:25:41 1997
-+++ Makefile Tue Sep 2 16:45:25 1997
-@@ -1,5 +1,5 @@
- #
--# Makefile for xmysqladmin on Linux
-+# Makefile for xmysqladmin on FreeBSD
- #
-
- ########################################################
-@@ -29,21 +29,21 @@
- PROGRAM = xmysqladmin
-
- # PROGRAM install path
+--- Makefile.orig Sat Jan 10 18:17:46 1998
++++ Makefile Thu Jan 29 13:36:49 1998
+@@ -34,7 +34,7 @@
+ # This is used by 'make install' command
+ #-------------------------------------------------------
+ #INSTALLPATH = /opt/local/i386/bin
-INSTALLPATH = /usr/local/bin
+INSTALLPATH = ${X11BASE}/bin
+ ########################################################
- # pixmap location
+
+@@ -45,7 +45,7 @@
+ # pixmap file location (mysql.xpm)
+ #-------------------------------------------------------
+ #PIXMAPPATH = /opt/local/lib
-PIXMAPPATH = /usr/local/bin
+PIXMAPPATH = ${X11BASE}/include/X11/pixmaps
+ ########################################################
+
+@@ -93,8 +93,8 @@
# Compilation Details
+ # hum... I think you dont need to change this
+ #-------------------------------------------------------
-CC = gcc
--STDCFLAGS = -g -c -O2 -Wall -DPIXMAPFILE=\"$(PIXMAPPATH)/mysql.xpm\"
+-STDCFLAGS = -g -c -O2 -Wall -DPIXMAPFILE=\"$(PIXMAPPATH)/mysql.xpm\" \
+# CC = gcc
-+STDCFLAGS = $(CFLAGS) -c -DPIXMAPFILE=\"$(PIXMAPPATH)/xmysqladmin.xpm\"
- STDLFLAGS =
- MYSQLINC = -I/usr/local/include/mysql
- MYSQLLOAD = -L/usr/local/lib/mysql -lmysqlclient -lmysys -ldbug -lmystrings
++STDCFLAGS = $(CFLAGS) -c -DPIXMAPFILE=\"$(PIXMAPPATH)/mysql.xpm\" \
+ -DBACKUP=\"$(BACKUP)\" -DBACKUPDIR=\"$(BACKUPDIR)\" \
+ -DBACKUPSUFFIX=\"$(BACKUPSUFFIX)\" \
+ -DMYSQL_VERSION=$(MYSQL_VERSION)
+@@ -109,7 +109,7 @@
+ # mysql include dir
+ #-------------------------------------------------------
+ #MYSQLINC = -I/opt/local/include/mysql
+-MYSQLINC = -I/usr/local/include/mysql
++MYSQLINC = -I${LOCALBASE}/include/mysql
+ ########################################################
+
+
+@@ -121,7 +121,7 @@
+ # mysql database dir
+ #-------------------------------------------------------
+ #MYSQLDBDIR = -DMYSQLDBDIR="\"/var/lib/mysql/\""
+-MYSQLDBDIR = -DMYSQLDBDIR="\"/usr/local/var/\""
++MYSQLDBDIR = -DMYSQLDBDIR="\"/var/db/mysql/\""
+ ########################################################
+
+
+@@ -133,7 +133,7 @@
+ # mysql library dir
+ #-------------------------------------------------------
+ #MYSQLLOAD = -L/opt/local/i386/lib/mysql -lmysqlclient -lmysys -ldbug -lmystrings
+-MYSQLLOAD = -L/usr/local/lib/mysql -lmysqlclient -lmysys -ldbug -lmystrings
++MYSQLLOAD = -L${LOCALBASE}/lib/mysql -lmysqlclient -lmysys -ldbug -lmystrings
+ ########################################################
+
+
+@@ -144,7 +144,7 @@
+ # xforms librairies dir
+ #-------------------------------------------------------
+ #XFORMLIBDIR = -L/opt/local/i386/lib
-XFORMLIBDIR = -L/usr/lib
++XFORMLIBDIR = -L${X11BASE}/lib
+ ########################################################
+
+
+@@ -156,7 +156,7 @@
+ # xforms include dir (xforms.h)
+ #-------------------------------------------------------
+ #XFORMINCDIR = -I/opt/local/include
-XFORMINCDIR = -I/usr/include
-+XFORMLIBDIR = -L$(X11BASE)/lib
-+XFORMINCDIR = -I$(X11BASE)/include
- XINC =
--XLOAD = -L/usr/X11R6/lib -lX11
-+XLOAD = -L$(X11BASE)/lib -lX11
- ADMININC = xmysqladmin.h xmysqladmin2.h
-
- # no change needed after this line...
-@@ -64,8 +64,7 @@
++XFORMINCDIR = -I${X11BASE}/include
+ ########################################################
+
+
+@@ -172,7 +172,7 @@
+
+ # Use this for Linux:
+ XINC =
+-XLOAD = -L/usr/X11R6/lib -lX11
++XLOAD = -L${X11BASE}/lib -lX11
+ ########################################################
+
+
+@@ -230,8 +230,7 @@
${PROGRAM}: $(OBJS)
$(CC) -o ${PROGRAM} $(OBJS) $(MYSQLINC) $(XFORMINCDIR) \
$(XINC) $(STDLFLAGS) $(MYSQLLOAD) \
-- $(XLOAD) $(XFORMLIBDIR) -lforms -lXpm -lm
+- $(XLOAD) $(XFORMLIBDIR) -lforms -lXpm $(LIBS)
- ./$(PROGRAM)
-+ $(XLOAD) $(XFORMLIBDIR) -lxforms -lXpm -lm
++ $(XLOAD) $(XFORMLIBDIR) -lxforms -lXpm $(LIBS)
.c.o:
- $(CC) $*.c $(STDCFLAGS) $(XFORMINCDIR) $(MYSQLINC) $(XINC)
-@@ -74,5 +73,5 @@
- rm -f ${PROGRAM} $(OBJS)
-
- install:
-- install --mode=711 $(PROGRAM) $(INSTALLPATH)
-- cp mysql.xpm $(PIXMAPPATH)
-+ install -s -m 555 $(PROGRAM) $(INSTALLPATH)
-+ install -m 444 mysql.xpm $(PIXMAPPATH)/xmysqladmin.xpm
+ $(CC) $*.c $(STDCFLAGS) $(XFORMINCDIR) $(MYSQLINC) $(MYSQLDBDIR) $(XINC)