mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
0d8977cba1
Sponsored by: Absolight
23 lines
448 B
Makefile
23 lines
448 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
# Handle gnu configure that does not properly support DESTDIR
|
|
#
|
|
# MAINTAINER: portmgr@FreeBSD.org
|
|
#
|
|
# Feature: desthack
|
|
# Usage: USES=desthack
|
|
# Valid ARGS: none
|
|
#
|
|
|
|
.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
|