[119729] trunk/dports/devel/qoauth

ryandesign at macports.org ryandesign at macports.org
Sun May 4 21:52:01 PDT 2014


Revision: 119729
          https://trac.macports.org/changeset/119729
Author:   ryandesign at macports.org
Date:     2014-05-04 21:52:01 -0700 (Sun, 04 May 2014)
Log Message:
-----------
qoauth: use patchfile instead of reinplace

Modified Paths:
--------------
    trunk/dports/devel/qoauth/Portfile

Added Paths:
-----------
    trunk/dports/devel/qoauth/files/
    trunk/dports/devel/qoauth/files/patch-src-src.pro.diff

Modified: trunk/dports/devel/qoauth/Portfile
===================================================================
--- trunk/dports/devel/qoauth/Portfile	2014-05-05 03:01:15 UTC (rev 119728)
+++ trunk/dports/devel/qoauth/Portfile	2014-05-05 04:52:01 UTC (rev 119729)
@@ -19,19 +19,11 @@
                     port:qca-ossl
 
 master_sites        http://files.ayoy.net/qoauth/${version}
-distname            ${name}-$version-src
+distname            ${name}-${version}-src
 
 use_bzip2           yes
 
 checksums           rmd160 f6cb736a4c4ca036f7bb3bc840243cf005febd3b \
                     sha256 b8579a77cecb07928e557c4a019db902a0f040b22f7926f147299e87ac5a54fd
 
-# The qoauth frameworks in src/src.pro doesn't really work - use the unix part
-post-patch {
-        # Dummy to force use of the unix part
-        reinplace "s|^macx|macxNOFRAMEWORKS|g" ${worksrcpath}/src/src.pro
-        # Don't use lib64
-        reinplace "s|lib64|lib|g" ${worksrcpath}/src/src.pro
-}
-
-
+patchfiles          patch-src-src.pro.diff

Added: trunk/dports/devel/qoauth/files/patch-src-src.pro.diff
===================================================================
--- trunk/dports/devel/qoauth/files/patch-src-src.pro.diff	                        (rev 0)
+++ trunk/dports/devel/qoauth/files/patch-src-src.pro.diff	2014-05-05 04:52:01 UTC (rev 119729)
@@ -0,0 +1,22 @@
+# The qoauth frameworks in src/src.pro doesn't really work - use the unix part
+# Don't use lib64
+--- src/src.pro.orig	2010-08-01 09:08:59.000000000 -0500
++++ src/src.pro	2014-05-04 23:49:33.000000000 -0500
+@@ -40,7 +40,7 @@
+ features.files = ../oauth.prf
+ docs.files = ../doc/html
+ 
+-macx {
++macxNOFRAMEWORKS {
+     CONFIG += lib_bundle
+     QMAKE_FRAMEWORK_BUNDLE_NAME = $$TARGET
+     CONFIG(debug, debug|release): CONFIG += build_all
+@@ -62,7 +62,7 @@
+     pkgconfig.files = qoauth.pc
+     
+     contains(QMAKE_HOST.arch, x86_64) {
+-      target.path = $${INSTALL_PREFIX}/lib64
++      target.path = $${INSTALL_PREFIX}/lib
+     } else {
+       target.path = $${INSTALL_PREFIX}/lib
+     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140504/997189bd/attachment.html>


More information about the macports-changes mailing list