diff options
author | Tijl Coosemans <tijl@FreeBSD.org> | 2014-12-05 10:47:45 +0000 |
---|---|---|
committer | Tijl Coosemans <tijl@FreeBSD.org> | 2014-12-05 10:47:45 +0000 |
commit | 369ca89d17cfa147d48bc06a4ae76d02470548b8 (patch) | |
tree | a0e5303dd221080414f744f0217ee80db58c41f6 /Mk | |
parent | New port: www/rubygem-jsobfu (diff) |
Modify run-autotools-fixup so it only prints "FreeBSD 10 autotools fix
applied to..." when it modified a file. Also change _CONFIGURE_SEQ so
run-autotools-fixup runs after targets like do-autoreconf that can already
fix some cases.
This will allow us to get a better idea of how big the problem still is.
Approved by: portmgr (bapt)
Notes
Notes:
svn path=/head/; revision=374006
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.port.mk | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk index 0b315d1cf845..894a262c9d81 100644 --- a/Mk/bsd.port.mk +++ b/Mk/bsd.port.mk @@ -3414,9 +3414,10 @@ run-autotools-fixup: -e 's|freebsd\[\[12\]\]\*)|freebsd[[12]].*)|g' \ -e 's|freebsd\[\[123\]\]\*)|freebsd[[123]].*)|g' \ $${f} ; \ + cmp -s $${f}.fbsd10bak $${f} || \ + ${ECHO_MSG} "===> FreeBSD 10 autotools fix applied to $${f}"; \ ${TOUCH} ${TOUCH_FLAGS} -mr $${f}.fbsd10bak $${f} ; \ ${RM} -f $${f}.fbsd10bak ; \ - ${ECHO_MSG} "===> FreeBSD 10 autotools fix applied to $${f}"; \ done .endif .endif @@ -5946,9 +5947,9 @@ _PATCH_SEQ= ask-license patch-message patch-depends pathfix dos2unix fix-sheban pre-patch \ pre-patch-script do-patch charsetfix-post-patch post-patch post-patch-script _CONFIGURE_DEP= patch -_CONFIGURE_SEQ= build-depends lib-depends configure-message run-autotools-fixup \ +_CONFIGURE_SEQ= build-depends lib-depends configure-message \ pre-configure pre-configure-script \ - run-autotools do-autoreconf patch-libtool do-configure \ + run-autotools do-autoreconf patch-libtool run-autotools-fixup do-configure \ post-configure post-configure-script _BUILD_DEP= configure _BUILD_SEQ= build-message pre-build pre-build-script do-build \ |