aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-01-27 08:14:30 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-01-27 08:14:30 +0000
commit7c89ef977333e9a56a5eda52f2827f91042fdb2b (patch)
tree2ebbd49c9c52e0c9b0a31650b1a856dd51e700a1 /Mk/Uses
parente64266f02421156413413d4a312423b1fd966357 (diff)
Do not pass DESTDIR to build target (with a syntax compatible with both fmake and bmake)
That fixes a couple of STAGEDIR references in the install files
Notes
Notes: svn path=/head/; revision=341335
Diffstat (limited to 'Mk/Uses')
-rw-r--r--Mk/Uses/desthack.mk9
1 files changed, 1 insertions, 8 deletions
diff --git a/Mk/Uses/desthack.mk b/Mk/Uses/desthack.mk
index eb49af650cfc..6322f1f7825d 100644
--- a/Mk/Uses/desthack.mk
+++ b/Mk/Uses/desthack.mk
@@ -14,16 +14,9 @@
_INCLUDE_USES_DESTHACK_MK= yes
.if defined(_desthack_ARGS)
-IGNORE= USES=desthack does not require args
+IGNORE= USES=desthack valide args are none or 'la'
.endif
-_USES_POST= desthack
GNU_CONFIGURE_PREFIX= \$${${DESTDIRNAME}}${PREFIX}
GNU_CONFIGURE_MANPREFIX= \$${${DESTDIRNAME}}${MANPREFIX}
.endif
-
-.if defined(_POSTMKINCLUDED) && !defined(_INCLUDE_USES_DESTHACK_POST_MK)
-_INCLUDE_USES_DESTHACK_POST_MK= yes
-post-stage:
- @${SED} -i '' -e 's,${STAGEDIR},,g' ${STAGEDIR}${PREFIX}/lib/*.la
-.endif