svn commit: r341863 - head/devel/stfl

Tijl Coosemans tijl at FreeBSD.org
Thu Jan 30 17:13:28 UTC 2014


Author: tijl
Date: Thu Jan 30 17:13:27 2014
New Revision: 341863
URL: http://svnweb.freebsd.org/changeset/ports/341863
QAT: https://qat.redports.org/buildarchive/r341863/

Log:
  Bring back /-MM/s|-I.|$${CFLAGS}| to fix build with devel/ncurses.
  
  Reported by:	Zsolt Udvari <udvzsolt at gmail.com>

Modified:
  head/devel/stfl/Makefile

Modified: head/devel/stfl/Makefile
==============================================================================
--- head/devel/stfl/Makefile	Thu Jan 30 17:06:30 2014	(r341862)
+++ head/devel/stfl/Makefile	Thu Jan 30 17:13:27 2014	(r341863)
@@ -22,7 +22,8 @@ LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB
 MAKE_ENV=	LDLIBS="${LDFLAGS}"
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|-Os||;/gcc/d;/pkgconfig/s|$$(libdir)|libdata|' \
+	@${REINPLACE_CMD} -e 's|-Os||;/gcc/d;/-MM/s|-I.|$${CFLAGS}|; \
+		/pkgconfig/s|$$(libdir)|libdata|' \
 		${WRKSRC}/Makefile
 	@${REINPLACE_CMD} -e '/Libs.private/s|$$| ${ICONV_LIB}|' \
 		${WRKSRC}/stfl.pc.in


More information about the svn-ports-all mailing list