diff options
-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 |