aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-10-21 23:19:54 +0800
committermat <mat@FreeBSD.org>2016-10-21 23:19:54 +0800
commit1760a8625d07e36aa917b065990cd46c0219833b (patch)
tree0410753d8597bc8032a86542496ff9d4d1628538 /Mk
parent9d3ad5c059266c0a75539b5ebeaa353ef34c8f13 (diff)
downloadfreebsd-ports-gnome-1760a8625d07e36aa917b065990cd46c0219833b.tar.gz
freebsd-ports-gnome-1760a8625d07e36aa917b065990cd46c0219833b.tar.zst
freebsd-ports-gnome-1760a8625d07e36aa917b065990cd46c0219833b.zip
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
Diffstat (limited to 'Mk')
-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