mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
5b4f2ad658
make things a bit more consistent. Approved by: portmgr (bapt)
21 lines
444 B
Makefile
21 lines
444 B
Makefile
# $FreeBSD$
|
|
#
|
|
# Handle gnu configure that does not properly support DESTDIR
|
|
#
|
|
# Feature: desthack
|
|
# Usage: USES=desthack
|
|
# Valid ARGS: none
|
|
#
|
|
# MAINTAINER: portmgr@FreeBSD.org
|
|
|
|
.if !defined(_INCLUDE_USES_DESTHACK_MK)
|
|
_INCLUDE_USES_DESTHACK_MK= yes
|
|
|
|
.if defined(_desthack_ARGS)
|
|
IGNORE= USES=desthack does not require args
|
|
.endif
|
|
|
|
GNU_CONFIGURE_PREFIX= \$${${DESTDIRNAME}}${PREFIX}
|
|
GNU_CONFIGURE_MANPREFIX= \$${${DESTDIRNAME}}${MANPREFIX}
|
|
.endif
|