aboutsummaryrefslogtreecommitdiff
path: root/astro/swe
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-03 22:02:11 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-03 22:02:11 +0000
commitbfe37e9b74856d827b1216db085ad3ddddeef516 (patch)
tree3aa1909778ccca91c71c9c11c04f207cd3c89d05 /astro/swe
parent3ddf07c45ffc6514e4edef143b75f7e25997e9ef (diff)
downloadports-bfe37e9b74856d827b1216db085ad3ddddeef516.tar.gz
ports-bfe37e9b74856d827b1216db085ad3ddddeef516.zip
Fix build on current by respecting CFLAGS
Notes
Notes: svn path=/head/; revision=317276
Diffstat (limited to 'astro/swe')
-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