freebsd-ports/security/sudo/files/patch-plugins__sudoers__Makefile.in
Renato Botelho 48fdd79071 - Replace DISTVERSION by PORTVERSION otherwise it ends up as 1.8.14.p1,
what is < 1.8.14. [1]
- While I'm here silence portlint warnings re-generating patches with
  make makepatch and removing unnecessary DOCS check

Reported by:	Robert Burmeister [1]
2015-07-20 12:30:54 +00:00

12 lines
586 B
Text

--- plugins/sudoers/Makefile.in.orig 2015-07-15 18:44:07 UTC
+++ plugins/sudoers/Makefile.in
@@ -336,8 +336,7 @@ install-plugin: sudoers.la install-dirs
install-sudoers: install-dirs
$(INSTALL) -d $(INSTALL_OWNER) -m 0750 $(DESTDIR)$(sudoersdir)/sudoers.d
- test -r $(DESTDIR)$(sudoersdir)/sudoers || \
- $(INSTALL) $(INSTALL_OWNER) -m $(sudoers_mode) sudoers $(DESTDIR)$(sudoersdir)/sudoers
+ $(INSTALL) $(INSTALL_OWNER) -m $(sudoers_mode) sudoers $(DESTDIR)$(sudoersdir)/sudoers
uninstall:
-$(LIBTOOL) $(LTFLAGS) --mode=uninstall rm -f $(DESTDIR)$(plugindir)/sudoers.la