summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2003-08-04 04:19:33 +0000
committerChris PeBenito <pebenito@gentoo.org>2003-08-04 04:19:33 +0000
commit5d62449ffd5f16c2070622fda827e4a1d269f541 (patch)
tree2818b65772b97782ca8c5ddb1f2f84c1e2640794 /sys-libs/libselinux/files
parentinitial commit (diff)
downloadgentoo-2-5d62449ffd5f16c2070622fda827e4a1d269f541.tar.gz
gentoo-2-5d62449ffd5f16c2070622fda827e4a1d269f541.tar.bz2
gentoo-2-5d62449ffd5f16c2070622fda827e4a1d269f541.zip
initial commit
Diffstat (limited to 'sys-libs/libselinux/files')
-rw-r--r--sys-libs/libselinux/files/digest-libselinux-1.01
-rw-r--r--sys-libs/libselinux/files/libselinux-1.0-gentoo.diff36
2 files changed, 37 insertions, 0 deletions
diff --git a/sys-libs/libselinux/files/digest-libselinux-1.0 b/sys-libs/libselinux/files/digest-libselinux-1.0
new file mode 100644
index 000000000000..a81daf3114e8
--- /dev/null
+++ b/sys-libs/libselinux/files/digest-libselinux-1.0
@@ -0,0 +1 @@
+MD5 8674a0f54e155573f1d7867b2c1e5564 libselinux-1.0.tgz 22466
diff --git a/sys-libs/libselinux/files/libselinux-1.0-gentoo.diff b/sys-libs/libselinux/files/libselinux-1.0-gentoo.diff
new file mode 100644
index 000000000000..5685fa0273ae
--- /dev/null
+++ b/sys-libs/libselinux/files/libselinux-1.0-gentoo.diff
@@ -0,0 +1,36 @@
+diff -urN libselinux-1.0.orig/Makefile libselinux-1.0/Makefile
+--- libselinux-1.0.orig/Makefile 2003-06-09 14:22:55.000000000 -0500
++++ libselinux-1.0/Makefile 2003-08-03 20:01:16.000000000 -0500
+@@ -1,6 +1,6 @@
+ all:
+- $(MAKE) -C src
+- $(MAKE) -C utils
++ $(MAKE) -C src EXTRA_CFLAGS="$(EXTRA_CFLAGS)"
++ $(MAKE) -C utils EXTRA_CFLAGS="$(EXTRA_CFLAGS)"
+
+ install:
+ $(MAKE) -C include install
+diff -urN libselinux-1.0.orig/src/Makefile libselinux-1.0/src/Makefile
+--- libselinux-1.0.orig/src/Makefile 2003-07-07 07:53:40.000000000 -0500
++++ libselinux-1.0/src/Makefile 2003-08-03 20:01:35.000000000 -0500
+@@ -9,7 +9,7 @@
+ TARGET=libselinux.so
+ LIBSO=$(TARGET).$(LIBVERSION)
+ OBJS= $(patsubst %.c,%.o,$(wildcard *.c))
+-CFLAGS = -Wall
++CFLAGS = -Wall $(EXTRA_CFLAGS)
+ override CFLAGS += -fPIC -I../include
+
+ all: $(LIBA) $(LIBSO)
+diff -urN libselinux-1.0.orig/utils/Makefile libselinux-1.0/utils/Makefile
+--- libselinux-1.0.orig/utils/Makefile 2003-07-07 07:53:42.000000000 -0500
++++ libselinux-1.0/utils/Makefile 2003-08-03 20:01:58.000000000 -0500
+@@ -2,7 +2,7 @@
+ PREFIX ?= $(DESTDIR)/usr
+ BINDIR ?= $(PREFIX)/bin
+
+-CFLAGS = -Wall
++CFLAGS = -Wall $(EXTRA_CFLAGS)
+ override CFLAGS += -I../include
+ LDLIBS += -L../src -lselinux -lattr
+