ports/88067: [mantainer] games/fillets-ng: respect LOCALBASE

Dmitry Marakasov amdmi3 at mail.ru
Wed Oct 26 22:50:17 UTC 2005


>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 at 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:



More information about the freebsd-ports-bugs mailing list