summaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2007-03-15 15:53:34 +0000
committeracm <acm@FreeBSD.org>2007-03-15 15:53:34 +0000
commite900a975fbd436f4d0967843241593895b49d6af (patch)
tree221eea51824e9290dc5039195c60942a5ff106c0 /emulators
parent3f094bd5546cc278accd26acb7685e7947039f2c (diff)
downloadFreeBSD-ports-e900a975fbd436f4d0967843241593895b49d6af.zip
FreeBSD-ports-e900a975fbd436f4d0967843241593895b49d6af.tar.gz
- Respect LOCALBASE and X11BASE
Reported by: flz
Diffstat (limited to 'emulators')
-rw-r--r--emulators/mednafen/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/emulators/mednafen/Makefile b/emulators/mednafen/Makefile
index 8867601..85f9292 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)
OpenPOWER on IntegriCloud