Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow builds on OpenBSD #4165

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Allow builds on OpenBSD #4165

wants to merge 1 commit into from

Conversation

qth
Copy link

@qth qth commented Aug 6, 2020

After making these changes, I was then able to build mapnik on OpenBSD.

Just in case anyone feels crazy and wants to try on OpenBSD for themselves ;-), this was the configure line that worked for me:

./configure ICU_LIBS=/usr/local/lib ICU_INCLUDES=/usr/local/include HB_LIBS=/usr/local/lib HB_INCLUDES=/usr/local/include PROJ_LIBS=/usr/local/lib PROJ_INCLUDES=/usr/local/include FREETYPE_LIBS=/usr/X11R6/lib FREETYPE_INCLUDES=/usr/X11R6/include/freetype2 CUSTOM_CFLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 -I/usr/X11R6/include/freetype2 CUSTOM_CXXFLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 -I/usr/X11R6/include/freetype2

@inferiorhumanorgans
Copy link

I've recently gone down the path of trying to build mapnik on FreeBSD. It seems to me like leveraging pkgconf/pkg-config would be useful for cross platform compatibility and minimally intrusive on Linux.

@hummeltech
Copy link
Contributor

@inferiorhumanorgans, mapnik is available again in FreeBSD since last year.
https://github.com/freebsd/freebsd-ports/tree/36cc90cb698e00ffdb8f81a64d2d5f8cf34ead45/graphics/mapnik

I suspect it would be a similar build process for OpenBSD.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants