svn commit: r426546 - head/lang/seed7
John Marino
marino at FreeBSD.org
Sun Nov 20 00:06:15 UTC 2016
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
More information about the svn-ports-head
mailing list