Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Sep 2015 15:50:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 203417] math/py-matplotlib fails to build if optional components are disabled
Message-ID:  <bug-203417-13-N2he16cgk6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203417-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203417-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203417

--- Comment #2 from Tomi Kause <toka@ssh.com> ---
This hasty patch seems to fix the problem:
--- Makefile.sshbak     2015-09-28 15:54:16.906945572 +0300
+++ Makefile    2015-09-28 15:54:16.910010137 +0300
@@ -78,9 +78,6 @@
 post-install:
        ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/_image.so
        ${STRIP_CMD}
${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/backends/_backend_agg.so
-       ${STRIP_CMD}
${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/backends/_gtkagg.so
-       ${STRIP_CMD}
${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/backends/_tkagg.so
-       ${STRIP_CMD}
${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/backends/_backend_gdk.so
        ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/_qhull.so
        ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/ttconv.so
        ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/_delaunay.so
@@ -90,6 +87,15 @@
        ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/_cntr.so
        ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/ft2font.so

+post-install-GTKAGGBACKEND-on:
+       ${STRIP_CMD}
${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/backends/_gtkagg.so
+
+post-install-TKAGGBACKEND-on:
+       ${STRIP_CMD}
${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/backends/_tkagg.so
+
+post-install-GTKBACKEND-on:
+        ${STRIP_CMD}
${STAGEDIR}${PYTHON_SITELIBDIR}/matplotlib/backends/_backend_gdk.so
+
 post-install-EXAMPLES-on:
        @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
        ${CP} -R ${WRKSRC}/examples/ ${STAGEDIR}${EXAMPLESDIR}

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203417-13-N2he16cgk6>