aboutsummaryrefslogtreecommitdiff
path: root/Mk/Uses
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 /Mk/Uses
parent2596517077aa4a7905bbf0ff6b069e39f9442898 (diff)
downloadports-6c199d0a120ee56c33014bcc12c2503d5bdc3ace.tar.gz
ports-6c199d0a120ee56c33014bcc12c2503d5bdc3ace.zip
Notes
Diffstat (limited to 'Mk/Uses')
-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