39a8749002
Add proper curl option handling to buildlink3.mk. From Leonardo Taccari.
25 lines
657 B
Makefile
25 lines
657 B
Makefile
# $NetBSD: buildlink3.mk,v 1.6 2014/05/30 21:39:37 wiz Exp $
|
|
|
|
BUILDLINK_TREE+= mupdf
|
|
|
|
.if !defined(MUPDF_BUILDLINK3_MK)
|
|
MUPDF_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.mupdf+= mupdf>=1.3
|
|
BUILDLINK_ABI_DEPENDS.mupdf?= mupdf>=1.4nb1
|
|
BUILDLINK_PKGSRCDIR.mupdf?= ../../print/mupdf
|
|
|
|
pkgbase := mupdf
|
|
.include "../../mk/pkg-build-options.mk"
|
|
|
|
.if !empty(PKG_BUILD_OPTIONS.mupdf:Mcurl)
|
|
.include "../../www/curl/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.endif
|
|
|
|
.include "../../graphics/jbig2dec/buildlink3.mk"
|
|
.include "../../graphics/openjpeg/buildlink3.mk"
|
|
.include "../../mk/jpeg.buildlink3.mk"
|
|
.endif # MUPDF_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -mupdf
|