Fix install stage error, PR pkg/47734.

* Wrong, noexistrent file is removed and DragonFly's install
  try to overwrite it and failed.
This commit is contained in:
ryoon 2013-06-01 21:42:54 +00:00
parent 41ed4a2f2b
commit 43e669a2ec

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.9 2013/05/19 12:50:46 ryoon Exp $
# $NetBSD: Makefile,v 1.10 2013/06/01 21:42:54 ryoon Exp $
.include "../../devel/xulrunner17/dist.mk"
PKGNAME= firefox17-${MOZ_BRANCH}
@ -53,7 +53,7 @@ post-install:
${DESTDIR}${PREFIX}/share/applications/${MOZILLA}.desktop
${INSTALL_DATA} ${MOZILLA_ICON} \
${DESTDIR}${PREFIX}/share/pixmaps/${MOZILLA}.png
rm -f ${DESTDIR}${PREFIX}/bin/firefox
rm -f ${DESTDIR}${PREFIX}/bin/firefox17
${INSTALL_SCRIPT} ${WRKDIR}/firefox ${DESTDIR}${PREFIX}/bin/firefox17
BUILDLINK_API_DEPENDS.xulrunner17+= xulrunner17>=${MOZ_BRANCH}