From amdmi3@mail.ru  Wed Oct 26 22:48:22 2005
Return-Path: <amdmi3@mail.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id F1A9516A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Oct 2005 22:48:22 +0000 (GMT)
	(envelope-from amdmi3@mail.ru)
Received: from mx4.mail.ru (fallback.mail.ru [194.67.57.14])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 4F05B43D5C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 26 Oct 2005 22:48:21 +0000 (GMT)
	(envelope-from amdmi3@mail.ru)
Received: from mx3.mail.ru (mx3.mail.ru [194.67.23.149])
	by mx4.mail.ru (mPOP.Fallback_MX) with ESMTP id CE9A047A9B3
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Oct 2005 02:48:20 +0400 (MSD)
Received: from [82.148.12.32] (port=57421 helo=nexii.panopticon)
	by mx3.mail.ru with esmtp 
	id 1EUu4B-0000yA-00
	for FreeBSD-gnats-submit@freebsd.org; Thu, 27 Oct 2005 02:48:19 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.2])
	by nexii.panopticon (Postfix) with ESMTP id 2B73C3165
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Oct 2005 02:51:57 +0400 (MSD)
Received: by hades.panopticon (Postfix, from userid 1000)
	id 29F223199; Thu, 27 Oct 2005 02:51:32 +0400 (MSD)
Message-Id: <20051026225132.29F223199@hades.panopticon>
Date: Thu, 27 Oct 2005 02:51:32 +0400 (MSD)
From: Dmitry Marakasov <amdmi3@mail.ru>
Reply-To: Dmitry Marakasov <amdmi3@mail.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [mantainer] games/fillets-ng: respect LOCALBASE
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         88067
>Category:       ports
>Synopsis:       [maintainer] games/fillets-ng: respect LOCALBASE
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    ehaupt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 26 22:50:15 GMT 2005
>Closed-Date:    Sat Oct 29 19:50:33 CEST 2005
>Last-Modified:  Sat Oct 29 19:50:33 CEST 2005
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 5.4-RELEASE-p7 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #4: Mon Sep 12 01:19:38 MSD 2005 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
	- Respect LOCALBASE: fix build with LOCALBASE != /usr/local
	- Reported by pointyhat via Kris
>How-To-Repeat:
>Fix:

--- fillets-ng-0.7.3_2.patch begins here ---
diff -ruN fillets-ng.orig/Makefile fillets-ng/Makefile
--- fillets-ng.orig/Makefile	Thu Oct 27 02:28:47 2005
+++ fillets-ng/Makefile	Thu Oct 27 02:41:11 2005
@@ -7,7 +7,7 @@
 
 PORTNAME=	fillets-ng
 PORTVERSION=	0.7.3
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	fillets
@@ -28,7 +28,7 @@
 
 CONFIGURE_ENV=		SDL_CONFIG="${SDL_CONFIG}"
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ARGS=		--datadir="${DATADIR}"
+CONFIGURE_ARGS=		--datadir="${DATADIR}" --with-lua="${LOCALBASE}"
 
 OPTIONS=	FRIBIDI		"Enable fribidi support"	off
 
@@ -45,6 +45,7 @@
 .endif
 
 post-patch:
+	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/configure
 	@${REINPLACE_CMD} -e 's|^\(AM_CPPFLAGS.*(datadir)\)/.*|\1"\\"|' \
 		${WRKSRC}/src/gengine/Makefile.in
 .if defined(WITHOUT_FRIBIDI)
--- fillets-ng-0.7.3_2.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ehaupt 
Responsible-Changed-By: ehaupt 
Responsible-Changed-When: Sat Oct 29 19:29:52 CEST 2005 
Responsible-Changed-Why:  
I will take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88067 
State-Changed-From-To: open->closed 
State-Changed-By: ehaupt 
State-Changed-When: Sat Oct 29 19:50:32 CEST 2005 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88067 
>Unformatted:
