Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2005 02:51:32 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@mail.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/88067: [mantainer] games/fillets-ng: respect LOCALBASE
Message-ID:  <20051026225132.29F223199@hades.panopticon>
Resent-Message-ID: <200510262250.j9QMoFur091764@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         88067
>Category:       ports
>Synopsis:       [mantainer] games/fillets-ng: respect LOCALBASE
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 26 22:50:15 GMT 2005
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051026225132.29F223199>