Or we can automate this with something like this:
Index: 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
--- perl.port.mk 12 Dec 2021 19:25:39 -0000 1.32
+++ perl.port.mk 21 Jan 2022 17:39: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} \- perl clang -Wcompound-token-split-by-macro Alexander Bluhm
- Re: perl clang -Wcompound-token-split-by-macro Alexander Bluhm
- Re: perl clang -Wcompound-token-split-by-macro Marc Espie
- Re: perl clang -Wcompound-token-split-by-macro Andrew Hewus Fresh
- Re: perl clang -Wcompound-token-split-by-m... Alexander Bluhm
- Re: perl clang -Wcompound-token-split-... Stuart Henderson
- Re: perl clang -Wcompound-token-s... Marc Espie
- Re: perl clang -Wcompound-tok... Andrew Hewus Fresh
- Re: perl clang -Wcompound-tok... Alexander Bluhm
- Re: perl clang -Wcompound... Alexander Bluhm
- Re: perl clang -Wcompound... Andrew Hewus Fresh
- Re: perl clang -Wcompound... Alexander Bluhm
- Re: perl clang -Wcompound... Andrew Hewus Fresh
- Re: perl clang -Wcompound... Alexander Bluhm
- Re: perl clang -Wcompound... Andrew Hewus Fresh
- Re: perl clang -Wcompound... Stuart Henderson
- Re: perl clang -Wcompound... Marc Espie
