Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports-kde
Path: blob/main/Mk/Uses/desthack.mk
16461 views
# Handle gnu configure that does not properly support DESTDIR
#
# Feature:	desthack
# Usage:	USES=desthack
# Valid ARGS:	none
#
# MAINTAINER:	[email protected]

.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}}${PREFIX}/share
.endif