From 94b15e800eb68da6fd1ca6c667cbdfabf5e6cbfe Mon Sep 17 00:00:00 2001 From: LAN-TW Date: Thu, 18 Jul 2013 12:05:50 +0800 Subject: [PATCH] Fix incorrent build parameters --- Makefile | 15 ++++++++------- term.c | 1 - 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index bc9b288..7cff95a 100644 --- a/Makefile +++ b/Makefile @@ -4,15 +4,15 @@ OBJ = edit.o term.o screen.o stuff.o io.o editor.o #---------------------------------------------------------- # FreeBSD #---------------------------------------------------------- -CFLAGS ?= -O -pipe -CFLAGS += -DVEDITOR -LIBS = -ltermcap -lcompat +#CFLAGS ?= -O -pipe +#CFLAGS += -DVEDITOR +#LIBS = -ltermcap -lcompat #---------------------------------------------------------- # Linux #---------------------------------------------------------- -#CFLAGS = -DVEDITOR -DLINUX -#LIBS = -ltermcap -lbsd +CFLAGS = -DVEDITOR -DLINUX +LIBS = -lncurses #---------------------------------------------------------- # SunOS @@ -26,9 +26,10 @@ clean: rm -f *.o ve install: all + mkdir -p $(PREFIX)/bin mkdir -p $(PREFIX)/share/ve - $(BSD_INSTALL_PROGRAM) ve $(PREFIX)/bin - $(BSD_INSTALL_DATA) ve.hlp $(PREFIX)/share/ve + install ve $(PREFIX)/bin + install -m 444 ve.hlp $(PREFIX)/share/ve ve: $(OBJ) $(CC) $(CFLAGS) -o ve $(OBJ) $(LIBS) diff --git a/term.c b/term.c index 1a71135..f4aa104 100644 --- a/term.c +++ b/term.c @@ -15,7 +15,6 @@ #endif #ifdef LINUX -#include #endif #define stty(fd, data) tcsetattr( fd, TCSETS, data ) #define gtty(fd, data) tcgetattr( fd, data ) -- 1.8.3.3 '>2016Q3 FreeBSD Ports (https://github.com/freebsd/freebsd-ports)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Update to 3.2.1Sunpoet Po-Chuan Hsieh2017-11-222-4/+4
* Update to 3.2.0Sunpoet Po-Chuan Hsieh2017-11-102-4/+4
* Update to 3.1.9Sunpoet Po-Chuan Hsieh2017-10-202-4/+4
* Update to 3.1.8Sunpoet Po-Chuan Hsieh2017-07-163-5/+5
* Update to 3.1.7Sunpoet Po-Chuan Hsieh2017-07-152-4/+4
* Update to 3.1.6Sunpoet Po-Chuan Hsieh2017-07-092-4/+4
* Update to 3.1.4Sunpoet Po-Chuan Hsieh2017-05-312-4/+4
* Update to 3.1.3Sunpoet Po-Chuan Hsieh2017-04-293-8/+8
* x11/rubygem-gnome2: update to 3.1.1Steve Wills2017-03-112-4/+4
* x11/rubygem-gnome2: update to 3.1.0Steve Wills2017-01-022-3/+4
* Convert USES=gem:autoplist to USES=gem since autoplist is defaultSteve Wills2016-04-281-1/+1
* create USES=gem and update rubygem- ports to use itSteve Wills2016-04-281-2/+1
* - Update to 3.0.8Sunpoet Po-Chuan Hsieh2016-04-122-4/+3
* Remove ${PORTSDIR}/ from dependencies, categories v, w, x, y, and z.Mathieu Arnold2016-04-011-3/+3
* Remove source and intermediate build output from intalled rubygem- portsSteve Wills2016-02-022-0/+12
* - Update to 3.0.7Sunpoet Po-Chuan Hsieh2016-01-172-5/+4
* - Update to 2.2.5Sunpoet Po-Chuan Hsieh2015-05-042-3/+6
* x11/rubygem-gnome2: update to 2.2.3Steve Wills2014-11-122-3/+3
* x11/rubygem-gnome2: update to 2.2.0Steve Wills2014-08-262-3/+3
* - Update rubygem-gnome2 and associated ports to 2.1.0Steve Wills2014-02-222-3/+3