- Fix installation of ports where MOZSRC is not the same directory as

WRKSRC (like www/seamonkey2 and mail/thunderbird3).
This commit is contained in:
Beat Gaetzi 2010-01-21 20:26:16 +00:00
parent 2d3f6bd72d
commit 9a4b65983c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=248285

View File

@ -561,7 +561,7 @@ gecko-pre-install:
.if !defined(NOGECKO_PLIST)
@${RM} -rf ${FAKEDIR} ${PLIST} ${PLISTD} ${PLISTF}
@${TOUCH} -f ${PLIST} ${PLISTD} ${PLISTF}
@cd ${MOZSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} prefix=${FAKEDIR} ${INSTALL_TARGET}
.if defined(MOZILLA_SUFX) && ${MOZILLA_SUFX}!="none"
${MV} ${FAKEDIR}/bin/${MOZILLA:S/${MOZILLA_SUFX}//} ${FAKEDIR}/bin/${MOZILLA}