ports/editors/openoffice-devel/files/patch-pyuno_source_module_makefile.mk
Don Lewis 73598629cb editors/openoffice-*: Re-order include path
Re-order the compiler include path to avoid inadverantly picking up
unwanted system include files.

This is just a build fix and does not change successfully built
packages, so no PORTREVISION bump.
PR:		287074
Reported by:	George Mitchell
2025-06-01 11:45:26 -07:00

12 lines
357 B
Makefile

--- pyuno/source/module/makefile.mk.orig 2019-09-17 22:55:18 UTC
+++ pyuno/source/module/makefile.mk
@@ -60,7 +60,7 @@ PYTHONLIB=$(PYTHON_LIBS)
.IF "$(SYSTEM_PYTHON)" == "YES"
PYTHONLIB=$(PYTHON_LIBS)
-CFLAGS+=$(PYTHON_CFLAGS)
+INCSYSTEM+=$(PYTHON_CFLAGS)
.ELSE # "$(SYSTEM_PYTHON)" == "YES"
.INCLUDE : pyversion.mk
CFLAGS+=-I$(SOLARINCDIR)$/python