File pwlib-v1_11_0-make.patch of Package pwlib

diff -ruN pwlib_v1_11_0-orig/make/gui.mak pwlib_v1_11_0/make/gui.mak
--- pwlib_v1_11_0-orig/make/gui.mak	2001-06-15 00:58:00.000000000 +0000
+++ pwlib_v1_11_0/make/gui.mak	2010-01-14 21:42:33.055622148 +0000
@@ -86,7 +86,7 @@
 #
 # add GUI library
 #
-LDLIBS          += -l$(PWLIB_BASE)$(LIB_TYPE) 
+LDLIBS          += -l$(PWLIB_BASE)
 ifdef	GUILIB
 LDLIBS          += $(GUILIB)
 endif
diff -ruN pwlib_v1_11_0-orig/make/lib.mak pwlib_v1_11_0/make/lib.mak
--- pwlib_v1_11_0-orig/make/lib.mak	2005-09-25 10:51:23.000000000 +0000
+++ pwlib_v1_11_0/make/lib.mak	2010-01-14 21:42:33.059622317 +0000
@@ -144,7 +144,7 @@
   endif
 endif
 
-LIB_SONAME	= $(LIBNAME_PAT)
+LIB_SONAME	= $(LIBNAME_MIN)
 
 CLEAN_FILES += $(LIBDIR)/$(LIBNAME_PAT) $(LIBDIR)/$(LIB_FILENAME) $(LIBDIR)/$(LIBNAME_MAJ) $(LIBDIR)/$(LIBNAME_MIN)
 
diff -ruN pwlib_v1_11_0-orig/make/unix.mak pwlib_v1_11_0/make/unix.mak
--- pwlib_v1_11_0-orig/make/unix.mak	2006-05-15 23:11:26.000000000 +0000
+++ pwlib_v1_11_0/make/unix.mak	2010-01-14 21:42:33.055622148 +0000
@@ -943,14 +943,14 @@
 PW_LIBDIR	= $(PWLIBDIR)/lib
 
 # set name of the PT library
-PTLIB_BASE	= pt_$(PLATFORM_TYPE)_$(OBJ_SUFFIX)
-PTLIB_FILE	= lib$(PTLIB_BASE)$(LIB_TYPE).$(LIB_SUFFIX)
+PTLIB_BASE	= pt
+PTLIB_FILE	= lib$(PTLIB_BASE).$(LIB_SUFFIX)
 PT_OBJBASE	= obj_$(PLATFORM_TYPE)_$(OBJDIR_SUFFIX)
 PT_OBJDIR	= $(PW_LIBDIR)/$(PT_OBJBASE)
 
 # set name of the PW library (may not be used)
-PWLIB_BASE	= pw_$(GUI_TYPE)_$(PLATFORM_TYPE)_$(OBJ_SUFFIX)
-PWLIB_FILE	= lib$(PWLIB_BASE)$(LIB_TYPE).$(LIB_SUFFIX)
+PWLIB_BASE	= pw
+PWLIB_FILE	= lib$(PWLIB_BASE).$(LIB_SUFFIX)
 PW_OBJBASE	= obj_$(GUI_TYPE)_$(PLATFORM_TYPE)_$(OBJDIR_SUFFIX)
 PW_OBJDIR	= $(PW_LIBDIR)/$(PW_OBJBASE)
 
@@ -1008,6 +1008,6 @@
 # add library directory to library path and include the library
 LDFLAGS		+= -L$(PW_LIBDIR)
 
-LDLIBS		+= -l$(PTLIB_BASE)$(LIB_TYPE)
+LDLIBS		+= -l$(PTLIB_BASE)
 
 # End of unix.mak
diff -ruN pwlib_v1_11_0-orig/Makefile.in pwlib_v1_11_0/Makefile.in
--- pwlib_v1_11_0-orig/Makefile.in	2005-04-06 10:10:54.000000000 +0000
+++ pwlib_v1_11_0/Makefile.in	2010-01-14 21:42:33.059622317 +0000
@@ -267,10 +267,6 @@
 		rm -f  $(PTLIB_FILE) ; \
 		ln -sf $(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(PTLIB_FILE) \
 	)
-	(cd $(DESTDIR)$(LIBDIR); \
-		rm -f  libpt.@SHAREDLIBEXT@ ; \
-		ln -sf $(PTLIB_FILE) libpt.@SHAREDLIBEXT@ \
-	)
 ifeq (1, $(HAS_PLUGINS))
 	cd plugins/pwlib/device/ ; \
 	( for dir in ./* ;\