pkgsrc/graphics/imlib2/options.mk

21 lines
483 B
Makefile

# $NetBSD: options.mk,v 1.5 2006/12/16 11:20:23 wiz Exp $
.include "../../mk/bsd.prefs.mk"
PKG_OPTIONS_VAR= PKG_OPTIONS.imlib2
.if ${MACHINE_ARCH} == "i386"
PKG_SUPPORTED_OPTIONS+= mmx
.elif ${MACHINE_ARCH} == "x86_64"
PKG_SUPPORTED_OPTIONS+= imlib2-amd64
PKG_SUGGESTED_OPTIONS+= imlib2-amd64
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mmmx)
CONFIGURE_ARGS+= --enable-mmx
.endif
.if !empty(PKG_OPTIONS:Mimlib2-amd64)
CONFIGURE_ARGS+= --enable-amd64
.endif