All of lore.kernel.org
 help / color / mirror / Atom feed
* Not sure if I sent this one out with the others but since it has not been updated yet...
@ 2010-03-12 19:06 Daniel J Walsh
  2010-03-18 20:22 ` Joshua Brindle
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel J Walsh @ 2010-03-12 19:06 UTC (permalink / raw)
  To: SELinux

[-- Attachment #1: Type: text/plain, Size: 24 bytes --]

Fixes libsepol.pc file.

[-- Attachment #2: libsepol-rhat.patch --]
[-- Type: text/plain, Size: 1215 bytes --]

Only in libsepol-2.0.41: #ChangeLog#
diff -u -r nsalibsepol/src/libsepol.pc.in libsepol-2.0.41/src/libsepol.pc.in
--- nsalibsepol/src/libsepol.pc.in	2009-11-02 12:58:30.000000000 -0500
+++ libsepol-2.0.41/src/libsepol.pc.in	2010-02-18 10:02:35.000000000 -0500
@@ -1,6 +1,6 @@
 prefix=@prefix@
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=${exec_prefix}/@libdir@
 includedir=@includedir@
 
 Name: libsepol
Only in libsepol-2.0.41/src: libsepol.pc.in~
diff -u -r nsalibsepol/src/Makefile libsepol-2.0.41/src/Makefile
--- nsalibsepol/src/Makefile	2009-11-02 12:58:30.000000000 -0500
+++ libsepol-2.0.41/src/Makefile	2010-02-18 10:04:51.000000000 -0500
@@ -3,6 +3,7 @@
 INCLUDEDIR ?= $(PREFIX)/include
 LIBDIR ?= $(PREFIX)/lib
 SHLIBDIR ?= $(DESTDIR)/lib
+LIBBASE=$(shell basename $(LIBDIR))
 
 VERSION = $(shell cat ../VERSION)
 LIBVERSION = 1
@@ -27,7 +28,7 @@
 	ln -sf $@ $(TARGET) 
 
 $(LIBPC): $(LIBPC).in
-	sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:$(LIBDIR):; s:@includedir@:$(INCLUDEDIR):' < $< > $@
+	sed -e 's/@VERSION@/$(VERSION)/; s:@prefix@:$(PREFIX):; s:@libdir@:$(LIBBASE):; s:@includedir@:$(INCLUDEDIR):' < $< > $@
 
 %.o:  %.c 
 	$(CC) $(CFLAGS) -fPIC -c -o $@ $<

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-03-19 14:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-12 19:06 Not sure if I sent this one out with the others but since it has not been updated yet Daniel J Walsh
2010-03-18 20:22 ` Joshua Brindle
2010-03-19 12:10   ` Daniel J Walsh
2010-03-19 13:16     ` Joshua Brindle
2010-03-19 14:19       ` Daniel J Walsh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.