From 4c9bc4cf4fc464a94f7486903c6ef07a09432007 Mon Sep 17 00:00:00 2001 From: will Date: Mon, 7 Jan 2002 05:17:18 +0000 Subject: Additional regexes to tweak the behavior of this port. It will now work correctly even in the presence of newer auto*. --- devel/flux/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'devel/flux') diff --git a/devel/flux/Makefile b/devel/flux/Makefile index b09bfb8..c727e75 100644 --- a/devel/flux/Makefile +++ b/devel/flux/Makefile @@ -17,6 +17,23 @@ USE_GMAKE= yes USE_AUTOMAKE_VER=14 USE_LIBTOOL= yes INSTALLS_SHLIB= yes +REGEX= "s@EXTRA_DIST \+@EXTRA_DIST @g" + +pre-configure: +.for M in examples include src util + @${PERL} -pi -e ${REGEX} ${WRKSRC}/${M}/Makefile.am +.endfor +.for M in build cgi cipher comm fifobuf fstring log mem misc mt nvtp ph proc \ + random smtp sock tn url xml + @${PERL} -pi -e ${REGEX} ${WRKSRC}/src/${M}/Makefile.am +.endfor +.for M in framework/application framework/application/src test + @${PERL} -pi -e ${REGEX} ${WRKSRC}/util/${M}/Makefile.am +.endfor +.for M in smtp + @${PERL} -pi -e ${REGEX} ${WRKSRC}/examples/${M}/Makefile.am +.endfor + ${PERL} -pi -e "s@autoheader,@${AUTOHEADER},@g" ${WRKSRC}/aclocal.m4 post-install: .if !defined(NOPORTDOCS) -- cgit v1.1