You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-admin/sud/files/sud-1.3-fix-build-system.patch

31 lines
649 B

--- a/login/Makefile.am
+++ b/login/Makefile.am
@@ -2,5 +2,5 @@
ilogin_SOURCES = login.c
ilogin_CFLAGS = -Wall
-install-data-hook:
- chmod 500 $(sbindir)/ilogin
+install-exec-hook:
+ chmod 500 $(DESTDIR)$(sbindir)/ilogin
--- a/su/Makefile.am
+++ b/su/Makefile.am
@@ -4,5 +4,5 @@
INCLUDES = -I../sud
-install-data-hook:
- chmod 555 $(bindir)/suz
+install-exec-hook:
+ chmod 555 $(DESTDIR)$(bindir)/suz
--- a/sud/Makefile.am
+++ b/sud/Makefile.am
@@ -7,5 +7,5 @@
#INCLUDES = -I..
CLEANFILES = conf_lexer.c conf_parser.h conf_parser.c
-install-data-hook:
- chmod 500 $(sbindir)/sud
+install-exec-hook:
+ chmod 500 $(DESTDIR)$(sbindir)/sud