Changeset View
Changeset View
Standalone View
Standalone View
Mk/Uses/desthack.mk
# Handle gnu configure that does not properly support DESTDIR | # Handle gnu configure that does not properly support DESTDIR | ||||
# | # | ||||
# Feature: desthack | # Feature: desthack | ||||
# Usage: USES=desthack | # Usage: USES=desthack | ||||
# Valid ARGS: none | # Valid ARGS: none | ||||
# | # | ||||
# MAINTAINER: ports@FreeBSD.org | # MAINTAINER: ports@FreeBSD.org | ||||
.if !defined(_INCLUDE_USES_DESTHACK_MK) | .if !defined(_INCLUDE_USES_DESTHACK_MK) | ||||
_INCLUDE_USES_DESTHACK_MK= yes | _INCLUDE_USES_DESTHACK_MK= yes | ||||
.if !empty(desthack_ARGS) | . if !empty(desthack_ARGS) | ||||
IGNORE= USES=desthack does not require args | IGNORE= USES=desthack does not require args | ||||
.endif | . endif | ||||
GNU_CONFIGURE_PREFIX= \$${${DESTDIRNAME}}${PREFIX} | GNU_CONFIGURE_PREFIX= \$${${DESTDIRNAME}}${PREFIX} | ||||
GNU_CONFIGURE_MANPREFIX= \$${${DESTDIRNAME}}${MANPREFIX} | GNU_CONFIGURE_MANPREFIX= \$${${DESTDIRNAME}}${MANPREFIX} | ||||
.endif | .endif |