Opened 11 years ago

Closed 11 years ago

#39035 closed defect (fixed)

py-matplotlib: needs build dependency on pkg-config

Reported by: lpsinger (Leo Singer) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: py-matplotlib

Description

On the buildbot, I noticed that matplotlib does not build. I think that matplotlib needs a build dependency on pkgconfig:

============================================================================
BUILDING MATPLOTLIB
            matplotlib: 1.2.0
                python: 2.7.3 (default, Oct 22 2012, 06:12:28)  [GCC 4.2.1
                        (Apple Inc. build 5666) (dot 3)]
              platform: darwin

REQUIRED DEPENDENCIES
                 numpy: 1.7.1
             freetype2: found, but unknown version (no pkg-config)

OPTIONAL BACKEND DEPENDENCIES
                libpng: found, but unknown version (no pkg-config)
sh: line 1: 27367 Abort trap              /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build
Command failed:  cd "/opt/local/var/macports/build/_opt_mports_dports_python_py-matplotlib/py27-matplotlib/work/matplotlib-1.2.0" && /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7 setup.py --no-user-cfg build 
Exit code: 134

Attachments (1)

patch-Portfile.diff (336 bytes) - added by lpsinger (Leo Singer) 11 years ago.
proposed patch for Portfile

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by lpsinger (Leo Singer)

Attachment: patch-Portfile.diff added

proposed patch for Portfile

comment:1 Changed 11 years ago by lpsinger (Leo Singer)

I made a typo in my original patch, adding a depends_lib-append instead of a depends_build-append. This is corrected in the new patch.

comment:2 Changed 11 years ago by lpsinger (Leo Singer)

Resolution: fixed
Status: newclosed

Closed in r106155 (maintainer timeout).

Note: See TracTickets for help on using tickets.