summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/setools/files/setools-1.1-fix_noX.diff')
-rw-r--r--app-admin/setools/files/setools-1.1-fix_noX.diff50
1 files changed, 50 insertions, 0 deletions
diff --git a/app-admin/setools/files/setools-1.1-fix_noX.diff b/app-admin/setools/files/setools-1.1-fix_noX.diff
new file mode 100644
index 000000000000..22cb78179843
--- /dev/null
+++ b/app-admin/setools/files/setools-1.1-fix_noX.diff
@@ -0,0 +1,50 @@
+diff -urN setools-1.1.orig/libapol/Makefile setools-1.1/libapol/Makefile
+--- setools-1.1.orig/libapol/Makefile 2003-11-05 08:55:44.000000000 -0600
++++ setools-1.1/libapol/Makefile 2003-12-22 19:58:01.000000000 -0600
+@@ -3,21 +3,14 @@
+ LIB-OBJ = policy.o policy-query.o policy-io.o queue.o util.o clone.o
+ LIB-OBJ += y.tab.o lex.yy.o avl-util.o policy-avl.o render.o analysis.o
+ LIB-OBJ += perm-map.o cond.o
+-LIB-OBJ-TCL = apol_tcl.o
+
+
+ libapol: ../lib/libapol.a
+
+-libapol-tcl: ../lib/libapol-tcl.a
+-
+-
+ ../lib/libapol.a: ../lib $(LIB-OBJ)
+ ar cr $@ $(LIB-OBJ)
+
+
+-../lib/libapol-tcl.a: ../lib $(LIB-OBJ-TCL)
+- ar cr $@ $(LIB-OBJ-TCL)
+-
+ %.o: %.c
+ $(CC) $(CFLAGS) -c $<
+
+diff -urN setools-1.1.orig/libseuser/Makefile setools-1.1/libseuser/Makefile
+--- setools-1.1.orig/libseuser/Makefile 2003-10-10 13:23:23.000000000 -0500
++++ setools-1.1/libseuser/Makefile 2003-12-22 19:58:24.000000000 -0600
+@@ -1,20 +1,14 @@
+ # libseuser and libseuser-tcl
+
+-LIB-OBJ = seuser_tcl.o seuser_db.o
+-LIB-OBJ-TCL = $(LIB-OBJ) seuser_tcl.o
++LIB-OBJ = seuser_db.o
+
+
+
+ libseuser: ../lib/libseuser.a
+
+-libseuser-tcl: ../lib/libseuser-tcl.a
+-
+ ../lib/libseuser.a: ../lib $(LIB-OBJ)
+ ar cr $@ $(LIB-OBJ)
+
+-../lib/libseuser-tcl.a: ../lib $(LIB-OBJ-TCL)
+- ar cr $@ $(LIB-OBJ-TCL)
+-
+ %.o: %.c
+ $(CC) $(CFLAGS) -c $<
+