svn commit: r424425 - head/Mk/Uses
Mathieu Arnold
mat at FreeBSD.org
Fri Oct 21 15:19:56 UTC 2016
Author: mat
Date: Fri Oct 21 15:19:54 2016
New Revision: 424425
URL: https://svnweb.freebsd.org/changeset/ports/424425
Log:
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
Modified:
head/Mk/Uses/pathfix.mk
Modified: head/Mk/Uses/pathfix.mk
==============================================================================
--- head/Mk/Uses/pathfix.mk Fri Oct 21 15:19:50 2016 (r424424)
+++ head/Mk/Uses/pathfix.mk Fri Oct 21 15:19:54 2016 (r424425)
@@ -17,7 +17,11 @@ IGNORE= USES=pathfix does not require ar
.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
More information about the svn-ports-all
mailing list