601583c320
Patch provided by Sergey Svishchev in private mail.
23 lines
588 B
Makefile
23 lines
588 B
Makefile
# $NetBSD: options.mk,v 1.4 2007/02/22 19:26:47 wiz Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.djbfft
|
|
PKG_OPTIONS_OPTIONAL_GROUPS= optimization
|
|
PKG_OPTIONS_GROUP.optimization= djbfft-pentium djbfft-ppro djbfft-sparc
|
|
|
|
.if ${MACHINE_ARCH} == "sparc"
|
|
PKG_SUGGESTED_OPTIONS+= djbfft-sparc
|
|
.endif
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mdjbfft-pentium)
|
|
DJB_CONFIG_CMDS= ${ECHO} pentium > conf-opt
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdjbfft-ppro)
|
|
DJB_CONFIG_CMDS= ${ECHO} ppro > conf-opt
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdjbfft-sparc)
|
|
DJB_CONFIG_CMDS= ${ECHO} sparc > conf-opt
|
|
.endif
|