diff options
author | steve <steve@FreeBSD.org> | 1999-12-24 02:37:52 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-12-24 02:37:52 +0800 |
commit | 112a81674c14e2b8fd15f89b67cb92e5f9e07f96 (patch) | |
tree | 009125d8a5b6fa214a50cb6c11abf36330bff7d3 /misc/mc | |
parent | 7ff3f2d2f831d9e3ce6ce11272b3a13db6291160 (diff) | |
download | freebsd-ports-gnome-112a81674c14e2b8fd15f89b67cb92e5f9e07f96.tar.gz freebsd-ports-gnome-112a81674c14e2b8fd15f89b67cb92e5f9e07f96.tar.zst freebsd-ports-gnome-112a81674c14e2b8fd15f89b67cb92e5f9e07f96.zip |
Use PREFIX instead of /usr/local.
Noted by: many people
Diffstat (limited to 'misc/mc')
-rw-r--r-- | misc/mc/Makefile | 3 | ||||
-rw-r--r-- | misc/mc/files/patch-ai | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/misc/mc/Makefile b/misc/mc/Makefile index 9cba3415ef32..45329cbe272e 100644 --- a/misc/mc/Makefile +++ b/misc/mc/Makefile @@ -33,4 +33,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ MAN1= midc.1 MAN8= mcserv.8 +post-patch: + ${PERL} -i -p -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/vfs/extfs/uzip.in + .include <bsd.port.mk> diff --git a/misc/mc/files/patch-ai b/misc/mc/files/patch-ai index 9ab65e350498..928ae75deb6d 100644 --- a/misc/mc/files/patch-ai +++ b/misc/mc/files/patch-ai @@ -5,7 +5,7 @@ # -DZIP=/usr/bin -+DZIP=/usr/local/bin ++DZIP=%%PREFIX%%/bin XZIP="$DZIP/zip -g" XDZIP="$DZIP/zip -d" XUNZIP="$DZIP/unzip" |