$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