2007-02-22 20:26:05 +01:00
|
|
|
# $NetBSD: options.mk,v 1.4 2007/02/22 19:26:47 wiz Exp $
|
2005-08-19 07:07:42 +02:00
|
|
|
|
|
|
|
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"
|
2005-10-05 07:46:54 +02:00
|
|
|
PKG_SUGGESTED_OPTIONS+= djbfft-sparc
|
2005-08-19 07:07:42 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mdjbfft-pentium)
|
2007-02-22 20:26:05 +01:00
|
|
|
DJB_CONFIG_CMDS= ${ECHO} pentium > conf-opt
|
2005-08-19 07:07:42 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mdjbfft-ppro)
|
2007-02-22 20:26:05 +01:00
|
|
|
DJB_CONFIG_CMDS= ${ECHO} ppro > conf-opt
|
2005-08-19 07:07:42 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mdjbfft-sparc)
|
2007-02-22 20:26:05 +01:00
|
|
|
DJB_CONFIG_CMDS= ${ECHO} sparc > conf-opt
|
2005-08-19 07:07:42 +02:00
|
|
|
.endif
|