diff options
author | marino <marino@FreeBSD.org> | 2016-11-19 17:30:36 +0000 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2016-11-19 17:30:36 +0000 |
commit | cfc4a79f11f70c26a4e4bfa6f4da60cd3965e217 (patch) | |
tree | 2502e20d725e7375d8ded7301b4b363e7b3eea03 | |
parent | 99773b3709576f1133ea6cdcc6f57c36aa5095e9 (diff) | |
download | FreeBSD-ports-cfc4a79f11f70c26a4e4bfa6f4da60cd3965e217.zip FreeBSD-ports-cfc4a79f11f70c26a4e4bfa6f4da60cd3965e217.tar.gz |
sysutils/reed: Honor cflags, provide ncurses header location
Approved by: ncurses + general blankets
-rw-r--r-- | sysutils/reed/Makefile | 1 | ||||
-rw-r--r-- | sysutils/reed/files/patch-Makefile.in | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sysutils/reed/Makefile b/sysutils/reed/Makefile index 750c257..8faf2cf 100644 --- a/sysutils/reed/Makefile +++ b/sysutils/reed/Makefile @@ -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 diff --git a/sysutils/reed/files/patch-Makefile.in b/sysutils/reed/files/patch-Makefile.in index 728c1a1..6968f0e 100644 --- a/sysutils/reed/files/patch-Makefile.in +++ b/sysutils/reed/files/patch-Makefile.in @@ -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 |