freebsd-ports/textproc/lexilla/files/patch-src_makefile
Naram Qashat 758096fbf8 textproc:lexilla: new port
Free library of language lexers needed for the upcoming update of editors/scite.
2024-06-30 17:20:52 +02:00

22 lines
643 B
Text

--- src/makefile.orig 2024-04-23 05:51:50 UTC
+++ src/makefile
@@ -44,7 +44,6 @@ ifdef CLANG
BASE_FLAGS += --std=c++17
ifdef CLANG
-CXX = clang++
ifdef windir
# Clang on Win32 uses MSVC headers so will complain about strcpy without this
DEFINES += -D_CRT_SECURE_NO_DEPRECATE=1
@@ -73,9 +72,9 @@ RANLIB ?= ranlib
RANLIB ?= ranlib
-SCINTILLA_INCLUDE = ../../scintilla/include
+SCINTILLA_INCLUDE = $(LOCALBASE)/include/scintilla
-vpath %.h ../include ../../scintilla/include ../lexlib
+vpath %.h ../include $(LOCALBASE)/include/scintilla ../lexlib
vpath %.cxx ../src ../lexlib ../lexers
DEFINES += -D$(if $(DEBUG),DEBUG,NDEBUG)