Date: Sat, 19 Nov 2016 17:30:36 +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: r426517 - in head/sysutils/reed: . files Message-ID: <201611191730.uAJHUau0087175@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sat Nov 19 17:30:36 2016 New Revision: 426517 URL: https://svnweb.freebsd.org/changeset/ports/426517 Log: sysutils/reed: Honor cflags, provide ncurses header location Approved by: ncurses + general blankets Modified: head/sysutils/reed/Makefile head/sysutils/reed/files/patch-Makefile.in Modified: head/sysutils/reed/Makefile ============================================================================== --- head/sysutils/reed/Makefile Sat Nov 19 17:18:03 2016 (r426516) +++ head/sysutils/reed/Makefile Sat Nov 19 17:30:36 2016 (r426517) @@ -18,6 +18,7 @@ USE_PERL5= run build patch SHEBANG_FILES= wrap breed HAS_CONFIGURE= yes CONFIGURE_SCRIPT= configures +CONFIGURE_ENV+= INCDIR="${NCURSESINC}" post-patch: @${PERL} -pi -e 's!/usr/local!${PREFIX}!g' ${WRKSRC}/configures Modified: head/sysutils/reed/files/patch-Makefile.in ============================================================================== --- head/sysutils/reed/files/patch-Makefile.in Sat Nov 19 17:18:03 2016 (r426516) +++ head/sysutils/reed/files/patch-Makefile.in Sat Nov 19 17:30:36 2016 (r426517) @@ -3,11 +3,11 @@ @@ -1,8 +1,8 @@ all: - $(CC) -O2 -o reed reed.c filemode.c -lcurses -+ $(CC) -O2 -o reed reed.c filemode.c $(LDFLAGS) -lncurses ++ $(CC) $(CFLAGS) -o reed reed.c filemode.c $(LDFLAGS) -lncurses debug: - $(CC) -o reed reed.c filemode.c -lcurses -Wall -g -+ $(CC) -o reed reed.c filemode.c $(LDFLAGS) -lncurses -Wall -g ++ $(CC) $(CFLAGS) -o reed reed.c filemode.c $(LDFLAGS) -lncurses -Wall -g install: install -d $(DESTDIR)PREFIX/bin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611191730.uAJHUau0087175>