1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

make SSE2 optional

PR:		ports/156162
Submitted by:	olgeni
This commit is contained in:
Oliver Lehmann 2011-04-14 06:24:14 +00:00
parent e7211b6426
commit 347b923f34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=272703

View File

@ -36,7 +36,8 @@ OPTIONS= CHARSET "Build with automatic charset detection" off \
DBUS "Build with dbus support" on \
GNOME "Build with gconf support" off \
NLS "Native Language Support" on \
EXECINFO "Build with libexecinfo support" on
EXECINFO "Build with libexecinfo support" on \
SSE2 "Build with SSE2 instruction set" on
.include <bsd.port.pre.mk>
@ -71,6 +72,10 @@ CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.if defined(WITHOUT_SSE2)
CONFIGURE_ARGS+=--disable-sse2
.endif
post-patch:
@${REINPLACE_CMD} 's|$${libdir}/pkgconfig|$${prefix}/libdata/pkgconfig|g' \
${WRKSRC}/Makefile