shotwell runtime crash - Bring a patch from FreeBSD to use our own strnlen and strcasestr
35 lines
803 B
Makefile
35 lines
803 B
Makefile
# $OpenBSD: Makefile,v 1.41 2019/03/27 23:29:06 ajacoutot Exp $
|
|
|
|
COMMENT = library for reading RAW files
|
|
|
|
DISTNAME = LibRaw-0.18.13
|
|
REVISION = 1
|
|
PKGNAME = ${DISTNAME:L}
|
|
CATEGORIES = graphics
|
|
|
|
SHARED_LIBS += raw 3.2 # 15.0
|
|
SHARED_LIBS += raw_r 3.2 # 15.0
|
|
|
|
HOMEPAGE = https://www.libraw.org/
|
|
|
|
MAINTAINER = Rafael Sadowski <rsadowski@openbsd.org>
|
|
|
|
# LGPL v2.1 OR CDDL v1.0
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
|
|
WANTLIB += c jasper jpeg lcms2 m pthread ${COMPILER_LIBCXX}
|
|
|
|
MASTER_SITES = https://www.libraw.org/data/
|
|
|
|
COMPILER = base-clang ports-gcc base-gcc
|
|
|
|
LIB_DEPENDS = graphics/jasper \
|
|
graphics/lcms2
|
|
|
|
SEPARATE_BUILD = Yes
|
|
CONFIGURE_STYLE = gnu
|
|
CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
.include <bsd.port.mk>
|