diff options
author | John Marino <marino@FreeBSD.org> | 2016-01-31 14:35:35 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2016-01-31 14:35:35 +0000 |
commit | 355b183ab67fb72f6482ce6dd1fc1992d50b3546 (patch) | |
tree | e4a7dccbbf5fab65b4be50283d081652b1b379a1 /editors/sted | |
parent | 93a13aebb574c77e6d82f1f9539a1eaba3aca555 (diff) | |
download | ports-355b183ab67fb72f6482ce6dd1fc1992d50b3546.tar.gz ports-355b183ab67fb72f6482ce6dd1fc1992d50b3546.zip |
Notes
Diffstat (limited to 'editors/sted')
-rw-r--r-- | editors/sted/Makefile | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/editors/sted/Makefile b/editors/sted/Makefile index 406e8e69ca56..453a0ca40947 100644 --- a/editors/sted/Makefile +++ b/editors/sted/Makefile @@ -11,15 +11,14 @@ COMMENT= Simple/Small/Stupid Text Editor LICENSE= GPLv2 +USES= ncurses WRKSRC= ${WRKDIR}/sted +MAKE_ARGS= CC="${CC}" C_OPTS="${CFLAGS}" L_OPTS="${LDFLAGS} -lncurses" PORTDOCS= CHANGES README PLIST_FILES= bin/sted man/man1/sted.1.gz post-patch: - @${REINPLACE_CMD} -e "s|CC = gcc|CC ?= gcc|" \ - -e "s|C_OPTS = -Wall -O2|C_OPTS = ${CFLAGS}|" \ - ${WRKSRC}/Makefile @${REINPLACE_CMD} "s|<curses.h>|<ncurses.h>|" ${WRKSRC}/sted.c do-install: |