summaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-02-05 16:45:02 +0000
committerJohn Marino <marino@FreeBSD.org>2016-02-05 16:45:02 +0000
commitf347c1c4f5a637550759600bff746b07390ca72d (patch)
treeab23c6cb756585347a9032a8a064aa3772d2e830 /japanese
parentjapanese/lynx(-current): document ncurses requirement (USES+=ncurses) (diff)
japanese/ne: USES+= ncurses, respect LDFLAGS
Notes
Notes: svn path=/head/; revision=408224
Diffstat (limited to 'japanese')
-rw-r--r--japanese/ne/Makefile3
-rw-r--r--japanese/ne/files/patch-src_Makefile.in11
2 files changed, 12 insertions, 2 deletions
diff --git a/japanese/ne/Makefile b/japanese/ne/Makefile
index b8b60fcb7c93..297a513cf68d 100644
--- a/japanese/ne/Makefile
+++ b/japanese/ne/Makefile
@@ -11,10 +11,9 @@ COMMENT= VZ-like full-screen text editor with Japanese support
LICENSE= GPLv2
+USES= ncurses
GNU_CONFIGURE= yes
-
CFLAGS+= -Wno-error=return-type # required for Clang
-
WRKSRC= ${WRKDIR}/${PORTNAME}
OPTIONS_DEFINE= DOCS
diff --git a/japanese/ne/files/patch-src_Makefile.in b/japanese/ne/files/patch-src_Makefile.in
new file mode 100644
index 000000000000..20dafa24c22c
--- /dev/null
+++ b/japanese/ne/files/patch-src_Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig 2000-04-19 07:32:36 UTC
++++ src/Makefile.in
+@@ -41,7 +41,7 @@ TARS = $(SRCS) Makefile.in config.h.in n
+ all: $(PROG)
+
+ $(PROG): $(OBJS) ../lib/libele.a
+- $(CC) -L../lib -o $@ $(OBJS) $(LIBS)
++ $(CC) -L../lib -o $@ $(OBJS) $(LDFLAGS) $(LIBS)
+
+ .c.o:
+ @echo $(CC) $(CFLAGS) -c $<