Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Nov 2016 00:06:14 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426546 - head/lang/seed7
Message-ID:  <201611200006.uAK06EDi049828@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Nov 20 00:06:14 2016
New Revision: 426546
URL: https://svnweb.freebsd.org/changeset/ports/426546

Log:
  lang/seed7: Fix ports ncurses header inclusion
  
  seed7 can only find the base ncurses headers, so augment the CFLAGS
  so it can find the headers for the ncurses library it uses.
  
  Approved by:	ncurses blanket

Modified:
  head/lang/seed7/Makefile

Modified: head/lang/seed7/Makefile
==============================================================================
--- head/lang/seed7/Makefile	Sat Nov 19 23:51:13 2016	(r426545)
+++ head/lang/seed7/Makefile	Sun Nov 20 00:06:14 2016	(r426546)
@@ -42,7 +42,9 @@ PORTDOCS=	*
 MAKEFILE=	mk_freebsd.mk
 
 post-patch:
-	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g;' ${WRKSRC}/${MAKEFILE}
+	${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g;' \
+		-e 's|^CFLAGS = |CFLAGS = -I${NCURSESINC} |' \
+		${WRKSRC}/${MAKEFILE}
 
 do-build:
 	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} depend



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