[vlc-commits] contrib: caca: add --disable-java , factorize
Rafaël Carré
git at videolan.org
Mon Nov 28 01:48:22 CET 2011
vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Nov 27 19:47:54 2011 -0500| [10b6e2ad22293b1f59c427378ce24cfb542bf229] | committer: Rafaël Carré
contrib: caca: add --disable-java , factorize
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=10b6e2ad22293b1f59c427378ce24cfb542bf229
---
contrib/src/caca/rules.mak | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/contrib/src/caca/rules.mak b/contrib/src/caca/rules.mak
index 992f24f..ebf37cb 100644
--- a/contrib/src/caca/rules.mak
+++ b/contrib/src/caca/rules.mak
@@ -22,11 +22,12 @@ ifdef HAVE_WIN32
endif
$(MOVE)
-.caca: caca
+CONFIGURE_FLAGS := --disable-imlib2 --disable-doc --disable-ruby --disable-csharp --disable-cxx --disable-java
ifdef HAVE_MACOSX
- cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --disable-imlib2 --disable-doc --disable-ruby --disable-csharp --disable-cxx --disable-x11
-else
- cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --disable-imlib2 --disable-doc --disable-ruby --disable-csharp --disable-cxx
+CONFIGURE_FLAGS += --disable-x11
endif
+
+.caca: caca
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(CONFIGURE_FLAGS)
cd $< && $(MAKE) -C $< install
touch $@
More information about the vlc-commits
mailing list