Hi,

Can we commit espie@'s diff to fix the -Wcompound-token-split-by-macro
compiler warnings?  It reduces the size of my logfiles a lot and
allows to look at the build output of XS Perl ports.

bluhm

Index: infrastructure/mk/perl.port.mk
===================================================================
RCS file: /cvs/ports/infrastructure/mk/perl.port.mk,v
retrieving revision 1.32
diff -u -p -r1.32 perl.port.mk
--- infrastructure/mk/perl.port.mk      12 Dec 2021 19:25:39 -0000      1.32
+++ infrastructure/mk/perl.port.mk      10 Mar 2022 09:04:18 -0000
@@ -56,6 +56,11 @@ MODPERL_pre-configure = for f in ${MODPE
        ${MODPERL_BIN_ADJ} ${WRKSRC}/$${f}; done
 .endif
 
+MODPERL_gen = cd ${WRKDIST} && \
+       if test -f ppport.h; then \
+               perl -MDevel::PPPort -e'Devel::PPPort::WriteFile'; \
+       fi
+
 .if ${CONFIGURE_STYLE:L:Mmodbuild}
 MODPERL_configure = \
     cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} \

Reply via email to