1 # $NetBSD: options.mk,v 1.15 2012/06/08 12:50:33 fhajny Exp $
3 PKG_OPTIONS_VAR
= PKG_OPTIONS.gnupg
4 PKG_SUPPORTED_OPTIONS
= curl ldap readline
6 .
include "../../mk/bsd.prefs.mk"
8 .if
${MACHINE_ARCH
:Mi386
}
9 PKG_SUPPORTED_OPTIONS
+= i586-optimized
12 .if
${MACHINE_ARCH
:Mm68k
}
13 PKG_SUPPORTED_OPTIONS
+= m68060-optimized
16 .
include "../../mk/bsd.options.mk"
18 .if
!empty
(PKG_OPTIONS
:Mi586-optimized
)
19 # use assembler routines optimized for, and only for!, i586
20 ONLY_FOR_PLATFORM
= *-*-i386
21 MACHINE_GNU_ARCH
= i586
24 .if
!empty
(PKG_OPTIONS
:Mcurl
)
25 .
include "../../www/curl/buildlink3.mk"
27 CONFIGURE_ARGS
+= --without-libcurl
31 .if
!empty
(PKG_OPTIONS
:Mldap
)
32 .
include "../../databases/openldap-client/buildlink3.mk"
35 CONFIGURE_ARGS
+= --disable-ldap
38 .if
!empty
(PKG_OPTIONS
:Mm68060-optimized
)
39 # be more efficient on M68060 machines
40 CONFIGURE_ENV
+= M68060
=${M68060
:Q
}
44 .if
!empty
(PKG_OPTIONS
:Mreadline
)
46 .
include "../../devel/readline/buildlink3.mk"
47 CONFIGURE_ARGS
+= --with-readline
=${BUILDLINK_PREFIX.readline
}
49 CONFIGURE_ARGS
+= --without-readline