Changeset 20263 for trunk/dports


Ignore:
Timestamp:
Oct 31, 2006, 9:53:38 PM (17 years ago)
Author:
blair@…
Message:

Fix build issues:

  • Force to link against the MacPorts Python framework using the -F linker argument.
  • Add a test to try to import the qt module.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/python/py-pyqt3/Portfile

    r20261 r20263  
    44name                py-pyqt3
    55version             3.16
     6revision                1
    67platforms       macosx
    78categories          python devel
     
    1617distname        PyQt-mac-gpl-${version}
    1718
    18 checksums           md5 46deec16bad11e3f216b19fd5e3d1f9b
     19checksums       md5 46deec16bad11e3f216b19fd5e3d1f9b \
     20                sha1 cae4a74fe2ee23a427a94e9ec3ab17d8f56018a7 \
     21                rmd160 8bd8c70bf3737988ed0570de140a48b66ce0ec22
    1922
    2023depends_lib     port:py-sip \
     
    3437                     -g ${prefix}/include/qt3 -q ${prefix} -y qt-mt"
    3538configure.pre_args
     39configure.post_args     LFLAGS="-F${prefix}/Library/Frameworks -L${prefix}/lib"
     40
     41test.run        yes
     42test.cmd        cd qt && ${prefix}/bin/python2.4 -c 'import qt'
    3643
    3744post-destroot {
Note: See TracChangeset for help on using the changeset viewer.