Changeset 97905


Ignore:
Timestamp:
Sep 19, 2012, 12:55:04 PM (12 years ago)
Author:
michaelld@…
Message:

qca-cyrus-sasl : handle +universal correctly.

Location:
trunk/dports/devel/qca-cyrus-sasl
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/qca-cyrus-sasl/Portfile

    r84550 r97905  
    3636patchfiles          patch-configure.diff
    3737
     38# --disable-dependency-tracking is not recognized.
     39configure.universal_args-delete --disable-dependency-tracking
     40
    3841# qca-gnupg does not use --prefix
    3942configure.pre_args
     
    4144                     --qtdir=${qt_dir}     \
    4245                     --with-sasl-inc=${prefix}/include
     46
     47post-patch {
     48    # set arch type(s)
     49    reinplace "s|@ARCHES@|${qt_arch_types}|g" \
     50        ${worksrcpath}/configure
     51}
    4352
    4453post-destroot {
  • trunk/dports/devel/qca-cyrus-sasl/files/patch-configure.diff

    r70439 r97905  
    1 --- configure_orig      2010-08-04 20:41:38.000000000 -0400
    2 +++ configure   2010-08-04 20:42:10.000000000 -0400
    3 @@ -551,18 +551,7 @@
     1--- configure.orig      2012-09-19 08:46:23.000000000 -0400
     2+++ configure   2012-09-19 08:49:28.000000000 -0400
     3@@ -518,24 +518,8 @@
     4        bool exec()
     5        {
     6 #ifdef Q_OS_MAC
     7-               if(qc_getenv("QC_UNIVERSAL") == "Y")
     8-               {
     9-                       qc_universal_enabled = true;
     10-
     11-                       QString str =
     12-                       "contains(QT_CONFIG,x86):contains(QT_CONFIG,ppc) {\n"
     13-                       "       CONFIG += x86 ppc\n"
     14-                       "}\n";
     15-
     16-                       QString sdk = qc_getenv("QC_MAC_SDK");
     17-                       if(!sdk.isEmpty())
     18-                       {
     19-                               str += QString("QMAKE_MAC_SDK = %1\n").arg(sdk);
     20-                               qc_universal_sdk = sdk;
     21-                       }
     22-
     23-                       conf->addExtra(str);
     24-               }
     25+                QString str = "CONFIG += @ARCHES@\n";
     26+                conf->addExtra(str);
     27 #endif
     28                return true;
     29        }
     30@@ -551,18 +535,7 @@
    431 // based on crypto.prf. any changes made to that file need to be tracked here.
    532 static QString internal_crypto_prf(const QString &incdir, const QString &libdir)
Note: See TracChangeset for help on using the changeset viewer.