diff options
author | bapt <bapt@FreeBSD.org> | 2013-05-04 06:02:11 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2013-05-04 06:02:11 +0800 |
commit | b7996a5fe02c41ec3f995085b02e96dfecf080c6 (patch) | |
tree | 3aa1909778ccca91c71c9c11c04f207cd3c89d05 /astro | |
parent | 055753d6d7592b64aaf0693ecbbd99bb445b8642 (diff) | |
download | freebsd-ports-gnome-b7996a5fe02c41ec3f995085b02e96dfecf080c6.tar.gz freebsd-ports-gnome-b7996a5fe02c41ec3f995085b02e96dfecf080c6.tar.zst freebsd-ports-gnome-b7996a5fe02c41ec3f995085b02e96dfecf080c6.zip |
Fix build on current by respecting CFLAGS
Diffstat (limited to 'astro')
-rw-r--r-- | astro/swe/Makefile | 4 |
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 |