1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/Mk/Uses/desthack.mk

23 lines
456 B
Makefile
Raw Normal View History

#
# $FreeBSD$
#
# Handle gnu configure that does not properly support DESTDIR
#
# MAINTAINER: portmgr@FreeBSD.org
#
# Feature: desthack
# Usage: USES=desthack
# Valide ARGS: none
#
.if !defined(_INCLUDE_USES_DESTHACK_MK)
_INCLUDE_USES_DESTHACK_MK= yes
.if defined(_desthack_ARGS)
IGNORE= USES=desthack valide args are none or 'la'
.endif
GNU_CONFIGURE_PREFIX= \$${${DESTDIRNAME}}${PREFIX}
GNU_CONFIGURE_MANPREFIX= \$${${DESTDIRNAME}}${MANPREFIX}
.endif