summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2001-08-14 17:13:02 +0000
committerabs <abs@pkgsrc.org>2001-08-14 17:13:02 +0000
commitb7461a0df2af33de80770e724c13e4c54a102c53 (patch)
treeaacd029d51225fe8a8ba824e7aacb7cbd794ac65 /databases
parent1c977f85068ce1f4ea64394ed6fba5e54b03531a (diff)
downloadpkgsrc-b7461a0df2af33de80770e724c13e4c54a102c53.tar.gz
Fix for xpkgwedge, and buildlink-ify
Diffstat (limited to 'databases')
-rw-r--r--databases/gtksql/Makefile7
-rw-r--r--databases/gtksql/distinfo4
-rw-r--r--databases/gtksql/patches/patch-aa6
3 files changed, 11 insertions, 6 deletions
diff --git a/databases/gtksql/Makefile b/databases/gtksql/Makefile
index c8b2add00bc..306e4e07164 100644
--- a/databases/gtksql/Makefile
+++ b/databases/gtksql/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2001/05/14 15:04:49 jlam Exp $
+# $NetBSD: Makefile,v 1.16 2001/08/14 17:13:02 abs Exp $
#
DISTNAME= gtksql-0.3
@@ -15,6 +15,11 @@ COMMENT= Query tool for PostgreSQL written with GTK
DEPENDS+= gtk+-1.2.*:../../x11/gtk
DEPENDS+= postgresql-{6.5.3*,7.0*,lib-*}:../../databases/postgresql-lib
+MAKE_ENV+= X11PREFIX=${X11PREFIX}
+
USE_X11BASE= # defined
+USE_BUILDLINK_ONLY= yes
+
+.include "../../x11/gtk/buildlink.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/gtksql/distinfo b/databases/gtksql/distinfo
index 0ea13549c53..bc9e5bc2b83 100644
--- a/databases/gtksql/distinfo
+++ b/databases/gtksql/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/18 16:10:58 agc Exp $
+$NetBSD: distinfo,v 1.3 2001/08/14 17:13:02 abs Exp $
SHA1 (gtksql-0.3.tar.gz) = b2d078cb0eb8816b26f3e0369fc440085071fc0c
Size (gtksql-0.3.tar.gz) = 50557 bytes
-SHA1 (patch-aa) = 6e440bb7d5f04d154e4c59ad56416062233a0865
+SHA1 (patch-aa) = 3dcdcf910ca3761f42681e51c4006618c18c2ed2
diff --git a/databases/gtksql/patches/patch-aa b/databases/gtksql/patches/patch-aa
index 82e04e1680b..0d4c6412059 100644
--- a/databases/gtksql/patches/patch-aa
+++ b/databases/gtksql/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.5 2000/04/09 03:53:51 jlam Exp $
+$NetBSD: patch-aa,v 1.6 2001/08/14 17:13:02 abs Exp $
--- Makefile.orig Sat Jun 5 09:05:36 1999
+++ Makefile Fri Apr 7 20:44:08 2000
@@ -28,8 +28,8 @@ $NetBSD: patch-aa,v 1.5 2000/04/09 03:53:51 jlam Exp $
-GTKLIBS = `gtk-config --libs`
-GTKCFLAGS = `gtk-config --cflags`
-+GTKLIBS = `${X11BASE}/bin/gtk-config --libs`
-+GTKCFLAGS = `${X11BASE}/bin/gtk-config --cflags`
++GTKLIBS = `${X11PREFIX}/bin/gtk-config --libs`
++GTKCFLAGS = `${X11PREFIX}/bin/gtk-config --cflags`
all: $(OBJS)
gcc -o gtksql $(OBJS) $(DBSQLIBS) $(GTKLIBS) $(CFLAGS) $(LDFLAGS)