freebsd-ports/Mk/Uses/desthack.mk
Tobias C. Berner aa25396790 framework: cleanup conditional-indentations in Mk/
Run Tools/scripts/indent_make_if.pl on all of Mk.

These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible

Differential Revision:	https://reviews.freebsd.org/D35024
Reviewed by:		portmgr (rene, bapt)
2022-04-24 12:00:20 +02:00

18 lines
430 B
Makefile

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