pkgsrc/x11/wxGTK30/buildlink3.mk
dbj 7754a392ee build wxGTK30 using cocoa by default on Darwin
we might want to consider renaming this package
2016-02-17 10:16:05 +00:00

31 lines
1 KiB
Makefile

# $NetBSD: buildlink3.mk,v 1.6 2016/02/17 10:16:05 dbj Exp $
BUILDLINK_TREE+= wxGTK30
.if !defined(WXGTK30_BUILDLINK3_MK)
WXGTK30_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.wxGTK30+= wxGTK30>=3.0.1
BUILDLINK_ABI_DEPENDS.wxGTK30+= wxGTK30>=3.0.2nb5
BUILDLINK_PKGSRCDIR.wxGTK30?= ../../x11/wxGTK30
BUILDLINK_INCDIRS.wxGTK30+= include/wx-3.0
PREPEND_PATH+= ${PREFIX}/libexec/wx-3.0
CONFIGURE_ARGS+= --with-wx-version=3.0
CONFIGURE_ARGS+= --with-wx-config=${PREFIX}/libexec/wx-3.0/wx-config
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.if ${OPSYS} != "Darwin"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libXxf86vm/buildlink3.mk"
.endif
.endif # WXGTK30_BUILDLINK3_MK
BUILDLINK_TREE+= -wxGTK30