summaryrefslogtreecommitdiff
path: root/multimedia/vls/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/vls/patches/patch-ab')
-rw-r--r--multimedia/vls/patches/patch-ab33
1 files changed, 33 insertions, 0 deletions
diff --git a/multimedia/vls/patches/patch-ab b/multimedia/vls/patches/patch-ab
new file mode 100644
index 00000000000..bb3d8d368f1
--- /dev/null
+++ b/multimedia/vls/patches/patch-ab
@@ -0,0 +1,33 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/03/29 20:29:23 xtraeme Exp $
+
+--- Makefile.orig 2004-01-16 10:27:30.000000000 +0100
++++ Makefile 2004-01-16 10:30:19.000000000 +0100
+@@ -168,15 +168,15 @@
+ ( cd src/modules/$$module && $(MAKE) distclean ) ; done
+
+ install:
+- mkdir -p $(DESTDIR)$(bindir)
++ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(bindir)
+ $(INSTALL) bin/vls $(DESTDIR)$(bindir)
+ $(INSTALL) bin/vlsd $(DESTDIR)$(bindir)
+- mkdir -p $(DESTDIR)$(libdir)/videolan/vls
++ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(libdir)/videolan/vls
+ ifneq (,$(PLUGINS))
+- $(INSTALL) -m 644 $(PLUGINS:%=bin/%.so) $(DESTDIR)$(libdir)/videolan/vls
++ $(BSD_INSTALL_DATA) $(PLUGINS:%=bin/%.so) $(DESTDIR)$(libdir)/videolan/vls
+ endif
+- mkdir -p $(DESTDIR)$(sysconfdir)/videolan/vls
+- test -r $(DESTDIR)$(sysconfdir)/videolan/vls/vls.cfg || $(INSTALL) -m 644 vls.cfg $(DESTDIR)$(sysconfdir)/videolan/vls
++ $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(datadir)/examples/vls
++ test -r $(DESTDIR)$(datadir)/examples/vls/vls.cfg || $(BSD_INSTALL_DATA) vls.cfg $(DESTDIR)$(datadir)/examples/vls
+ @echo "Installation succeeded."
+
+ uninstall:
+@@ -195,7 +195,6 @@
+ @test -d bin || mkdir -p bin
+ $(CXX) $(LCFLAGS) -o bin/$@$(EXEEXT) $(OBJ) $(C_OBJ) $(BUILTINS:%=obj/%.a) $(VLS_LIB)
+ @test -f bin/vlsd$(EXEEXT) || ln -s $@ bin/$@d$(EXEEXT)
+- chmod 755 bin/$@$(EXEEXT)
+
+ dep/server/vls.dpp: src/server/vls_builtins.cpp
+