[Bug 243447] [MAINTAINER UPDATE] [PATCH] Update astro/opencpn to 5.0.0 (and make it fetchable again)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jan 19 21:17:01 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243447

Tobias C. Berner <tcberner at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tcberner at freebsd.org

--- Comment #2 from Tobias C. Berner <tcberner at freebsd.org> ---
Moin moin

Instead of adding  -DBUNDLE_TCDATA=ON -DOCPN_NEW_SERIAL=OFF
-DOCPN_FORCE_GTK3=ON to cmake args, you can use the helpers CMAKE_ON and
CMAKE_OFF

CMAKE_ON=BUNDLE_TCDATA OPCN_FORCE_GTK3
CMAKE_OFF=OCPN_NEW_SERIAL

PREFIX in your CFLAGS like
-I${PREFIX}/include/gdk-pixbuf-2.0
should be LOCALBASE.

Followup question: does the cmake of the project not look for these, why do you
need to manually add them to CLFAGS/LDFLAGS? Are you missing USES=pkgconfig?


DOCS_CMAKE_ON=  -DBUNDLE_DOCS=ON
DOCS_CMAKE_OFF= -DBUNDLE_DOCS=OFF

can be reduced to 
DOCS_CMAKE_BOOL=BUNDLE_DOCS


mfg Tobias

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list