diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 1998-12-27 19:30:33 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 1998-12-27 19:30:33 +0000 |
commit | 6242da24125af598fc85990a0f2f1bfd6b9cc91b (patch) | |
tree | 751cd51259bb4f634b6121f68b57dfb9b9c360bd | |
parent | 45d5180a9c989e2d9c0424436949143863b30484 (diff) | |
download | ports-6242da24125af598fc85990a0f2f1bfd6b9cc91b.tar.gz ports-6242da24125af598fc85990a0f2f1bfd6b9cc91b.zip |
Notes
-rw-r--r-- | databases/xmysql/Makefile | 6 | ||||
-rw-r--r-- | databases/xmysql/distinfo | 2 | ||||
-rw-r--r-- | databases/xmysql/files/patch-aa | 41 |
3 files changed, 25 insertions, 24 deletions
diff --git a/databases/xmysql/Makefile b/databases/xmysql/Makefile index 89fc7f924585..458116477184 100644 --- a/databases/xmysql/Makefile +++ b/databases/xmysql/Makefile @@ -3,14 +3,14 @@ # Date created: Tue Sep 2 15:46:09 CEST 1997 # Whom: Andreas Klemm <andreas@klemm.gtn.com> # -# $Id: Makefile,v 1.11 1998/10/20 01:30:49 steve Exp $ +# $Id: Makefile,v 1.12 1998/11/21 09:58:22 andreas Exp $ # -DISTNAME= xmysql-1.8 +DISTNAME= xmysql-1.9 CATEGORIES= databases MASTER_SITES= http://www.tcx.se/Contrib/ \ http://www.buoy.com/mysql/Contrib/ \ - http://web.tryc.on.ca/mysql/Contrib/ + http://web.tryc.on.ca/mysql/Contrib/ MAINTAINER= andreas@FreeBSD.ORG diff --git a/databases/xmysql/distinfo b/databases/xmysql/distinfo index 7a5baa3d3977..7c4f8ff3ff89 100644 --- a/databases/xmysql/distinfo +++ b/databases/xmysql/distinfo @@ -1 +1 @@ -MD5 (xmysql-1.8.tar.gz) = dc43a1971f197d37c10c0760de6d8c3b +MD5 (xmysql-1.9.tar.gz) = f16b621ad9b3665c4308cd6fc38f289a diff --git a/databases/xmysql/files/patch-aa b/databases/xmysql/files/patch-aa index b3a6803a5fb3..ab0dbada0ecb 100644 --- a/databases/xmysql/files/patch-aa +++ b/databases/xmysql/files/patch-aa @@ -1,45 +1,45 @@ ---- Makefile.orig Wed Feb 25 03:19:31 1998 -+++ Makefile Mon Mar 2 20:09:02 1998 -@@ -31,24 +31,24 @@ +--- Makefile.orig Fri Oct 23 03:35:51 1998 ++++ Makefile Fri Dec 25 14:53:40 1998 +@@ -31,24 +31,23 @@ PROGRAM = xmysql # PROGRAM install path --INSTALLPATH = /usr/local/xmysql-1.8 -+INSTALLPATH = $(PREFIX)/bin +-INSTALLPATH = /usr/local/xmysql-1.9 ++INSTALLPATH = ${PREFIX}/bin # pixmap location --XMYSQL_XPMPATH = /usr/local/xmysql-1.8 +-XMYSQL_XPMPATH = /usr/local/xmysql-1.9 +XMYSQL_XPMPATH = ${X11BASE}/include/X11/pixmaps # help path --XMYSQL_HELPPATH = /usr/local/xmysql-1.8 +-XMYSQL_HELPPATH = /usr/local/xmysql-1.9 +XMYSQL_HELPPATH = ${X11BASE}/lib/X11/xmysql # Compilation Details -CC = gcc -STDCFLAGS = -g -c -O2 -Wall -DXMYSQL_XPMPATH=\"$(XMYSQL_XPMPATH)\" -DXMYSQL_HELPPATH=\"$(XMYSQL_HELPPATH)\" -+#CC = gcc +STDCFLAGS = $(CFLAGS) -DXMYSQL_XPMPATH=\"$(XMYSQL_XPMPATH)\" -DXMYSQL_HELPPATH=\"$(XMYSQL_HELPPATH)\" STDLFLAGS = - MYSQLINC = -I/usr/local/include/mysql - MYSQLLOAD = -L/usr/local/lib/mysql -lmysqlclient --XFORMLIBDIR = -L/usr/lib --XFORMINCDIR = -I/usr/include +-MYSQLINC = -I/usr/include/mysql +-MYSQLLOAD = -L/usr/lib/mysql -lmysqlclient +-XFORMLIBDIR = -L/usr/local/xforms +-XFORMINCDIR = -I/usr/local/xforms ++MYSQLINC = -I${LOCALBASE}/include/mysql ++MYSQLLOAD = -L${LOCALBASE}/lib/mysql -lmysqlclient +XFORMLIBDIR = -L${X11BASE}/lib +XFORMINCDIR = -I${X11BASE}/include XINC = -XLOAD = -L/usr/X11R6/lib -lX11 -+XLOAD = -L${X11BASE}/lib -lX11 ++XLOAD = -L${X11BASE}/lib -lX11 # objects needed for the program OBJS = Xmysql.o \ -@@ -56,20 +56,22 @@ - Xmysql_cb.o \ +@@ -57,20 +56,23 @@ XmysqlDB.o \ XmysqlErr.o -+ -+all: ${PROGRAM} ++all: ${PROGRAM} ++ ${PROGRAM}: $(OBJS) $(CC) -o ${PROGRAM} $(OBJS) $(MYSQLINC) $(XFORMINCDIR) \ $(XINC) $(STDLFLAGS) $(MYSQLLOAD) \ @@ -54,11 +54,12 @@ rm -f ${PROGRAM} $(OBJS) install: + install -d $(INSTALLPATH) $(XMYSQL_XPMPATH) $(XMYSQL_HELPPATH) - install --mode=711 $(PROGRAM) $(INSTALLPATH) -- install --mode=744 mysql.xpm $(XPMPATH) -- install --mode=744 sqlhelp.txt $(HELPPATH) -- +- install --mode=744 mysql.xpm $(XMYSQL_XPMPATH) +- install --mode=744 sqlhelp.txt $(XMYSQL_HELPPATH) + install -s -m 511 $(PROGRAM) $(INSTALLPATH) + install -m 444 mysql.xpm $(XMYSQL_XPMPATH) + install -d -m 755 $(XMYSQL_HELPPATH) + install -m 444 sqlhelp.txt $(XMYSQL_HELPPATH) + |