Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2013 22:02:11 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r317276 - head/astro/swe
Message-ID:  <201305032202.r43M2BWt058785@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Fri May  3 22:02:11 2013
New Revision: 317276
URL: http://svnweb.freebsd.org/changeset/ports/317276

Log:
  Fix build on current by respecting CFLAGS

Modified:
  head/astro/swe/Makefile

Modified: head/astro/swe/Makefile
==============================================================================
--- head/astro/swe/Makefile	Fri May  3 21:59:14 2013	(r317275)
+++ head/astro/swe/Makefile	Fri May  3 22:02:11 2013	(r317276)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305032202.r43M2BWt058785>