Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/freebsd/poudriere.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'test-ports/ports-dep-args/Mk/Uses/desthack.mk')
-rw-r--r--test-ports/ports-dep-args/Mk/Uses/desthack.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/test-ports/ports-dep-args/Mk/Uses/desthack.mk b/test-ports/ports-dep-args/Mk/Uses/desthack.mk
new file mode 100644
index 00000000..da137c5f
--- /dev/null
+++ b/test-ports/ports-dep-args/Mk/Uses/desthack.mk
@@ -0,0 +1,20 @@
+# $FreeBSD: head/Mk/Uses/desthack.mk 369465 2014-09-28 16:36:31Z tijl $
+#
+# 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 !empty(desthack_ARGS)
+IGNORE= USES=desthack does not require args
+.endif
+
+GNU_CONFIGURE_PREFIX= \$${${DESTDIRNAME}}${PREFIX}
+GNU_CONFIGURE_MANPREFIX= \$${${DESTDIRNAME}}${MANPREFIX}
+.endif