Do not do the REINPLACE on the plug-in pkg-config name if our Gecko

provider is libxul.
This commit is contained in:
Joe Marcus Clarke 2009-05-02 17:24:29 +00:00
parent fadf319c1a
commit ea82163612
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233128

View File

@ -62,8 +62,10 @@ PLIST_SUB+= PLUGIN="@comment "
post-patch:
.if defined(WITH_MOZILLA_PLUGIN)
.if ${GECKO:Mlibxul}==""
@${REINPLACE_CMD} -e 's|mozilla-plugin|${GECKO}-plugin|g' \
${WRKSRC}/configure
.endif
@${REINPLACE_CMD} -e 's|[$$][(]libdir[)]/mozilla/plugins|${WEBPLUGINS_DIR}|g' \
${WRKSRC}/moz-plugin/Makefile.in
.endif