aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2007-03-15 23:53:34 +0800
committeracm <acm@FreeBSD.org>2007-03-15 23:53:34 +0800
commite900a975fbd436f4d0967843241593895b49d6af (patch)
tree221eea51824e9290dc5039195c60942a5ff106c0
parent3f094bd5546cc278accd26acb7685e7947039f2c (diff)
downloadfreebsd-ports-gnome-e900a975fbd436f4d0967843241593895b49d6af.tar.gz
freebsd-ports-gnome-e900a975fbd436f4d0967843241593895b49d6af.tar.zst
freebsd-ports-gnome-e900a975fbd436f4d0967843241593895b49d6af.zip
- Respect LOCALBASE and X11BASE
Reported by: flz
-rw-r--r--emulators/mednafen/Makefile4
1 files changed, 3 insertions, 1 deletions
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)