diff -urN qwt-5.0.0rc1.orig/qwt.pro qwt-5.0.0rc1/qwt.pro --- qwt-5.0.0rc1.orig/qwt.pro 2006-11-06 20:34:48.000000000 +0000 +++ qwt-5.0.0rc1/qwt.pro 2006-12-04 23:51:38.000000000 +0000 @@ -201,11 +201,13 @@ src/qwt_wheel.cpp unix { - INSTALLBASE = /usr/local/qwt + INSTALLBASE = @PREFIX@/lib/qt3/qwt target.path = $$INSTALLBASE/lib headers.path = $$INSTALLBASE/include headers.files = $$HEADERS - doc.path = $$INSTALLBASE/doc - doc.files = doc/html doc/man + doc.path = @PREFIX@/share/doc/qwt + doc.files = doc/html + man.path = @PREFIX@/share/man + man.files = doc/man INSTALLS = target headers doc } diff -urN qwt-5.0.0rc1.orig/qwt.pro qwt-5.0.0rc1/qwt.pro --- qwt-5.0.0rc1.orig/qwt.pro 2006-11-06 20:34:48.000000000 +0000 +++ qwt-5.0.0rc1/qwt.pro 2006-12-06 21:33:30.000000000 +0000 @@ -17,7 +17,8 @@ # interested in QwtPlot only, you can remove # the lists at the end of this file. -TARGET = qwt +TARGET = qwt +QMAKE_LFLAGS_SHLIB = -prebind -dynamiclib -single_module -headerpad_max_install_names -install_name @PREFIX@/lib/qt3/qwt/lib/$(TARGET1) TEMPLATE = lib VERSION = 5.0.0