[32449] trunk/dports/graphics/qwt/Portfile

jochen at macports.org jochen at macports.org
Wed Jan 2 07:46:44 PST 2008


Revision: 32449
          http://trac.macosforge.org/projects/macports/changeset/32449
Author:   jochen at macports.org
Date:     2008-01-02 07:46:36 -0800 (Wed, 02 Jan 2008)

Log Message:
-----------
Fix install-name of installed dynamic library

Modified Paths:
--------------
    trunk/dports/graphics/qwt/Portfile

Modified: trunk/dports/graphics/qwt/Portfile
===================================================================
--- trunk/dports/graphics/qwt/Portfile	2008-01-02 15:08:59 UTC (rev 32448)
+++ trunk/dports/graphics/qwt/Portfile	2008-01-02 15:46:36 UTC (rev 32449)
@@ -5,6 +5,7 @@
 
 name                qwt
 version             5.0.2
+revision            1
 categories          graphics science
 maintainers         openmaintainer jochen
 description         Qt Widgets for Technical Applications
@@ -35,6 +36,12 @@
 destroot.destdir    INSTALL_ROOT="${destroot}${prefix}"
 destroot.env        QTDIR="${prefix}"
 
+post-destroot {
+    # fix install-name of dynamic library
+    system "install_name_tool -id ${prefix}/lib/libqwt.5.0.2.dylib ${destroot}${prefix}/lib/libqwt.5.0.2.dylib"
+}
+
+
 variant qt3 conflicts qt4 description "Use qt3-mac" {
     depends_lib-append  port:qt3-mac
 }

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080102/142b9882/attachment.html


More information about the macports-changes mailing list