aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--astro/swe/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/astro/swe/Makefile b/astro/swe/Makefile
index 52e4f640ad55..d3689f0da498 100644
--- a/astro/swe/Makefile
+++ b/astro/swe/Makefile
@@ -20,7 +20,9 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
post-patch:
- @${REINPLACE_CMD} -e 's|-pedantic||' ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e 's|-pedantic||' \
+ -e 's|CFLAGS =|CFLAGS ?=|' \
+ ${WRKSRC}/Makefile
do-install:
${INSTALL_DATA} ${WRKSRC}/libswe.a ${LOCALBASE}/lib