mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-15 23:50:44 +00:00
8a5f39c621
And fix building on 4.0+, which have ncurses in the base, but unfortunately base ncurses is useless. Noted by; "Oleg V. Volkov" <rover@lglobus.ru> Submitted by: KATO Tsuguru <tkato@prontomail.ne.jp> (fix for -current) Approved by: asami (in regards to no repo-copy)
19 lines
685 B
Plaintext
19 lines
685 B
Plaintext
--- Makefile Sun Mar 26 13:02:11 2000
|
|
+++ Makefile.new Sun Mar 26 13:41:34 2000
|
|
@@ -1,10 +1,11 @@
|
|
-CC = gcc
|
|
+LOCALBASE ?= /usr/local
|
|
+CC ?= gcc
|
|
PROF =
|
|
DEBUG =
|
|
NOCRYPT =
|
|
-O_FLAGS = -O -g
|
|
-C_FLAGS = $(O_FLAGS) -DPOLLING -Wall $(DEBUG) $(PROF) $(NOCRYPT)
|
|
-L_FLAGS = $(O_FLAGS) -lpanel -lncurses $(DEBUG) $(PROF)
|
|
+O_FLAGS = ${CFLAGS}
|
|
+C_FLAGS = $(O_FLAGS) -DPOLLING -Wall $(DEBUG) $(PROF) $(NOCRYPT) -I$(LOCALBASE)/include/ncurses -I$(LOCALBASE)/include
|
|
+L_FLAGS = $(O_FLAGS) -lpanel -lncurses $(DEBUG) $(PROF) -L$(LOCALBASE)/lib
|
|
|
|
O_FILES = alias.o commands.o file.o input.o log.o mudix.o output.o parse.o \
|
|
path.o settings.o tabs.o telnet.o trigger.o
|