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