$NetBSD: patch-aj,v 1.2 2011/02/12 16:47:44 asau Exp $ --- plugins/Makefile.orig 2006-08-03 06:02:01.000000000 +0400 +++ plugins/Makefile 2011-02-12 17:08:54.000000000 +0300 @@ -21,8 +21,8 @@ LIBDIR ?= $(DESTDIR)$(prefix)/lib/pptpd install: $(PLUGINS) - $(INSTALL) -d $(LIBDIR) - $(INSTALL) $? $(LIBDIR) + $(BSD_INSTALL_LIB_DIR) $(DESTDIR)$(LIBDIR) + $(BSD_INSTALL_LIB) $? $(DESTDIR)$(LIBDIR) uninstall: rm -f $(LIBDIR)$(PLUGINS)