summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-10-21 15:19:54 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-10-21 15:19:54 +0000
commit6c199d0a120ee56c33014bcc12c2503d5bdc3ace (patch)
tree0410753d8597bc8032a86542496ff9d4d1628538
parentAdd a few more paths to USES=pathfix. (diff)
It feels safe to assume that if using autoreconf, you want to patch Makefile.am.
PR: 213195 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D8093
Notes
Notes: svn path=/head/; revision=424425
-rw-r--r--Mk/Uses/pathfix.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Mk/Uses/pathfix.mk b/Mk/Uses/pathfix.mk
index c16fbdd989e7..0306f6ddb9b4 100644
--- a/Mk/Uses/pathfix.mk
+++ b/Mk/Uses/pathfix.mk
@@ -17,7 +17,11 @@ IGNORE= USES=pathfix does not require args
.endif
PATHFIX_CMAKELISTSTXT?= CMakeLists.txt
+.if ${USES:Mautoreconf*}
+PATHFIX_MAKEFILEIN?= Makefile.am
+.else
PATHFIX_MAKEFILEIN?= Makefile.in
+.endif
PATHFIX_WRKSRC?= ${WRKSRC}
_USES_patch+= 190:pathfix