summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-db/pgaccess/files/pgaccess-0.99.0.20040219.patch')
-rw-r--r--dev-db/pgaccess/files/pgaccess-0.99.0.20040219.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-db/pgaccess/files/pgaccess-0.99.0.20040219.patch b/dev-db/pgaccess/files/pgaccess-0.99.0.20040219.patch
new file mode 100644
index 000000000000..8141ba848ad1
--- /dev/null
+++ b/dev-db/pgaccess/files/pgaccess-0.99.0.20040219.patch
@@ -0,0 +1,23 @@
+--- Makefile.orig 2003-05-23 05:32:53.000000000 +0930
++++ Makefile 2004-09-18 23:42:47.583843792 +0930
+@@ -7,15 +7,16 @@
+ #
+ #-------------------------------------------------------------------------
+
+-bindir = /usr/bin/X11
+-libdir = /usr/lib
++bindir = $(prefix)/usr/X11R6/bin
++libdir = $(prefix)/usr/lib
+ wish = /usr/bin/wish
+
+ pgaccess:
+ chmod a+x pgaccess.tcl
+- mkdir -p $(libdir)/pgaccess
++ [ -d $(libdir)/pgaccess ] || mkdir -p $(libdir)/pgaccess
+ cp -R * $(libdir)/pgaccess
+- ln -sf $(libdir)/pgaccess/pgaccess.tcl $(bindir)/pgaccess
++ [ -d $(bindir) ] || mkdir -p $(bindir)
++ cd $(bindir) && ln -sf /usr/lib/pgaccess/pgaccess.tcl pgaccess
+
+ all: pgaccess
+