summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorbjs <bjs@pkgsrc.org>2008-12-18 22:22:47 +0000
committerbjs <bjs@pkgsrc.org>2008-12-18 22:22:47 +0000
commita2f4bcca62570bf5ac2d23ed34d1165dadce61d0 (patch)
treeed50996bd251292062c7cb5cbefefa35a1ccd23f /multimedia
parent1f9a1a98bcd1a3a6ccd98ff482bf80cd7230fe8d (diff)
downloadpkgsrc-a2f4bcca62570bf5ac2d23ed34d1165dadce61d0.tar.gz
add forgotten options.mk.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/x264-devel/options.mk46
1 files changed, 46 insertions, 0 deletions
diff --git a/multimedia/x264-devel/options.mk b/multimedia/x264-devel/options.mk
new file mode 100644
index 00000000000..42f42be9898
--- /dev/null
+++ b/multimedia/x264-devel/options.mk
@@ -0,0 +1,46 @@
+# $NetBSD: options.mk,v 1.1 2008/12/18 22:22:47 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
+# $NetBSD: options.mk,v 1.1 2008/12/18 22:22:47 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