psss / rpms / libsepol

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