SOURCES: libacpi-Makefile.patch - adapted for 0.2 version
lisu
lisu at pld-linux.org
Sun Jul 29 18:01:12 CEST 2007
Author: lisu Date: Sun Jul 29 16:01:12 2007 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- adapted for 0.2 version
---- Files affected:
SOURCES:
libacpi-Makefile.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/libacpi-Makefile.patch
diff -u SOURCES/libacpi-Makefile.patch:1.2 SOURCES/libacpi-Makefile.patch:1.3
--- SOURCES/libacpi-Makefile.patch:1.2 Sun Jun 24 15:10:57 2007
+++ SOURCES/libacpi-Makefile.patch Sun Jul 29 18:01:07 2007
@@ -1,15 +1,15 @@
---- libacpi-0.1/Makefile.orig 2007-06-14 18:39:48.000000000 +0200
-+++ libacpi-0.1/Makefile 2007-06-24 15:04:47.680868573 +0200
-@@ -30,7 +30,7 @@ libacpi.a: ${OBJ}
+--- libacpi-0.2/Makefile~ 2007-07-29 14:09:34.000000000 +0200
++++ libacpi-0.2/Makefile 2007-07-29 17:40:18.000000000 +0200
+@@ -30,7 +30,7 @@
libacpi.so: ${OBJ}
@echo LD $@
-- @${LD} ${SOFLAGS} -o $@.${SONAME} ${OBJ}
+- @${LD} ${SOFLAGS} -o $@.${SOVERSION} ${OBJ}
+ @${LD} ${SOFLAGS} -o ${SONAME} ${OBJ}
test-libacpi: ${OBJ_test}
@echo LD $@
-@@ -42,13 +42,13 @@ install: all
+@@ -42,13 +42,13 @@
@mkdir -p ${DESTDIR}${PREFIX}/include
@cp -f libacpi.h ${DESTDIR}${PREFIX}/include
@chmod 644 ${DESTDIR}${PREFIX}/include/libacpi.h
@@ -17,9 +17,9 @@
- @mkdir -p ${DESTDIR}${PREFIX}/lib
- @cp -f libacpi.a ${DESTDIR}${PREFIX}/lib
- @chmod 644 ${DESTDIR}${PREFIX}/lib/libacpi.a
-- @cp -f libacpi.so.${SONAME} ${DESTDIR}${PREFIX}/lib/
-- @chmod 644 ${DESTDIR}${PREFIX}/lib/libacpi.so.${SONAME}
-- @ln -s libacpi.so.${SONAME} ${DESTDIR}${PREFIX}/lib/libacpi.so
+- @cp -f ${SONAME} ${DESTDIR}${PREFIX}/lib/
+- @chmod 644 ${DESTDIR}${PREFIX}/lib/${SONAME}
+- @ln -s ${SONAME} ${DESTDIR}${PREFIX}/lib/libacpi.so
+ @echo installing library to ${DESTDIR}${LIBDIR}
+ @mkdir -p ${DESTDIR}${LIBDIR}
+ @cp -f libacpi.a ${DESTDIR}${LIBDIR}
@@ -30,7 +30,7 @@
@echo installing test-libacpi to ${DESTDIR}${PREFIX}/bin
@mkdir -p ${DESTDIR}${PREFIX}/bin
@cp -f test-libacpi ${DESTDIR}${PREFIX}/bin
-@@ -57,18 +57,16 @@ install: all
+@@ -57,18 +57,16 @@
@mkdir -p ${DESTDIR}${MANPREFIX}/man3
@cp libacpi.3 ${DESTDIR}${MANPREFIX}/man3
@echo installing documentation and misc files to ${DESTDIR}${PREFIX}/share/doc/libacpi
@@ -46,21 +46,16 @@
@rm -f ${DESTDIR}${PREFIX}/lib/libacpi.a
- @echo removing shared object file from ${DESTDIR}${PREFIX}/lib
- @rm -f ${DESTDIR}${PREFIX}/lib/libacpi.so
-- @rm -f ${DESTDIR}${PREFIX}/lib/libacpi.so.${SONAME}
+- @rm -f ${DESTDIR}${PREFIX}/lib/${SONAME}
+ @echo removing shared object file from ${DESTDIR}${LIBDIR}
+ @rm -f ${DESTDIR}${LIBDIR}/libacpi.so
+ @rm -f ${DESTDIR}${LIBDIR}/libacpi.so.${SONAME}
@echo removing test-libacpi client from ${DESTDIR}${PREFIX}/bin
@rm -f ${DESTDIR}${PREFIX}/bin/test-libacpi
@echo removing manual page from ${DESTDIR}${MANPREFIX}/man3
---- libacpi-0.1/config.mk.orig 2007-06-14 18:39:48.000000000 +0200
-+++ libacpi-0.1/config.mk 2007-06-24 15:03:49.085529415 +0200
-@@ -1,9 +1,11 @@
- VERSION = 0.1
--SONAME = 0
-+SOVER = 0
-+SONAME = libacpi.so.${SOVER}
-
+--- libacpi-0.2/config.mk~ 2007-07-29 14:09:34.000000000 +0200
++++ libacpi-0.2/config.mk 2007-07-29 17:46:40.000000000 +0200
+@@ -5,6 +5,7 @@
# customize below to fit your system
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/libacpi-Makefile.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list