27 lines
660 B
Makefile
27 lines
660 B
Makefile
# $NetBSD: options.mk,v 1.2 2012/06/15 09:20:28 asau Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.polyml
|
|
PKG_SUPPORTED_OPTIONS= motif x11 gmp
|
|
PKG_SUGGESTED_OPTIONS= motif x11
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mx11)
|
|
CONFIGURE_ARGS+= --with-x
|
|
|
|
.include "../../x11/libXt/buildlink3.mk"
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
.include "../../x11/libXext/buildlink3.mk"
|
|
.include "../../x11/libX11/buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mmotif)
|
|
.include "../../mk/motif.buildlink3.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mgmp)
|
|
CONFIGURE_ARGS+= --with-gmp=yes
|
|
.include "../../devel/gmp/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --with-gmp=no
|
|
.endif
|