We change PKGNAMEPREFIX conditionally, but ports uses PKGNAME for the

${.target}_finished cookie-files. Result: Breakage!

Work around this for now by setting the name of the the cookies ourselves.

Approved by: portmgr (marcus)
This commit is contained in:
Michael Nottebrock 2005-03-27 00:03:25 +00:00
parent 2d6281bca5
commit 464bdcbdf8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=132053

View file

@ -60,6 +60,13 @@ OPTIONS= CUPS "Enable CUPS support" on \
OPENGL "Enable OpenGL support" on \
XFT "Enable Xft support" on
EXTRACT_COOKIE= ${WRKDIR}/.extract_done.${PORTNAME}.${PREFIX:S/\//_/g}
CONFIGURE_COOKIE=${WRKDIR}/.configure_done.${PORTNAME}.${PREFIX:S/\//_/g}
INSTALL_COOKIE= ${WRKDIR}/.install_done.${PORTNAME}.${PREFIX:S/\//_/g}
BUILD_COOKIE= ${WRKDIR}/.build_done.${PORTNAME}.${PREFIX:S/\//_/g}
PATCH_COOKIE= ${WRKDIR}/.patch_done.${PORTNAME}.${PREFIX:S/\//_/g}
PACKAGE_COOKIE= ${WRKDIR}/.package_done.${PORTNAME}.${PREFIX:S/\//_/g}
.include <bsd.port.pre.mk>
# The previous Qt port versions installed qmake and qmake's specs under X11BASE