diff options
author | ade <ade@FreeBSD.org> | 2000-10-14 04:24:07 +0800 |
---|---|---|
committer | ade <ade@FreeBSD.org> | 2000-10-14 04:24:07 +0800 |
commit | f07977f9210156af8e7ac73cad3fd7b35c32a072 (patch) | |
tree | 3fcfabc302b9dae6036e11fceaccdc8fef049efa /databases/sqsh | |
parent | 25fa3aae0727df6ac3a6fae407395788b0abb8d0 (diff) | |
download | freebsd-ports-gnome-f07977f9210156af8e7ac73cad3fd7b35c32a072.tar.gz freebsd-ports-gnome-f07977f9210156af8e7ac73cad3fd7b35c32a072.tar.zst freebsd-ports-gnome-f07977f9210156af8e7ac73cad3fd7b35c32a072.zip |
Support LOCALBASE properly
PR: 21610
Submitted by: Ports Fury (no response from maintainer)
Diffstat (limited to 'databases/sqsh')
-rw-r--r-- | databases/sqsh/Makefile | 5 | ||||
-rw-r--r-- | databases/sqsh/files/patch-ab | 2 | ||||
-rw-r--r-- | databases/sqsh/files/patch-ac | 2 |
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. # |