diff options
author | Satoshi Taoka <taoka@FreeBSD.org> | 1999-03-20 05:28:38 +0000 |
---|---|---|
committer | Satoshi Taoka <taoka@FreeBSD.org> | 1999-03-20 05:28:38 +0000 |
commit | bacbbb949edd825e607d944fa4ea3f0bcf3d155f (patch) | |
tree | 209d13e9482dc353551efce1f7b4a70757d5018b /databases/gtksql/files | |
parent | less + zcat + ISO-2022 + wide (diff) |
Graphical query tool for PostgreSQL.
PR: ports/8767
Submitted by: Andrey Zakhvatov andy@icc.surw.chel.su
Diffstat (limited to 'databases/gtksql/files')
-rw-r--r-- | databases/gtksql/files/patch-aa | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/databases/gtksql/files/patch-aa b/databases/gtksql/files/patch-aa new file mode 100644 index 000000000000..766a6b22f479 --- /dev/null +++ b/databases/gtksql/files/patch-aa @@ -0,0 +1,53 @@ +--- Makefile.orig Sat Mar 20 13:36:17 1999 ++++ Makefile Sat Mar 20 13:36:17 1999 +@@ -1,8 +1,23 @@ ++# ++# C compiler ++# ++CC?= gcc ++ ++# ++# Local packages ++# ++LOCALBASE?= /usr/local ++ ++# ++# Installation prefix ++# ++PREFIX?= $(LOCALBASE) ++ + # Here, what you need for Pgsql +-PGSQLIBS = -L/usr/local/pgsql/lib -lpq +-PGSQLCFLAGS = -I/usr/local/pgsql/include ++PGSQLIBS = -L$(LOCALBASE)/pgsql/lib -lpq -lcrypt ++PGSQLCFLAGS = -I$(LOCALBASE)/pgsql/include + # Your favorite compilation options here :-) +-MCFLAGS = -Wall -O -g ++CFLAGS?= -Wall -O -g + + # The database modules you want to be built + DBOBJS = postgres.o +@@ -12,19 +27,19 @@ + MOBJS = main.o queries.o dialogs.o tables.o common.o export.o status.o + + OBJS = $(MOBJS) $(DBOBJS) +-CFLAGS = $(MCFLAGS) $(DBFLAGS) ++CFLAGS+= $(DBFLAGS) + +-GTKLIBS = `gtk-config --libs` +-GTKCFLAGS = `gtk-config --cflags` ++GTKLIBS = `gtk10-config --libs` ++GTKCFLAGS = `gtk10-config --cflags` + + all: $(OBJS) +- gcc -o gtksql $(OBJS) $(PGSQLIBS) $(GTKLIBS) $(CFLAGS) ++ $(CC) -o gtksql $(OBJS) $(PGSQLIBS) $(GTKLIBS) $(CFLAGS) + + clean: + rm *.o gtksql + + install: all +- cp gtksql $(DESTDIR)usr/bin/ ++ cp gtksql $(PREFIX)/bin + + .c.o: |