From f5c1b2f02bab81de5cfea7e8428d8b8f1876edc2 Mon Sep 17 00:00:00 2001 From: Jose Alonso Cardenas Marquez Date: Thu, 15 Mar 2007 15:53:34 +0000 Subject: - Respect LOCALBASE and X11BASE Reported by: flz --- emulators/mednafen/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'emulators/mednafen') diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile index 8867601356cf..85f92926b3b3 100644 --- a/emulators/mednafen/Makefile +++ b/emulators/mednafen/Makefile @@ -51,7 +51,9 @@ IGNORE= needs round(3), which appears in 5.3 or later .endif pre-configure: - @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/configure -e \ + 's|/usr/local|${LOCALBASE}|g' -e 's|/usr/X11R6|${X11BASE}|g' \ + ${WRKSRC}/configure post-install: .if !defined(NOPORTDOCS) -- cgit v1.2.3