Changeset View
Changeset View
Standalone View
Standalone View
graphics/darktable/Makefile
Show First 20 Lines • Show All 50 Lines • ▼ Show 20 Lines | |||||
CMAKE_ARGS+= -DBUILD_CMSTEST:BOOL=ON | CMAKE_ARGS+= -DBUILD_CMSTEST:BOOL=ON | ||||
CMAKE_ARGS+= -DUSE_KWALLET:BOOL=ON | CMAKE_ARGS+= -DUSE_KWALLET:BOOL=ON | ||||
LDFLAGS+= -L${LOCALBASE}/lib | LDFLAGS+= -L${LOCALBASE}/lib | ||||
COLORD_LIB_DEPENDS= libcolord.so:graphics/colord \ | COLORD_LIB_DEPENDS= libcolord.so:graphics/colord \ | ||||
libcolord-gtk.so:graphics/colord-gtk | libcolord-gtk.so:graphics/colord-gtk | ||||
COLORD_CMAKE_OFF= -DUSE_COLORD:BOOL=OFF | COLORD_CMAKE_OFF= -DUSE_COLORD:BOOL=OFF | ||||
DEBUG_FLAGS= CMAKE_BUILD_TYPE=RelWithDebInfo | |||||
FLICKR_LIB_DEPENDS= libflickcurl.so:www/flickcurl | FLICKR_LIB_DEPENDS= libflickcurl.so:www/flickcurl | ||||
FLICKR_CMAKE_OFF= -DUSE_FLICKR:BOOL=OFF | FLICKR_CMAKE_OFF= -DUSE_FLICKR:BOOL=OFF | ||||
GEO_LIB_DEPENDS= libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map | GEO_LIB_DEPENDS= libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map | ||||
GEO_CMAKE_OFF= -DUSE_MAP:BOOL=OFF | GEO_CMAKE_OFF= -DUSE_MAP:BOOL=OFF | ||||
GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 | GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2 | ||||
GPHOTO_CMAKE_OFF= -DUSE_CAMERA_SUPPORT:BOOL=OFF | GPHOTO_CMAKE_OFF= -DUSE_CAMERA_SUPPORT:BOOL=OFF | ||||
▲ Show 20 Lines • Show All 43 Lines • ▼ Show 20 Lines | |||||
LIB_DEPENDS+= libomp.so.0:devel/openmp | LIB_DEPENDS+= libomp.so.0:devel/openmp | ||||
# Last but not least, there is a second change or regression in CMake | # Last but not least, there is a second change or regression in CMake | ||||
# 3.4.x: CMAKE_EXE_LINKER_FLAGS is not passed to TRY_COMPILE by default | # 3.4.x: CMAKE_EXE_LINKER_FLAGS is not passed to TRY_COMPILE by default | ||||
# anymore. The CMP0056 policy must be explicitly set to NEW to ensure | # anymore. The CMP0056 policy must be explicitly set to NEW to ensure | ||||
# linker flags are passed. | # linker flags are passed. | ||||
# See: https://cmake.org/cmake/help/v3.4/policy/CMP0056.html | # See: https://cmake.org/cmake/help/v3.4/policy/CMP0056.html | ||||
CMAKE_ARGS+= -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW | CMAKE_ARGS+= -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW | ||||
.endif | |||||
.if defined(WITH_DEBUG) | |||||
CMAKE_BUILD_TYPE= RelWithDebInfo | |||||
STRIP= | |||||
.endif | .endif | ||||
.include <bsd.port.post.mk> | .include <bsd.port.post.mk> |