From db065e30d0c2b9adcd9b039fa98fd052aa01ba51 Mon Sep 17 00:00:00 2001 From: Philip Paeps Date: Sun, 18 Jun 2006 12:41:44 +0000 Subject: [PATCH] Make lua always respect ${LOCALBASE}. PR: ports/98998 Submitted by: Dmitry Marakasov Approved by: Richard Kiss (maintainer) --- lang/lua/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lang/lua/Makefile b/lang/lua/Makefile index 9801b647d43b..e0eb993a4a0d 100644 --- a/lang/lua/Makefile +++ b/lang/lua/Makefile @@ -7,6 +7,7 @@ PORTNAME= lua PORTVERSION= 5.1 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://www.lua.org/ftp/ \ ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \ @@ -24,6 +25,9 @@ MAKE_ARGS= bsd CONFLICTS= lua-4* lua-5.0* +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile + post-install: .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR}