blob: 96d06f3a00fcc8bf1c35fd8c523c1862b2454380 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# $NetBSD: options.mk,v 1.2 2008/12/18 22:23:36 bjs Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.x264-devel
PKG_SUPPORTED_OPTIONS= debug threads
.if !empty(X264_BUILD_THREADS_SUPPORT:M[Yy][Ee][Ss])
PKG_SUGGESTED_OPTIONS+= threads
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mthreads)
CONFIGURE_ARGS+= --enable-pthread
. include "../../mk/pthread.buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-pthread
.endif
.if !empty(PKG_OPTIONS:Mdebug) || \
!empty(INSTALL_UNSTRIPPED:Uno:M[Yy][Ee][Ss])
CONFIGURE_ARGS+= --enable-debug
BUILDLINK_TRANSFORM+= rm:-fomit-frame-pointer
.endif
|