2014-01-27 07:29:32 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
# Handle gnu configure that does not properly support DESTDIR
|
|
|
|
#
|
|
|
|
# Feature: desthack
|
|
|
|
# Usage: USES=desthack
|
2014-01-29 20:39:35 +00:00
|
|
|
# Valid ARGS: none
|
2014-01-27 07:29:32 +00:00
|
|
|
#
|
2014-03-15 10:31:54 +00:00
|
|
|
# MAINTAINER: portmgr@FreeBSD.org
|
2014-01-27 07:29:32 +00:00
|
|
|
|
|
|
|
.if !defined(_INCLUDE_USES_DESTHACK_MK)
|
|
|
|
_INCLUDE_USES_DESTHACK_MK= yes
|
|
|
|
|
|
|
|
.if defined(_desthack_ARGS)
|
2014-01-29 20:42:44 +00:00
|
|
|
IGNORE= USES=desthack does not require args
|
2014-01-27 07:29:32 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
GNU_CONFIGURE_PREFIX= \$${${DESTDIRNAME}}${PREFIX}
|
|
|
|
GNU_CONFIGURE_MANPREFIX= \$${${DESTDIRNAME}}${MANPREFIX}
|
|
|
|
.endif
|