* Ed Schouten <e...@80386.nl>, 20110929 11:07: > I meant simply adding this line to bsd.port.mk, to be executed after > pre-configure and before configure.
More specifically, see the attached patch. -- Ed Schouten <e...@80386.nl> WWW: http://80386.nl/
--- Mk/bsd.port.mk +++ Mk/bsd.port.mk @@ -3667,6 +3667,16 @@ @${DO_NADA} .endif +# Work around an issue where FreeBSD 10.0 is detected as FreeBSD 1.x. +run-autotools-fixup: +.if ${OSVERSION} >= 1000000 + @find ${WRKSRC} -type f \( -name config.libpath -o \ + -name config.rpath -o -name configure -o -name libtool.m4 \) \ + -exec sed -i '' 's/freebsd1\*)/SHOULDNOTMATCHANYTHING)/' {} + +.else + @${DO_NADA} +.endif + # Configure .if !target(do-configure) @@ -4266,7 +4276,7 @@ _CONFIGURE_DEP= patch _CONFIGURE_SEQ= build-depends lib-depends configure-message \ configure-autotools pre-configure pre-configure-script \ - run-autotools do-configure post-configure post-configure-script + run-autotools run-autotools-fixup do-configure post-configure post-configure-script _BUILD_DEP= configure _BUILD_SEQ= build-message pre-build pre-build-script do-build \ post-build post-build-script
pgpU7Tmu2JJOq.pgp
Description: PGP signature