aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-10-13 20:24:07 +0000
committerAde Lovett <ade@FreeBSD.org>2000-10-13 20:24:07 +0000
commit40c320728e3ab0483b3d42942ac95445d0f05cd5 (patch)
tree5e171e0ca4d4370e30a3f8a7f14d9d204adc0220 /databases
parentfb1f3913d34ea61d864552f3b4a043297c32ae82 (diff)
downloadports-40c320728e3ab0483b3d42942ac95445d0f05cd5.tar.gz
ports-40c320728e3ab0483b3d42942ac95445d0f05cd5.zip
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/sqsh/Makefile5
-rw-r--r--databases/sqsh/files/patch-ab2
-rw-r--r--databases/sqsh/files/patch-ac2
3 files changed, 7 insertions, 2 deletions
diff --git a/databases/sqsh/Makefile b/databases/sqsh/Makefile
index 05adfd796919..b9bd3aa81781 100644
--- a/databases/sqsh/Makefile
+++ b/databases/sqsh/Makefile
@@ -22,4 +22,9 @@ GNU_CONFIGURE= yes
MAN1= sqsh.1
+post-patch:
+.for file in configure autoconf/install-man
+ @${PERL} -pi -e "s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/${file}
+.endfor
+
.include <bsd.port.mk>
diff --git a/databases/sqsh/files/patch-ab b/databases/sqsh/files/patch-ab
index 9ba0af2d057f..90fc1c2979b1 100644
--- a/databases/sqsh/files/patch-ab
+++ b/databases/sqsh/files/patch-ab
@@ -7,7 +7,7 @@
-#
+# -- it should have some defaults...
+
-+SYBASE=/usr/local/
++SYBASE=%%LOCALBASE%%/
+
echo $ac_n "checking Open Client installation""... $ac_c" 1>&6
echo "configure:1053: checking Open Client installation" >&5
diff --git a/databases/sqsh/files/patch-ac b/databases/sqsh/files/patch-ac
index 69c63e24d31d..1673e849dbe2 100644
--- a/databases/sqsh/files/patch-ac
+++ b/databases/sqsh/files/patch-ac
@@ -2,7 +2,7 @@
+++ autoconf/install-man Fri Jan 14 21:20:00 2000
@@ -1,4 +1,4 @@
-#!/bin/sh
-+#!/usr/local/bin/bash
++#!%%LOCALBASE%%/bin/bash
#
# install-man -- install or uninstall compressed or uncompressed man pages.
#