summaryrefslogtreecommitdiffstats
path: root/x11/yelp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/yelp/Makefile')
-rw-r--r--x11/yelp/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/x11/yelp/Makefile b/x11/yelp/Makefile
index 18687ce62..53faf5044 100644
--- a/x11/yelp/Makefile
+++ b/x11/yelp/Makefile
@@ -62,8 +62,13 @@ pre-everything::
@${ECHO_MSG} ""
post-patch:
+.if defined(WITH_MOZILLA) && ${WITH_MOZILLA}=="firefox"
+ @${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|firefox-gtkmozembed|g' \
+ ${WRKSRC}/configure
+.else
@${REINPLACE_CMD} -e 's|mozilla-gtkmozembed|mozilla-gtkmozembed${HEADERS_SUFX}|g' \
${WRKSRC}/configure
+.endif
post-configure:
@${SED} -e 's|%%PREFIX%%|${PREFIX}|g ; \