2010-08-05 23:15:41 +02:00
|
|
|
# $NetBSD: options.mk,v 1.10 2010/08/05 21:15:41 wiz Exp $
|
2006-07-23 06:59:33 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.pango
|
2010-08-05 14:41:27 +02:00
|
|
|
PKG_SUPPORTED_OPTIONS= x11 libthai
|
2006-07-23 06:59:33 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS= x11
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
2010-08-05 14:41:27 +02:00
|
|
|
PLIST_VARS+= x11 thai
|
2008-04-13 00:42:57 +02:00
|
|
|
|
2006-07-23 06:59:33 +02:00
|
|
|
###
|
|
|
|
### X11 support
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
2007-01-03 23:25:22 +01:00
|
|
|
# fix for pangox.pc
|
|
|
|
CONFIGURE_ENV+= X_EXTRA_LIBS=${COMPILER_RPATH_FLAG}${X11BASE}/lib
|
2008-04-13 00:42:57 +02:00
|
|
|
PLIST.x11= yes
|
2006-11-06 12:24:26 +01:00
|
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
|
|
.include "../../x11/libXrender/buildlink3.mk"
|
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build # only for configure
|
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
2008-08-19 20:10:22 +02:00
|
|
|
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
CONFIGURE_ENV+= ac_cv_header_Carbon_Carbon_h=no
|
|
|
|
.endif
|
2006-07-23 06:59:33 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --without-x
|
2008-08-19 20:10:22 +02:00
|
|
|
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
|
|
PLIST.carbon= yes
|
|
|
|
.endif
|
2006-07-23 06:59:33 +02:00
|
|
|
.endif
|
2010-08-05 14:41:27 +02:00
|
|
|
|
|
|
|
###
|
2010-08-05 23:15:41 +02:00
|
|
|
### Thai language support
|
2010-08-05 14:41:27 +02:00
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibthai)
|
|
|
|
PLIST.thai= yes
|
|
|
|
.include "../../devel/libthai/buildlink3.mk"
|
|
|
|
.endif
|