diff options
| author | Jan Beich <jbeich@FreeBSD.org> | 2019-03-04 12:22:42 +0000 |
|---|---|---|
| committer | Jan Beich <jbeich@FreeBSD.org> | 2019-03-04 12:22:42 +0000 |
| commit | 7f1a23814cffc7c5615e784fd061dc11d92241ac (patch) | |
| tree | 29981ed407c02f6d3e27162ab6041a6919532fa0 /sysutils/gsmartcontrol | |
| parent | 2c5fa92c173f4500242b931c5c5699654eb73127 (diff) | |
Notes
Diffstat (limited to 'sysutils/gsmartcontrol')
| -rw-r--r-- | sysutils/gsmartcontrol/Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sysutils/gsmartcontrol/Makefile b/sysutils/gsmartcontrol/Makefile index 16ef22c80a05..f0ec31be7631 100644 --- a/sysutils/gsmartcontrol/Makefile +++ b/sysutils/gsmartcontrol/Makefile @@ -35,4 +35,14 @@ CONFIGURE_ARGS= --disable-libglade OPTIONS_DEFINE= DOCS +post-patch: +# Avoid conflict with C++20 <version> by ignoring <...> under WRKSRC + @${REINPLACE_CMD} -i .c++20 '/ADDITIONAL_INCLUDES/s/-I/-iquote/g' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -i .c++20 's/-I/-iquote/g' \ + ${WRKSRC}/src/Makefile.in \ + ${WRKSRC}/src/*/Makefile.in + @${REINPLACE_CMD} -i .c++20 '/config\.h/y/<>/""/' \ + ${WRKSRC}/src/global_macros.h + .include <bsd.port.mk> |
