summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/sud/files')
-rw-r--r--app-admin/sud/files/sud-1.3-fix-build-system.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/app-admin/sud/files/sud-1.3-fix-build-system.patch b/app-admin/sud/files/sud-1.3-fix-build-system.patch
new file mode 100644
index 00000000000..5937d3f0a8e
--- /dev/null
+++ b/app-admin/sud/files/sud-1.3-fix-build-system.patch
@@ -0,0 +1,30 @@
+--- 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