diff -urN /usr/ports/print/cpp2latex/Makefile print/cpp2latex/Makefile --- /usr/ports/print/cpp2latex/Makefile Wed Oct 29 18:13:07 2003 +++ print/cpp2latex/Makefile Sat Nov 1 23:15:05 2003 @@ -14,17 +14,17 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Convert C++ source to a file you can input in an LaTeX-document +USE_REINPLACE= yes GNU_CONFIGURE= yes CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} .include -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile on FreeBSD ${OSVERSION}" -.endif +post-patch: + @${REINPLACE_CMD} -e 's|-pedantic||g' ${WRKSRC}/configure -.if !defined(NOPORTDOCS) post-install: +.if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} .for docfile in AUTHORS ChangeLog README TODO ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}