pkgsrc/graphics/gd/options.mk
sno 085dd4bff8 PkgSrc changes:
- allow optionally build a gd which supports xpm
2009-04-12 00:29:26 +00:00

15 lines
402 B
Makefile

# $NetBSD: options.mk,v 1.1 2009/04/12 00:29:26 sno Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gd
PKG_SUPPORTED_OPTIONS= x11
PKG_SUGGESTED_OPTIONS= # empty
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mx11)
.include "../../x11/libXpm/buildlink3.mk"
CONFIGURE_ENV+= X11PREFIX=${X11PREFIX} X11BASE=${X11BASE}
CONFIGURE_ARGS+= --with-xpm
.else
CONFIGURE_ARGS+= --without-xpm
.endif