Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 17:13:27 +0000 (UTC)
From:      Tijl Coosemans <tijl@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341863 - head/devel/stfl
Message-ID:  <201401301713.s0UHDRUA043812@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



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